Hi,
FYI, I've just published my wiki auto import script at http://xpt.sourceforge.net/tools/wiki_import/
Here is some basic info:
1.2. Info
wiki_import.sh - mediawiki automatic file import script
1.3. Source
http://xpt.sourceforge.net/tools/
https://sourceforge.net/project/showfiles.php?group_id=163815
1.4. Description
The script is designed to import a whole folder of files into mediawiki, with the folder directory tree mapped as wiki category hierarchy.
1.5. Features
* economic, build wiki site from existing knowledge base collection without "double-entry" * persistent, map folder directory tree as wiki category hierarchy * sophisticated, import/handle all well-known file types automatically * complete, cover every applicable scenario, even the case when you need to control access to individual wiki pages * versatile, highly customizable
2.1. Quick Help
wiki_import.sh $ $Revision: 1.1 $
mediawiki automatic file import script
Usage: wiki_import.sh [OPTIONS]...
The script is designed to import a whole folder of files into mediawiki, with the folder directory tree mapped as wiki category hierarchy.
The specification of the file-to-import is passed from standard input.
Options: -s, --sect=n the root category section of the wiki of the imported article (mandatory) -1, --header include standard header (category hierarchy path & notice) -l, --link link to actual file on the web site -f, --footer include standard footer (article category) -R, --res[=p] add restricted tag in the footer as '{{<Res Param|Root Category> Restricted}}' (default=`$_opt_sect')
Configuration Options: -p, --php=fn mediawiki import php script specification -r, --root=n the root category name for the whole wiki site -m, --max=n max_allowed_packet for mysqld to import -u, --user=n wiki user used for the import -a, --arch=p the root url that linked-to archive files based on
Examples:
echo ./path/to/file.ext | wiki_import.sh -1 -l -f -s 'Customer Support' -R
Please check it out. Details at http://xpt.sourceforge.net/tools/wiki_import/
thanks