Revision: 8141
Author: xqt
Date: 2010-05-04 05:13:35 +0000 (Tue, 04 May 2010)
Log Message:
-----------
deactivate API query due to bugs #2995997 and #2995320
Modified Paths:
--------------
trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py
===================================================================
--- trunk/pywikipedia/wikipedia.py 2010-04-29 13:57:22 UTC (rev 8140)
+++ trunk/pywikipedia/wikipedia.py 2010-05-04 05:13:35 UTC (rev 8141)
@@ -2173,12 +2173,10 @@
category links in the page text.
"""
-# New add API query.
-
-# api.php?action=query&prop=categories&titles=Albert%20Einstein
-
-#
- if not self.site().has_api():
+ # New API query.
+ # api.php?action=query&prop=categories&titles=Albert%20Einstein
+ # deactivated due to bug 2995320 & 2995997
+ if not self.site().has_api() or True:
try:
category_links_to_return = getCategoryLinks(self.get(get_redirect=get_redirect), self.site())
except NoPage: