3 Apr 2012 15:15
-simulate
Bináris <wikiposta <at> gmail.com>
2012-04-03 13:15:28 GMT
2012-04-03 13:15:28 GMT
2012/2/18 <drtrigon <at> svn.wikimedia.org>
Trigon, this is great, thank you! I have just tried it and works fine and helps in testing a lot.
Several scripts use their own mechanism for that with "-dry" or "-test" or something; we should revise these if they are still neccessary or may be removed. (As far as I understand -simulate works with API query. What happens if somebody uses the bot without API?)
http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9909
Revision: 9909
Author: drtrigon
Date: 2012-02-17 23:09:15 +0000 (Fri, 17 Feb 2012)
Log Message:
-----------
follow-up to r9905 '-debug' replaced with new '-simulate' that allows switching off write access
Trigon, this is great, thank you! I have just tried it and works fine and helps in testing a lot.
Several scripts use their own mechanism for that with "-dry" or "-test" or something; we should revise these if they are still neccessary or may be removed. (As far as I understand -simulate works with API query. What happens if somebody uses the bot without API?)
--
Bináris
_______________________________________________ Pywikipedia-l mailing list Pywikipedia-l <at> lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
RSS Feed