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

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.