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
Has anybody written a script that runs through all the unused files in Special:Unusedimages and notifies the author (or most recent committer) to delete it if no longer needed?
DanB
--------------------- Confidentiality note The information in this email and any attachment may contain confidential and proprietary information of VistaPrint and/or its affiliates and may be privileged or otherwise protected from disclosure. If you are not the intended recipient, you are hereby notified that any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may cause liability. In case you have received this message due to an error in transmission, please notify the sender immediately and delete this email and any attachment from your system. ---------------------
mediawiki-l@lists.wikimedia.org