*) Replaced occurrences of "Wikimedia" with "MediaWiki" where applicable. (Thanks to the folks of 0x20.be for pointing this out.)
*) Added description of where to place MediaWiki dump for import. git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7905 6c8d7289-2bf4-0310-a012-ef5d649a1542pull/1/head
parent
d40a177c05
commit
24e76a7b69
@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
cd "`dirname $0`"
|
||||
./apicall.sh /IndexImportWikimedia_p.html?file=$1 > /dev/null
|
||||
./apicall.sh /IndexImportMediawiki_p.html?file=$1 > /dev/null
|
||||
|
@ -1,29 +1,29 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>YaCy '#[clientname]#': Wikimedia Dump Import</title>
|
||||
<title>YaCy '#[clientname]#': MediaWiki Dump Import</title>
|
||||
#%env/templates/metas.template%#
|
||||
#(import)#::<meta http-equiv="REFRESH" content="10" />#(/import)#
|
||||
</head>
|
||||
<body id="IndexImportWikimedia">
|
||||
<body id="IndexImportMediawiki">
|
||||
#%env/templates/header.template%#
|
||||
#%env/templates/submenuIndexCreate.template%#
|
||||
<h2>Wikimedia Dump Import</h2>
|
||||
<h2>MediaWiki Dump Import</h2>
|
||||
|
||||
#(import)#
|
||||
<p>#(status)#No import thread is running, you can start a new thread here::Bad input data: #[message]# #(/status)#</p>
|
||||
<form action="IndexImportWikimedia_p.html" method="get" accept-charset="UTF-8">
|
||||
<form action="IndexImportMediawiki_p.html" method="get" accept-charset="UTF-8">
|
||||
<!-- no post method here, we don't want to transmit the whole file, only the path-->
|
||||
<fieldset>
|
||||
<legend>Wikimedia Dump File Selection: select a xml file (which may be bz2- or gz-encoded)</legend>
|
||||
You can import Wikipedia dumps here. An example is the file
|
||||
<a href="http://download.wikimedia.org/dewiki/20090311/dewiki-20090311-pages-articles.xml.bz2">
|
||||
http://download.wikimedia.org/dewiki/20090311/dewiki-20090311-pages-articles.xml.bz2</a>.
|
||||
<legend>MediaWiki Dump File Selection: select a xml file (which may be bz2- or gz-encoded)</legend>
|
||||
You can import MediaWiki dumps here. An example is the file
|
||||
<a href="http://dumps.wikimedia.org/dewiki/latest/dewiki-latest-pages-articles.xml.bz2">
|
||||
http://dumps.wikimedia.org/dewiki/latest/dewiki-latest-pages-articles.xml.bz2</a>.
|
||||
<br />
|
||||
Dumps must be in XML format and may be compressed in gz or bz2. Uncompressed XML is also ok.
|
||||
Dumps must be in XML format and may be compressed in gz or bz2. Place the file in the YaCy folder or in one of its sub-folders.
|
||||
<br />
|
||||
<input name="file" type="text" value="" size="80" />
|
||||
<input name="submit" type="submit" value="Import Wikimedia Dump" />
|
||||
<input name="submit" type="submit" value="Import MediaWiki Dump" />
|
||||
</fieldset>
|
||||
</form>
|
||||
<p>
|
Loading…
Reference in new issue