http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10664
Revision: 10664 Author: multichill Date: 2012-11-05 20:57:05 +0000 (Mon, 05 Nov 2012) Log Message: ----------- Apply blacklist filter after redirect filter.
Modified Paths: -------------- trunk/pywikipedia/imagerecat.py
Modified: trunk/pywikipedia/imagerecat.py =================================================================== --- trunk/pywikipedia/imagerecat.py 2012-11-04 19:53:31 UTC (rev 10663) +++ trunk/pywikipedia/imagerecat.py 2012-11-05 20:57:05 UTC (rev 10664) @@ -282,9 +282,9 @@ def applyAllFilters(categories): ''' Apply all filters on categories. ''' result = [] - result = filterBlacklist(categories) - result = filterDisambiguation(result) + result = filterDisambiguation(categories) result = followRedirects(result) + result = filterBlacklist(result) result = filterCountries(result) result = filterParents(result) return result