Page MenuHomePhabricator

Error message should not be displayed if two {{#coordinates:}} contains the same values
Open, Needs TriagePublic

Description

Some infoboxes in ruwiki downloads coordinates of geographical objects from Wikidata. Some articles contains two such infoboxes, and if Wikidata item contains coordinates, it loads twice and second infobox shows this error message: "{{#coordinates:}}: cannot have more than one primary tag per page". Example: https://ru.wikipedia.org/wiki/%D0%92%D0%BB%D0%B8%D0%BB%D0%B0%D0%BD%D0%B4 , an article about island and commune. This message should not be displayed if coordinate values don't contradict each other.

Event Timeline

MBH created this task.Dec 15 2017, 12:03 PM
Restricted Application added subscribers: Base, Aklapper. · View Herald TranscriptDec 15 2017, 12:03 PM
MBH added a subscriber: Amire80.

It's up to the community to fix their modules that this shouldn't happen.

stjn added a subscriber: stjn.

It's up to the community to fix their modules that this shouldn't happen.

What are the fixes that you are suggesting here, except the manual removal of duplicated data?

Btw, seems like this is the same as T159315.