[Pywikipedia-l] SVN: [5368] trunk/pywikipedia/commonscat.py

multichill at svn.wikimedia.org multichill at svn.wikimedia.org
Wed May 14 11:33:05 UTC 2008


Revision: 5368
Author:   multichill
Date:     2008-05-14 11:33:04 +0000 (Wed, 14 May 2008)

Log Message:
-----------
Always fix.

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

Modified: trunk/pywikipedia/commonscat.py
===================================================================
--- trunk/pywikipedia/commonscat.py	2008-05-14 11:28:34 UTC (rev 5367)
+++ trunk/pywikipedia/commonscat.py	2008-05-14 11:33:04 UTC (rev 5368)
@@ -178,7 +178,7 @@
             #We found one or more commonscat links, build the template and add it to our page
             #TODO: We should check if we found more than one different link.            
             commonscat = "{{" + getTemplate(page.site().language()) + "|" + commonscat + "}}";
-            add_text.add_text(page, commonscat, summary, None, None, always);
+            (success, always) = add_text.add_text(page, commonscat, summary, None, None, always);
             #updateInterwiki(page, commonscatpage)
     return (True, always);
 





More information about the Pywikipedia-l mailing list