Lucas_Werkmeister_WMDE added a comment.
So I think we can require `.data-bridge-enabled` on some descendant of the `<a>`, such as the `<img>` (easy to implement in wikitext, probably slightly annoying to implement for us); on some parent of the `<a>`, such as a `<span>`/`<div>` or a `<td>` (probably slightly annoying to implement in wikitext, easy to implement for us); or both (maximum flexibility for wikitext authors, probably somewhat annoying to implement for us). We could also continue to allow `.data-bridge-enabled` on the `<a>` itself, but if it’s not possible to generate such links in MediaWiki I don’t really see the point unless we get it for free (which I don’t think is likely – there’s no CSS selector for “class on this element or a child/descendant” as far as I know). TASK DETAIL https://phabricator.wikimedia.org/T224832 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lucas_Werkmeister_WMDE Cc: Lucas_Werkmeister_WMDE, Esc3300, Michael, Lea_Lacroix_WMDE, Aklapper, Lydia_Pintscher, Daryl-TTMG, RomaAmorRoma, 0010318400, E.S.A-Sheild, darthmon_wmde, joker88john, CucyNoiD, Nandana, NebulousIris, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Baloch007, Darkminds3113, Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, LawExplorer, WSH1906, Lewizho99, Maathavan, _jensen, rosalieper, Wikidata-bugs, Superyetkin, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs