XZise added a comment.

Okay I'm not sure what the problem is (I guess the English template text). In 
`checkimages.py` only one entry has that format:

  HiddenTemplateNotification = {
      'commons': (u"\n{{subst:User:Filnik/whitetemplate|File:%s}}\n\n''This "
                  u"message was added automatically by __botnick__, if you need 
"
                  u"some help about it please read the text above again and "
                  u"follow the links in it, if you still need help ask at the "
                  u"[[File:Human-help-browser.svg|18px|link=Commons:Help 
desk|?]]"
                  u" '''[[Commons:Help desk|→]] [[Commons:Help desk]]''' in any 
"
                  u"language you like to use.'' --__botnick__ ~~~~~"),
      'it': 
u"{{subst:Progetto:Coordinamento/Immagini/Bot/Messaggi/Template_insufficiente|%s|__botnick__}}
 --~~~~",
      'ko': u"\n{{subst:User:Kwj2772/whitetemplates|%s}} --~~~~",
  }

And I don't see how would interfere there. This dictionary is used there:

  HiddenTN = i18n.translate(self.site, HiddenTemplateNotification)

And that doesn't set fallback (so it's False). So the only problem with that 
patch COULD be the else block of the for loop.


TASK DETAIL
  https://phabricator.wikimedia.org/T97291

REPLY HANDLER ACTIONS
  Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign 
<username>.

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: XZise
Cc: XZise, Xqt, Aklapper, jayvdb, pywikipedia-bugs



_______________________________________________
Pywikipedia-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-bugs

Reply via email to