Page MenuHomePhabricator

enable/disable cosmetic_changes per namespace
Closed, DeclinedPublic

Description

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.


Version: core-(2.0)
Severity: enhancement
See Also:
https://sourceforge.net/p/pywikipediabot/feature-requests/283

Details

Reference
bz55049

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:16 AM
bzimport set Reference to bz55049.
bzimport added a subscriber: Unknown Object (????).

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.

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.