Last modified: 2013-10-05 04:24:43 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T57106, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55106 - Blockpageschecker's default value of -move option
Blockpageschecker's default value of -move option
Status: NEW
Product: Pywikibot
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized enhancement
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-05 04:24 UTC by Kunal Mehta (Legoktm)
Modified: 2013-10-05 04:24 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Kunal Mehta (Legoktm) 2013-10-05 04:24:41 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links