# HG changeset patch # User errant.work # Date 1315478601 -3600 # Node ID 87d7c92b70176708847947278f398bcc5fbb547a # Parent fd2cc172069baf637b5fc898db64843c8cff54da enable multi/condensed notifications for commons as well (closes #22) diff -r fd2cc172069baf637b5fc898db64843c8cff54da -r 87d7c92b70176708847947278f398bcc5fbb547a commonsbot.py --- a/commonsbot.py Thu Sep 08 11:41:15 2011 +0100 +++ b/commonsbot.py Thu Sep 08 11:43:21 2011 +0100 @@ -172,7 +172,9 @@ try: summary = "Notification of possible deletion of [[:commons:%s|%s]]" % (image.nicetitle(),image.nicetitle()) text = "{{subst:%s/article_image_notification_%s|%s|%s|%s}}" % (get_usernamespace(),deletion_type,image.nicetitle(),deletion_type,reason) - self.write(page,text,summary,"%s Nominated" % image.nicetitle()) + multi_summary = "[[:%s]] has been nominated for %s deletion for the following reason: ''%s''" % (image.nicetitle(),deletion_type,reason) + #self.write(page,text,summary,"%s Nominated" % image.nicetitle()) + self.write(page,text,summary,"%s Nominated" % image.nicetitle(),image.nicetitle(),multi_summary) except: pass