Originally from: http://sourceforge.net/p/pywikipediabot/feature-requests/130/
Reported by: nightshadow28
Created on: 2008-02-12 13:08:22
Subject: Blockpageschecker's default value of -move option
Original description:
A project using "moving protection", always use -move option. That is, if bot operator forgets to use the option, it will be miss operation with false editing. Therefore, would you change default value of the option by site?
For example, by code as below:
\---- \(1\)
\# Check list to block the users that haven't set their preferences
project\_inserted = \['en', 'fr', 'it', 'ja', 'pt', 'zh'\]
\# \(patch\) Check list to change default value of -move ----------------- Start
project\_moving\_prot = \[u'wikipedia:ja'\]
\# \(patch\) ------------------------------------------------------------- End
\---- \(2\)
\# Load the right site
site = wikipedia.getSite\(\)
\# \(patch\) default option value of -move ---------------------------------- Start
if unicode\(site\) in project\_moving\_prot:
wikipedia.output\('The site needs to check for protection of moving, so bot will check it anyway.'\)
moveBlockCheck = True
\# \(patch\) --------------------------------------------------------- End
Sincerely yours, Nightshadow28.
Version: unspecified
Severity: enhancement
See Also:
https://sourceforge.net/p/pywikipediabot/feature-requests/130