Revision: 3892 Author: siebrand Date: 2007-07-19 23:18:06 +0000 (Thu, 19 Jul 2007)
Log Message: ----------- Was broken since MediaWiki SVN 24168 as "clear:both;" was not always present anymore. Now trying with "Saved in parser cache", although that might not always be there either.
Modified Paths: -------------- trunk/pywikipedia/catlib.py
Modified: trunk/pywikipedia/catlib.py =================================================================== --- trunk/pywikipedia/catlib.py 2007-07-19 21:17:45 UTC (rev 3891) +++ trunk/pywikipedia/catlib.py 2007-07-19 23:18:06 UTC (rev 3892) @@ -196,7 +196,7 @@ self_txt = txt # index where subcategory listing begins # this only works for the current version of the MonoBook skin - ibegin = txt.index('"clear:both;"') + ibegin = txt.index('Saved in parser cache') # index where article listing ends try: iend = txt.index('<div class="printfooter">')
pywikipedia-l@lists.wikimedia.org