Changes

Jump to navigation Jump to search
adds info about bulk image loading and also text (XML) automated backups.
</source>
One good practice is to have some sort of text version or other backup of your wiki in case the machine, webserver, or database that the system depends on is down. One tool that As an administrator, you can come use the dumpBackup.php script found in handy is the <code>maintenance</code> directory of you MediaWiki installation. Something like the following in a system [[Special:Wiki2XMLcron]] would be good:<refsource lang="bash">http:/usr/bin/php /var/www/phase3/maintenance/toolsdumpBackup.wikimedia.dephp --current --output=file:/var/~magnusbackups/wiki2xmlexample.com/README, see also [[Format_conversion]]`date +%F`-wiki.text.export.txt</refsource>
You As a user, one tool that can mass come in handy is [[Special:Wiki2XML]] <ref>http://tools.wikimedia.de/~magnus/wiki2xml/README, see also [[Format_conversion]]</ref> Another useful tool to the Administrator is the bulk image importer. To import all the screenshots that I used at the start of this presentation, I did the following:<source lang="bash">php importImages.php --user=Freephile --comment='Set of screenshots of sites using MediaWiki [[Category:MediaWiki Sites]]' ~/Desktop/mediawiki/snaps/</source>Note how using a Category tag in the comment will automatically place the imagesin the Category specified.
== Developing it ==
4,558

edits

Navigation menu