Page MenuHomePhabricator

Red error message when two #coordinates set a primary coordinate
Open, LowPublic


On an article I see an ugly

<span class="error">{{#coordinates:}}: non è possibile avere più di un tag principale per pagina</span>

Because two infoboxes each add a {{coord}} with coordinates from Wikidata. The templates might be made smarter, but in wikitext there is no general solution for a template to know about other templates in the same page and branch depending on what they do.

If a coordinates tag is redundant/can't be processed, instead of adding an ugly error we should just ignore it and add the page to a tracking category.

Event Timeline

Nemo_bis created this task.Mar 1 2017, 9:21 AM
Restricted Application added a project: Internet-Archive. · View Herald TranscriptMar 1 2017, 9:21 AM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Larske added a subscriber: Larske.Jul 11 2017, 3:29 PM
Restricted Application added a project: Discovery-Search. · View Herald TranscriptMay 3 2019, 10:47 AM
Restricted Application added a subscriber: Liuxinyu970226. · View Herald Transcript
debt added a subscriber: debt.May 9 2019, 5:05 PM

Hey @Nemo_bis it looks like we were added to this ticket last week, and it looks like the issue is still happening. Is there a better solution for this that you'd like to see?


EBernhardson triaged this task as Low priority.Jul 11 2019, 5:10 PM