Wikix: Difference between revisions
wikademia>Jmerkey No edit summary |
wikademia>Jmerkey |
||
| Line 7: | Line 7: | ||
== Example == | == Example == | ||
The program would typically be invoked in a directory that you wish to use to host the images. Wikix will construct a MediaWiki style directory structure which can be quickly imported into a MediaWiki Wikipedia installation | The program would typically be invoked in a directory that you wish to use to host the images. Wikix will construct a MediaWiki style directory structure which can be quickly imported into a MediaWiki Wikipedia installation: | ||
<pre> | <pre> | ||
wikix -p < name_of_xml_file.xml & | wikix -p < name_of_xml_file.xml & | ||
</pre> | </pre> | ||
The -p option tells wikix to create parallel scripts. If you omit the -p option, it will create one very large file. By default, the program is setup to mirror the English Wikipedia. You can override the default settings by substituting path information for commons and the target Wikipedia site through the command line options. | |||
The program will create a series of scripts as: | The program will create a series of scripts as: | ||
| Line 42: | Line 44: | ||
# | # | ||
</pre> | </pre> | ||
== Source Code == | == Source Code == | ||