http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10571
Revision: 10571 Author: xqt Date: 2012-10-14 15:03:20 +0000 (Sun, 14 Oct 2012) Log Message: ----------- strip trailing whitespace
Modified Paths: -------------- trunk/pywikipedia/config.py
Modified: trunk/pywikipedia/config.py =================================================================== --- trunk/pywikipedia/config.py 2012-10-14 13:56:51 UTC (rev 10570) +++ trunk/pywikipedia/config.py 2012-10-14 15:03:20 UTC (rev 10571) @@ -103,7 +103,7 @@ # The encoding the user would like to see text transliterated to. This can be # set to a charset (e.g. 'ascii', 'iso-8859-1' or 'cp850'), and we will output # only characters that exist in that charset. However, the characters will be -# output using console_encoding. +# output using console_encoding. # If this is not defined on Windows, we emit a Warning explaining the user # to either switch to a Unicode-able font and use # transliteration_target = None @@ -450,12 +450,14 @@ # If you want the bot to also do cosmetic changes when editing a page on a # foreign wiki, set cosmetic_changes_mylang_only to False, but be careful! cosmetic_changes_mylang_only = True + # The dictionary cosmetic_changes_enable should contain a tuple of languages # for each site where you wish to enable in addition to your own langlanguage # (if cosmetic_changes_mylang_only is set) # Please set your dictionary by adding such lines to your user-config.py: # cosmetic_changes_enable['wikipedia'] = ('de', 'en', 'fr') cosmetic_changes_enable = {} + # The dictionary cosmetic_changes_disable should contain a tuple of languages # for each site where you wish to disable cosmetic changes. You may use it with # cosmetic_changes_mylang_only is False, but you can also disable your own
pywikipedia-svn@lists.wikimedia.org