I just made a comment at CR. Removing these options could confuse bot owners or break bot
maintenance. You should either implement an option alias or raise a nonimplemented error
to prevent it's use without -simulate but with the old one. And print a hint that the
old option is deprecated (if you prefer the alias) or removed (if you raise the
exception)
Greetings
xqt
----- Original Nachricht ----
Von: "Dr. Trigon" <dr.trigon(a)surfeu.ch>
An: pywikipedia-l(a)lists.wikimedia.org
Datum: 13.06.2012 12:33
Betreff: Re: [Pywikipedia-l] -simulate
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 03.04.2012 15:15, Bináris wrote:
2012/2/18 <drtrigon(a)svn.wikimedia.org
<mailto:drtrigon@svn.wikimedia.org>>
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.
Your wellcome!!
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?)
Please consider r10354 and r10353. Hope this is what you had in mind
(back those days... ;)
Greetings
DrTrigon
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org/
iEYEARECAAYFAk/YbIwACgkQAXWvBxzBrDBQJgCgtni2fi8+LOSv8OXI0lsEAjIq
m6YAoI/GXnXunNJe/FuZTytN93q72Vzk
=VSqw
-----END PGP SIGNATURE-----
_______________________________________________
Pywikipedia-l mailing list
Pywikipedia-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l