Revision: 5253 Author: erwin85 Date: 2008-04-22 21:03:00 +0000 (Tue, 22 Apr 2008)
Log Message: ----------- * disabled fixing_redirects.py for nlwiki There is consensus that bots should not be used to fix redirects.
Modified Paths: -------------- trunk/pywikipedia/fixing_redirects.py
Modified: trunk/pywikipedia/fixing_redirects.py =================================================================== --- trunk/pywikipedia/fixing_redirects.py 2008-04-22 20:15:23 UTC (rev 5252) +++ trunk/pywikipedia/fixing_redirects.py 2008-04-22 21:03:00 UTC (rev 5253) @@ -164,7 +164,11 @@ else: namespace = int(arg[11:])
- mysite = wikipedia.getSite() + mysite = wikipedia.getSite() + if mysite.sitename() == 'wikipedia:nl': + wikipedia.output(u'\03{lightred}There is consensus on the Dutch Wikipedia that bots should not be used to fix redirects.\03{default}') + sys.exit() + linktrail = mysite.linktrail() if featured: featuredList = wikipedia.translate(mysite, featured_articles)
pywikipedia-l@lists.wikimedia.org