https://bugzilla.wikimedia.org/show_bug.cgi?id=55106
Web browser: --- Bug ID: 55106 Summary: Blockpageschecker's default value of -move option Product: Pywikibot Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: legoktm.wikipedia@gmail.com Classification: Unclassified Mobile Platform: ---
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.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55106
Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://sourceforge.net/p/p | |ywikipediabot/feature-reque | |sts/130
pywikipedia-bugs@lists.wikimedia.org