Revision: 8182
Author:   multichill
Date:     2010-05-16 12:53:38 +0000 (Sun, 16 May 2010)

Log Message:
-----------
Restore behavior of def categories(), this breaks way to many bots.

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

Modified: trunk/pywikipedia/wikipedia.py
===================================================================
--- trunk/pywikipedia/wikipedia.py      2010-05-16 08:49:46 UTC (rev 8181)
+++ trunk/pywikipedia/wikipedia.py      2010-05-16 12:53:38 UTC (rev 8182)
@@ -2185,7 +2185,7 @@
 
 
 
-    def categories(self, get_redirect=False, api=True):
+    def categories(self, get_redirect=False, api=False):
         """Return a list of Category objects that the article is in.
         Please be aware: the api call returns also categies which are included
         by templates. This differs to the old non-api code. If you need only



_______________________________________________
Pywikipedia-svn mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-svn

Reply via email to