Spurred by a discussion at en.WP about citation templates emitting duplicate HTML IDs, it would be nice if we could find pages which have duplicate IDs so that we can fix them. That means probably a maintenance category or a lint error.
See also
Spurred by a discussion at en.WP about citation templates emitting duplicate HTML IDs, it would be nice if we could find pages which have duplicate IDs so that we can fix them. That means probably a maintenance category or a lint error.
See also
Project | Branch | Lines +/- | Subject | |
---|---|---|---|---|
mediawiki/services/parsoid | master | +5 -0 | Emit lint error when a page has duplicate HTML IDs |
For the lint error, just need to surface https://github.com/wikimedia/parsoid/blob/master/lib/utils/DOMUtils.js#L360
Change 493116 had a related patch set uploaded (by Farida; owner: Farida):
[mediawiki/services/parsoid@master] Emit lint error when a page has duplicate HTML IDs