Ricordisamoa added a comment. In https://phabricator.wikimedia.org/T102921#1720496, @Se4598 wrote:
> PS: A thing where I'm not sure about if this is the right thing is the > argument supplied to the matcher-function. Currently it is the href-part of a > link, e.g. "/wiki/Mainpage". > But the gadget works/inspects on the title-attribute of the link. > Theoretically that could be modified to work on the url, but maybe there are > edge cases, which require addition infos. The `title` attribute is unreliable, instead `mw.popups.getTitle()` should work easily for Wikidata popups too. TASK DETAIL https://phabricator.wikimedia.org/T102921 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Prtksxna, Ricordisamoa Cc: Se4598, Jdlrobson, gerritbot, Prtksxna, thiemowmde, aude, Ricordisamoa, hoo, Lydia_Pintscher, Bene, Aklapper, Wikidata-bugs, Quiddity _______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
