Revision: 6030 Author: filnik Date: 2008-10-26 17:52:05 +0000 (Sun, 26 Oct 2008)
Log Message: ----------- Other little bugfixes, sorry but during the deep testing comes these special cases out..
Modified Paths: -------------- trunk/pywikipedia/checkimages.py
Modified: trunk/pywikipedia/checkimages.py =================================================================== --- trunk/pywikipedia/checkimages.py 2008-10-26 17:31:12 UTC (rev 6029) +++ trunk/pywikipedia/checkimages.py 2008-10-26 17:52:05 UTC (rev 6030) @@ -60,12 +60,9 @@
---- Known issues/FIXMEs: ---- * Clean the code, some passages are pretty difficult to understand if you're not the coder. -* Fix the "real-time" regex and function * Add the "catch the language" function for commons. * Fix and reorganise the new documentation * Add a report for the image tagged. -* Duplicates: check the usage, find out which image is most usued and "delete" the other ones. -* -> if the other ones are used, advise it in the message!
"""
@@ -329,16 +326,16 @@ # because they are already put in the regex). # Warning 3: the part that use this regex is case-insensitive (just to let you know..) HiddenTemplate = { - 'commons':[u'information'], # Put the other in the page on the project defined below - 'ar':[u'معلومات'], - 'de':[u'information'], - 'en':[u'information'], - 'hu':[u'információ', u'enwiki', u'azonnali'], - 'it':[u'edp', u'informazioni file', u'information', u'trademark', u'permissionotrs'], # Put the other in the page on the project defined below - 'ja':[u'Information'], - 'ko':[u'그림 정보'], - 'ta':[u'information'], - 'zh':[u'information'], + 'commons':[u'Template:Information'], # Put the other in the page on the project defined below + 'ar':[u'Template:معلومات'], + 'de':[u'Template:Information'], + 'en':[u'Template:Information'], + 'hu':[u'Template:Információ', u'Template:Enwiki', u'Template:Azonnali'], + 'it':[u'Template:EDP', u'Template:Informazioni file', u'Template:Information', u'Template:Trademark', u'Template:Permissionotrs'], # Put the other in the page on the project defined below + 'ja':[u'Template:Information'], + 'ko':[u'Template:그림 정보'], + 'ta':[u'Template:Information'], + 'zh':[u'Template:Information'], } # A page where there's a list of template to skip. PageWithHiddenTemplates = {
pywikipedia-l@lists.wikimedia.org