Xqt added a comment.

  Better have a look at this doc 
<https://de.wikipedia.org/wiki/Vorlage:Bots/Doku>.
  `{{nobots}}` must not have any named parameters.
  And on the other hand `{{bots}}` always must have a named parameter if any.
  `{{bots|allow=Foo}}` is a valid directive but `{{nobots|allow=Foo}}` wasn't 
ever.
  `{{nobots}}` is not an alias for `{{bots}}` because it has an opposite 
meaning.
  Years ago I introduced the parameterless option for `{{nobots}}` (which 
wasn't included to the en-wiki doc I guess) like `{{nobots|botname}}` which is 
similar to `{{bots|deny=botname}}` and `{{nobots|scriptname}}` which is similar 
to `{{bots|denyscript=scriptname}}`.
  
  Probably we should always return False if `{{nobots}}` has a named parameter 
or `{{bots}}` has not a named parameter. The wrong usage wouldn't have any 
impact than; mabe print a warning in such cases.

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

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

To: Xqt
Cc: Xqt, Dvorapa, JJMC89, Aklapper, Liuxinyu970226, russblau, 
pywikibot-bugs-list, JohnsonLee01, Dijkstra, Zkhalido, Viztor, Wenyi, Tbscho, 
MayS, Mdupont, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, 
Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to