Revision: 5333 Author: filnik Date: 2008-05-08 16:04:53 +0000 (Thu, 08 May 2008)
Log Message: ----------- Fixing the italian's template
Modified Paths: -------------- trunk/pywikipedia/checkimages.py
Modified: trunk/pywikipedia/checkimages.py =================================================================== --- trunk/pywikipedia/checkimages.py 2008-05-08 15:56:38 UTC (rev 5332) +++ trunk/pywikipedia/checkimages.py 2008-05-08 16:04:53 UTC (rev 5333) @@ -329,9 +329,9 @@ 'it': u'\n\n== Immagine doppia ==\n', } duplicates_user_talk_text = { - 'commons':u'{{subst:User:Filnik/duplicates|Image:%s}}', + 'commons':u'{{subst:User:Filnik/duplicates|Image:%s|Image:%s}}', 'en':None, - 'it':u"{{subst:Utente:Filbot/duplicati|%s}} --~~~~", + 'it':u"{{subst:Utente:Filbot/duplicati|%s|%s}} --~~~~", }
duplicates_comment = { @@ -715,6 +715,7 @@ continue # The page doesn't exists if re.findall(dupRegex, DupPageText) == []: wikipedia.output(u'Adding the duplicate template in the image...') + dupTalkText = dupTalkText % (duplicate, self.image) self.report(re.sub(r'__image__', r'%s' % self.image, dupText), duplicate, dupTalkText, dupTalkHead, commx = dupComment, unver = False) return True # Ok - No problem. Let's continue the checking phase
pywikipedia-l@lists.wikimedia.org