http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10318
Revision: 10318 Author: xqt Date: 2012-06-08 07:02:37 +0000 (Fri, 08 Jun 2012) Log Message: ----------- Partially revert of r10315 since disamiguation_comment is used before its declaration. TODO: move the code behind the settings (I guess disambiguation_comment shouldn't be used anymore. We have i18n for translations and we should use that behaviour)
Modified Paths: -------------- branches/rewrite/pywikibot/config2.py
Modified: branches/rewrite/pywikibot/config2.py =================================================================== --- branches/rewrite/pywikibot/config2.py 2012-06-08 06:51:26 UTC (rev 10317) +++ branches/rewrite/pywikibot/config2.py 2012-06-08 07:02:37 UTC (rev 10318) @@ -49,6 +49,7 @@ # sysopnames['wiktionary']['en'] = 'myEnglishUsername' usernames = {} sysopnames = {} +disambiguation_comment = {}
# Solve captchas in the webbrowser. Setting this to False will result in the # exception CaptchaError being thrown if a captcha is encountered. @@ -313,7 +314,6 @@ # disambiguation_comment['wikipedia']['en'] = \ # "Robot-assisted disambiguation ([[WP:DPL|you can help!]]): %s"
-disambiguation_comment = {} sort_ignore_case = False
############## IMAGE RELATED SETTINGS ##############
pywikipedia-svn@lists.wikimedia.org