Lectrician1 added a comment.
Ok, I did some investigation as to how entity page links on Wikibase wikis on your watchlist, Q templates, and other special pages currently render. Wikibase uses the https://www.mediawiki.org/wiki/Manual:Hooks/HtmlPageLinkRendererEnd hook to output a new title link that will be in the label and QID of the entity page if the page link requested is an entity page and is not an API request or non-Special page. However, we don't need a HTML page link to output for an Echo notification. We just need the page title in the form of "**<entity label> (<entity ID>)**" as a string. To get this, we can use the same methods that Wikibase's `HtmlPageLinkRendererEnd` currently uses to output the entity label and ID. How should we implement this technically though? Should we make a `RenderPageTitle` Mediawiki hook for Wikibase to use? TASK DETAIL https://phabricator.wikimedia.org/T116762 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lectrician1 Cc: Celenduin, Michael, kostajh, Lectrician1, Ainali, JTannerWMF, Catrope, MMiller_WMF, Aleksey_WMDE, WMDE-leszek, ChristianKl, Daniel_Mietchen, Sjoerddebruin, Jdforrester-WMF, Legoktm, matej_suchanek, Luke081515, Lydia_Pintscher, Addshore, Aklapper, Astuthiodit_1, karapayneWMDE, Invadibot, caldera, maantietaja, NavinRizwi, ItamarWMDE, Akuckartz, Nandana, lucamauri, Lahi, Gq86, GoranSMilovanovic, Nattes, QZanden, LawExplorer, _jensen, rosalieper, xSavitar, Taiwania_Justo, Scott_WUaS, SBisson, Wikidata-bugs, aude, geraki, Mbch331
_______________________________________________ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org