http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10351
Revision: 10351 Author: xqt Date: 2012-06-12 07:47:03 +0000 (Tue, 12 Jun 2012) Log Message: ----------- doc for cosmetic_changes_deny_script.append() sample
Modified Paths: -------------- branches/rewrite/pywikibot/config2.py
Modified: branches/rewrite/pywikibot/config2.py =================================================================== --- branches/rewrite/pywikibot/config2.py 2012-06-12 07:43:08 UTC (rev 10350) +++ branches/rewrite/pywikibot/config2.py 2012-06-12 07:47:03 UTC (rev 10351) @@ -498,6 +498,8 @@ # are disabled. You may add additional scripts by appending script names in # your user_config.py ("+=" operator is strictly recommended): # cosmetic_changes_deny_script += ['your_script_name_1', 'your_script_name_2'] +# Appending the script name also works: +# cosmetic_changes_deny_script.append('your_script_name') cosmetic_changes_deny_script = ['cosmetic_changes', 'touch']
############## FURTHER SETTINGS ##############
pywikipedia-svn@lists.wikimedia.org