Last modified: 2014-09-18 13:21:51 UTC
Originally from: http://sourceforge.net/p/pywikipediabot/feature-requests/283/ Reported by: Anonymous user Created on: 2011-02-09 07:24:27 Subject: enable/disable cosmetic_changes per namespace Original description: Cosmetic changes are helpful for most documents, but dangerous for some namespaces, esp. Template namespace. It would be helpful if: cosmetic\_changes\_disable\_namespace = \{'Template'\} or something.
Is there a problem with just using the -namespace parameter when running the bot? Then you explicitly allow certain namespaces. -namespace Filter the page generator to only yield pages in the -ns specified namespaces. Separate multiple namespace numbers with commas. Example: -ns:"0,2,4" \(Take care of quotation marks as comma may qualify as command line separator.\) Will ask for namespaces if you write just -namespace or -ns.
- **priority**: 5 --> 2
As cosmetic changes most of the time, the bot may be working on pages that a cosmetic change shouldnt run on. However, the cosmetic changes should automatically skip pages which it isnt appropriate to work on. Code needs to be added to skip namespaces, if there are problems. As we've lost the original contributor, I'm closing this as wontfix.