jayvdb created this task.
jayvdb added a subscriber: jayvdb.
jayvdb added projects: pywikibot-core, Google-Code-In-2015, Pywikibot-i18n, 
Pywikibot-Other-scripts.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  `scripts/checkimages.py` supports `__botnick__` as a substitution name in its 
translatable strings which are embedded in the Python module.
  
  e.g.
  
  ```
      'commons': (u"\n{{subst:User:Filnik/untagged|File:%s}}\n\n''This message "
                  u"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__ ~~~~~"""),
  ```
  
  checkimages.py needs to be updated to replace `__botnick__` in those messages 
with `%(username)s`, and perform substitution using the new notation.
  
  Pywikibot has been working towards using `%(foo)s` as the standard string 
substitution notation used in l10n/i18n messages.
  
  Also `botnick` is not a commonly understood term, which confuses translators. 
 'username' or 'user' would be more easily understood.
  
  Mentor: @jayvdb

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

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

To: jayvdb
Cc: Aklapper, jayvdb, pywikibot-bugs-list, Jay8g



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

Reply via email to