http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10315
Revision: 10315 Author: xqt Date: 2012-06-08 06:36:54 +0000 (Fri, 08 Jun 2012) Log Message: ----------- remove unused items, re-order disambiguation_comment, new section header for cosmetic changes
Modified Paths: -------------- branches/rewrite/pywikibot/config2.py
Modified: branches/rewrite/pywikibot/config2.py =================================================================== --- branches/rewrite/pywikibot/config2.py 2012-06-08 06:35:44 UTC (rev 10314) +++ branches/rewrite/pywikibot/config2.py 2012-06-08 06:36:54 UTC (rev 10315) @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # # (C) Rob W.W. Hooft, 2003 -# (C) Pywikipedia bot team, 2003-2010 +# (C) Pywikipedia bot team, 2003-2012 # # Distributed under the terms of the MIT license. # @@ -49,8 +49,6 @@ # sysopnames['wiktionary']['en'] = 'myEnglishUsername' usernames = {} sysopnames = {} -disambiguation_comment = {} -gdab_namespaces = {}
# Solve captchas in the webbrowser. Setting this to False will result in the # exception CaptchaError being thrown if a captcha is encountered. @@ -315,6 +313,7 @@ # disambiguation_comment['wikipedia']['en'] = \ # "Robot-assisted disambiguation ([[WP:DPL|you can help!]]): %s"
+disambiguation_comment = {} sort_ignore_case = False
############## IMAGE RELATED SETTINGS ############## @@ -464,7 +463,7 @@ socket_timeout = 120 # set a pretty long timeout just in case...
-############## FURTHER SETTINGS ############## +############## COSMETIC CHANGES SETTINGS ############## # The bot can make some additional changes to each page it edits, e.g. fix # whitespace or positioning of interwiki and category links.
@@ -480,6 +479,8 @@ # foreign wiki, set cosmetic_changes_mylang_only to False, but be careful! cosmetic_changes_mylang_only = True
+############## FURTHER SETTINGS ############## + ### Proxy configuration ### # assign prox = None to connect directly # For proxy support first run: apt-get install python-socks.py