The container element of <math> may contain a "data-qid" attribute that refers to a Wikidata element (see [[ https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/Math/+/471772/ | Change 471772 ]]). We want to show a popup of some information from Wikidata, such as the description in the language $wgContLang.
{F27131358}
- [x] As a preliminary step, we have implemented a special page that is shown, if one clicks on annotated math tags.
- [x] We have developed a demo that uses the popup extension to display that information in the popups extension https://gerrit.wikimedia.org/r/c/527547. However, this code can not be merged in its current shape.
- [ ] Update the API to generate the content of the popup in HTML format independent of the mechanism that will be used to display the popup.
- [ ] Decide if the Popups extension is best suitable for our use case or if we should consider [alternatives](https://codepen.io/atomiks/pen/LgjMbW).