Revision: 5173
Author: misza13
Date: 2008-04-01 17:49:40 +0000 (Tue, 01 Apr 2008)
Log Message:
-----------
A more general "detection of wiki page" that should work under different skins
Modified Paths:
--------------
trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py
===================================================================
--- trunk/pywikipedia/wikipedia.py 2008-04-01 15:01:05 UTC (rev 5172)
+++ trunk/pywikipedia/wikipedia.py 2008-04-01 17:49:40 UTC (rev 5173)
@@ -4173,7 +4173,7 @@
* text - the page text
* sysop - is the user a sysop?
"""
- if '<div id="globalWrapper">' not in text:
+ if '<body class="mediawiki' not in text:
# Not a wiki page
return
Show replies by date