Revision: 6432
Author: multichill
Date: 2009-02-23 20:18:59 +0000 (Mon, 23 Feb 2009)
Log Message:
-----------
Timestamp {{BotMoveToCommons}}
Modified Paths:
--------------
trunk/pywikipedia/imagecopy.py
Modified: trunk/pywikipedia/imagecopy.py
===================================================================
--- trunk/pywikipedia/imagecopy.py 2009-02-23 19:19:09 UTC (rev 6431)
+++ trunk/pywikipedia/imagecopy.py 2009-02-23 20:18:59 UTC (rev 6432)
@@ -270,7 +270,7 @@
wikipedia.output(CH);
# I want every picture to be tagged with the bottemplate so i can check my
contributions later.
- CH=u'\n\n{{BotMoveToCommons|'+ self.imagePage.site().language() +
'.' + self.imagePage.site().family.name +'}}'+CH
+ CH=u'\n\n{{BotMoveToCommons|'+ self.imagePage.site().language() +
'.' + self.imagePage.site().family.name
+'|year={{subst:CURRENTYEAR}}|month={{subst:CURRENTMONTHNAME}}|day={{subst:CURRENTDAY}}}}'
+ CH
bot = UploadRobot(url=self.imagePage.fileUrl(), description=CH,
useFilename=self.newname, keepFilename=True, verifyDescription=False, ignoreWarning =
True, targetSite = wikipedia.getSite('commons', 'commons'))
bot.run()
Show replies by date