Page MenuHomePhabricator

Use `data-mw="interface"` instead of `mw-data="interface"`
Closed, ResolvedPublic

Description

https://www.mediawiki.org/wiki/Help:Extension:Kartographer contains:

<a class="mw-kartographer-map" mw-data="interface" data-style="osm-intl" data-width="250" data-heigh13,-122.3988,250x250.png?lang=en); height: 250px;" href="/wiki/Special:Map/13/37.8013/-122.3988/en">

https://validator.w3.org/nu/?doc=https://www.mediawiki.org/wiki/Help:Extension:Kartographer reports:

Attribute mw-data not allowed on element a at this point.

The intended HTML attribute is data-mw="interface" instead of mw-data="interface".

Event Timeline

Fomafix created this task.Apr 9 2019, 10:46 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 9 2019, 10:46 AM

Change 502485 had a related patch set uploaded (by Fomafix; owner: Fomafix):
[mediawiki/extensions/Kartographer@master] Use data-mw="interface" instead of mw-data="interface"

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

Change 502486 had a related patch set uploaded (by Fomafix; owner: Fomafix):
[mediawiki/extensions/Kartographer@master] Remove check for mw-data="interface"

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

Change 502485 merged by jenkins-bot:
[mediawiki/extensions/Kartographer@master] Use data-mw="interface" instead of mw-data="interface"

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

Change 503760 had a related patch set uploaded (by Fomafix; owner: Fomafix):
[mediawiki/extensions/Wikibase@master] Add [data-mw="interface"] to the kartographer selector

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

Change 505217 had a related patch set uploaded (by Fomafix; owner: Fomafix):
[mediawiki/extensions/Kartographer@master] Support data-mw="interface" also in staticframe

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

Change 505217 merged by jenkins-bot:
[mediawiki/extensions/Kartographer@master] Support data-mw="interface" also in staticframe

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

Change 503760 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Add [data-mw="interface"] to the kartographer selector

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

Change 502486 merged by jenkins-bot:
[mediawiki/extensions/Kartographer@master] Remove check for mw-data="interface"

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

Fomafix closed this task as Resolved.Jun 11 2019, 8:07 PM