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

Reply via email to