******************************************************************************** * REFERENCE MANUAL * ******************************************************************************** *** *** WLOGIN *** *** Action: Logs into mediawiki. *** usage: wlogin.py URL USERNAME PASSWORD options: -h, --help show this help message and exit example: wlogin.py "http://en.wikipedia.org/w" MyUsername MyPassword *** *** WLOGOUT *** *** Action: Logs out of mediawiki. *** usage: wlogout.py *** *** WEDIT *** *** Action: Replaces a page with a file. *** usage: wedit.py [options] PAGE TEXT-FILE options: -h, --help show this help message and exit -d, --debug debug output -mSTRING, --message=STRING log message example: wedit.py MyPage file.txt wedit.py MyPage file.txt --message="new version" *** *** WDELETE *** *** Action: Deletes a list of pages. *** usage: wdelete.py [options] PAGE... options: -h, --help show this help message and exit -d, --debug debug output -mSTRING, --message=STRING log message example: wdelete.py OldPage wdelete.py OldPage --message="obsoleted by NewPage" ******************************************************************************** * CAVEATS * ******************************************************************************** The commands have minimal testing for validity of data. Tested with mediawiki-1.4.2. May not work for everyone, since mediawiki changes quite often.