User:Pavel Dusek/Sandbox

= MediaWiki:Dump.py = Dump.py is a simple script written in python and run every day on the server. It extracts data from the database and creates an xml dump file located on the url: http://www.wikilectures.eu/extensions/Dumps/dump.xml (2 MB). The dump file may be used as a source file for an user friendly bot with GUI called name needed (OmniBot?) that is being created with the purpose of general usage among all members of the WikiLectures team.

The dump file contains latest versions of all pages in the main namespace and the talk namespace. The format of the file is according to Media Wiki xml dump format.

For the data extraction, the script uses the export special page.

Source code (v. 1.0)
The script may be run from the command line by typing: python dump.py --file /path/to/dumpfilename.xml --url " http://www.wikilectures.eu/ "