[Pywikipedia-l] SVN: [6217] trunk/pywikipedia/category_redirect.py

russblau at svn.wikimedia.org russblau at svn.wikimedia.org
Fri Jan 2 20:18:44 UTC 2009


Revision: 6217
Author:   russblau
Date:     2009-01-02 20:18:44 +0000 (Fri, 02 Jan 2009)

Log Message:
-----------
fix typo, and add new en: template

Modified Paths:
--------------
    trunk/pywikipedia/category_redirect.py

Modified: trunk/pywikipedia/category_redirect.py
===================================================================
--- trunk/pywikipedia/category_redirect.py	2009-01-02 14:40:20 UTC (rev 6216)
+++ trunk/pywikipedia/category_redirect.py	2009-01-02 20:18:44 UTC (rev 6217)
@@ -65,6 +65,7 @@
                        "Empty category",
                        "CR",
                        "Catredirect",
+                       "Cat redirect",
                        "Emptycat",
                        "Emptycategory",
                        "Empty cat",
@@ -485,7 +486,7 @@
                 continue
             match = template_regex.search(text)
             if match is None:
-                self.log_text.append(u"* False positive: [[:%s:%s]]"
+                self.log_text.append(u"* False positive: [[:%s%s]]"
                                       % (self.catprefix, cat_title))
                 continue
             if cat_title not in record:





More information about the Pywikipedia-l mailing list