Page MenuHomePhabricator

Bot should also recognize uppercase letters in commands
Open, NormalPublic

Description

When I enter @notify bot works as expected. When I enter @Notify bot send me error message. See example:

<Zoranzoki21> @Notify Reedy
<wm-bot> Hi, I am a robot, this command was not understood. Please bear in mind that every message you send to me will be logged for debugging purposes. See documentation for the bot at http://meta.wikimedia.org/wiki/wm-bot for explanation of the bot's commands.

So, bot should recongize lowercase and uppercase letters.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJan 10 2019, 11:21 AM

So, bot should recongize lowercase and uppercase letters.

I'd state that commands in computer systems usually [citation needed] are either all lower-case or all capital letters. If there is a system that accepts Upper-Case commands, can you share a specific example (system and command)?

Aklapper renamed this task from Bot should recongize lowercase and uppercase letters to Bot should also recognize uppercase letters in commands.Jan 10 2019, 12:25 PM
Petrb added a subscriber: Petrb.Feb 10 2019, 7:53 PM

I think this task makes sense even if it never occured to me to hit this kind of problem. I don't see any valid use-case to make it possible to have 2 commands with same name but different letter case, so it shouldn't break stuff.

Petrb triaged this task as Normal priority.Feb 10 2019, 7:54 PM