Page MenuHomePhabricator

Bad template names
Closed, ResolvedPublic

Description

If we have two templates, for example a normal "Template:Cite web" and a strange "Template:Cite web:Strange name" (Книга and Книга:Биологический энциклопедический словарь) then ProveIt will think that the template is "Cite web" rather than "Cite web:Strange name".

It seems that with certain template names, the gadget fails to scan them correctly. This is probably due to the extra colon, but it may also be a regex issue or encoding issue.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 14 2016, 7:13 PM
Sophivorus triaged this task as Medium priority.Oct 14 2016, 7:14 PM

Change 318126 had a related patch set uploaded (by Sophivorus):
Support for nested templates

https://gerrit.wikimedia.org/r/318126

The patch set linked by the bot was not meant for this task!

Change 318982 had a related patch set uploaded (by Sophivorus):
Match specific subtemplate before general templates

https://gerrit.wikimedia.org/r/318982

Change 318982 merged by Sophivorus:
Match more specific templates first

https://gerrit.wikimedia.org/r/318982

The last patch should have fixed this issue, but didn't. I'm not sure why, will keep on investigating.

Sophivorus closed this task as Resolved.Sep 27 2019, 5:11 PM
Sophivorus claimed this task.
Restricted Application added a subscriber: Liuxinyu970226. · View Herald TranscriptSep 27 2019, 5:11 PM