Revision: 7825
Author: xqt
Date: 2009-12-26 14:41:23 +0000 (Sat, 26 Dec 2009)
Log Message:
-----------
regex-fix for nn-wiki
Modified Paths:
--------------
trunk/pywikipedia/cosmetic_changes.py
Modified: trunk/pywikipedia/cosmetic_changes.py
===================================================================
--- trunk/pywikipedia/cosmetic_changes.py 2009-12-25 07:33:48 UTC (rev 7824)
+++ trunk/pywikipedia/cosmetic_changes.py 2009-12-26 14:41:23 UTC (rev 7825)
@@ -277,7 +277,7 @@
# nn got a message between the categories and the iw's
# and they want to keep it there, first remove it
if self.site.language()=='nn':
- regex = re.compile('(<!-- ?interwiki \(no(/nv)?, ?sv, ?da first; then
other languages alphabetically by name\) ?-->)')
+ regex = re.compile('(<!-- ?interwiki \(no(/nb)?, ?sv, ?da first; then
other languages alphabetically by name\) ?-->)')
found = regex.findall(text)
if found != []:
if pywikibot.verbose:
Show replies by date