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

filnik at svn.wikimedia.org filnik at svn.wikimedia.org
Sun Jan 20 16:14:44 UTC 2008


Revision: 4920
Author:   filnik
Date:     2008-01-20 16:14:44 +0000 (Sun, 20 Jan 2008)

Log Message:
-----------
Change of message for commons

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

Modified: trunk/pywikipedia/checkimages.py
===================================================================
--- trunk/pywikipedia/checkimages.py	2008-01-19 23:57:57 UTC (rev 4919)
+++ trunk/pywikipedia/checkimages.py	2008-01-20 16:14:44 UTC (rev 4920)
@@ -131,7 +131,7 @@
 # if the file has an unknown extension it will be tagged with this template.
 # In reality, there aren't unknown extension, they are only not allewed... ^__^
 delete_immediately = {
-			'commons':"{{db-meta|The file has .%s as extension.}}",
+			'commons':"{{speedy|The file has .%s as extension. Is it ok? Please check.}}",
 			'en'     :"{{db-meta|The file has .%s as extension.}}",
 			'it'     :'{{cancella subito|motivo=Il file ha come estensione ".%s"}}',
 			'ja':u'{{db|知らないファイルフォーマット%s}}',
@@ -150,8 +150,8 @@
 
 # Text that will be add if the bot find a unknown extension.
 delete_immediately_notification = {
-                                'commons':'The [[:Image:%s]] file has a wrong extension, please check. ~~~~',
-				'en'     :'The [[:Image:%s]] file has a wrong extension, please check. ~~~~',
+                                'commons':'The [[:Image:%s]] file seems to have a wrong extension, please check. ~~~~',
+				'en'     :'The [[:Image:%s]] file seems to have a wrong extension, please check. ~~~~',
 				'it'     :'{{subst:Utente:Filbot/Ext|%s}}',
 				'hu'     :u'A [[:Kép:%s]] fájlnak rossz a kiterjesztése, kérlek ellenőrízd. ~~~~',
 				'zh'    :u'您好,你上傳的[[:Image:%s]]無法被識別,請檢查您的檔案,謝謝。--~~~~',
@@ -741,7 +741,7 @@
         # MIT license is ok on italian wikipedia, let also this here
         something = ['{{', "'''MIT license'''"] # Don't put "}}" here, please. Useless and can give problems.
         # Unused file extensions. Does not contain PDF.
-        notallowed = ("xcf", "xls", "sxw", "sxi", "sxc", "sxd", "djvu")
+        notallowed = ("xcf", "xls", "sxw", "sxi", "sxc", "sxd")
 
         # A little block-statement to ensure that the bot will not start with en-parameters
         if lang not in project_inserted:





More information about the Pywikipedia-l mailing list