Are you familiar with the Popups extension? https://www.mediawiki.org/wiki/Extension:Popups I wonder if with some adjustments this could be made to meet your needs?
On Mon, 26 Dec 2016 at 19:14 Victor Porton <[email protected]> wrote: > I want a small popup to be displayed when I hover over a link to a > certain namespace. > > Note that the popup has nothing to do with the page to which it links. > > So for example, I want a link to A:X and when I hover the mouse over it > I want to display B:X in a small popup (where A and B are namespaces). > > Note that B:X is a short page, it should be displayed in the popup > completely (not just its announce or description). > > Note also that I need the popup to be "stable" enough, so that I could > move the mouse (without the tooltip disappearing) and click a link in > the tooltip. > > --- > > I am considering to write a new extension for this myself. But first I > want to consult its syntax and API. > > For me personally the best mode of functionality is the following: > > In LocalSettings.php write an associative array mapping of namespaces: > A=>B, etc. Then make popups for ALL links to objects in A (on every > page which links to namespace A). > > However, other users may want different API and syntax, for example: > > <span popup="B:X">[[A:X|X]]</span> > > Please discuss with me which APIs and syntaxes should be available. > > -- > Victor Porton - http://portonvictor.org > > _______________________________________________ > Wikitech-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/wikitech-l _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
