Page MenuHomePhabricator

wmopbot: Access templates containing "-" or "+" not correctly interpreted
Closed, ResolvedPublic

Description

#wikimedia-stewards has the following access templates:

Template nameAccess
steward+votiA
contact+votseriRfAF
steward++voteriRfA
op-bot+Vo
op+votA
stewardV+AViotv
stewardV++ARVfioertv

Looking at the bot console for that channel, curiously, none of the persons in the access list that are members of steward+, stewardV+ or op-bot are displayed.

That makes me think that if the access template name does contain other things but letters the bot does not correctly parse the access list, thus making some chanops in those groups unable to use wmopbot.

Thanks for your assistance.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptFri, Nov 8, 7:29 PM
MarcoAurelio updated the task description. (Show Details)Fri, Nov 8, 7:31 PM
Danilo closed this task as Resolved.Sat, Nov 9, 1:00 AM

Thank you for find the bug. I made a change in the regex R2075:e8d36adee730 and that fixed the problem.

Awesome, thank you. Looks fixed indeed.