russblau created this task.
russblau added a project: Pywikibot-core.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION

The bot exclusion protocol allows the {{bots}} or {{nobots}} template to take an argument which is a comma-separated list of bot names. Pywikibot does not parse the comma-separated list correctly if it contains a space.

Example:

page1.text contains "{{bots|deny=One bot, Another bot}}"

page2.text contains the text "{{bots|deny=One bot,Another bot}}"

If the user is logged in as "User:Another bot", then page1.botMayEdit() returns True, but page2.botMayEdit() returns False. According to the protocol, both should return False.


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

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

To: russblau
Cc: Aklapper, russblau, pywikibot-bugs-list, Magul, Tbscho, rafidaslam, MayS, Mdupont, JJMC89, Avicennasis, jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to