[Pywikipedia-l] SVN: [5685] trunk/pywikipedia/checkimages.py

filnik at svn.wikimedia.org filnik at svn.wikimedia.org
Sun Jul 6 15:48:09 UTC 2008


Revision: 5685
Author:   filnik
Date:     2008-07-06 15:48:09 +0000 (Sun, 06 Jul 2008)

Log Message:
-----------
Fix #if:

Modified Paths:
--------------
    trunk/pywikipedia/checkimages.py

Modified: trunk/pywikipedia/checkimages.py
===================================================================
--- trunk/pywikipedia/checkimages.py	2008-07-06 15:44:05 UTC (rev 5684)
+++ trunk/pywikipedia/checkimages.py	2008-07-06 15:48:09 UTC (rev 5685)
@@ -1049,6 +1049,8 @@
     # A template as {{en is not a license! Adding also them in the whitelist template...
     for langK in wikipedia.Family('wikipedia').langs.keys():
         hiddentemplate.append('%s' % langK)
+    # The template #if: isn't something to care about
+    hiddentemplate.append('#if:')
                 
     # If the images to skip are 0, set the skip variable to False (the same for the wait time)
     if skip_number == 0:





More information about the Pywikipedia-l mailing list