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-b...@lists.wikimedia.org
          Reporter: legoktm.wikipe...@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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to