Wikipedia talk:Tools/Navigation popups
From Wikipedia, the free encyclopedia
This page is for discussing Navigation popups and reporting bugs you encounter with it. Please be aware that the original author of Popups (Lupin) is no longer active on Wikipedia. All issues are handled at the discretion of other experienced editors. Note that this project has an associated Phabricator project where implementation-related discussion happens.
The Popups extension is a spiritual successor to this tool; see mw:Page Previews for a discussion of its history.
Not sure how to explain your problem clearly? Read How to Report Bugs Effectively for some general pointers.
Some common questions are answered in the FAQ.
Bug: Popup uses HTML em and strong in place of i and b
Example: monkfruit
- From page:
<i><b>Siraitia grosvenorii</b></i>, also known as <b>monkfruit</b>, <i><b>luo han guo</b></i>, or <b>Swingle fruit</b> ...
- From popup:
<strong><em>Siraitia grosvenorii</em></strong>, also known as <strong>monkfruit</strong>, <strong><em>luo han guo</em></strong>, or <strong>Swingle fruit</strong> ...
The problem is that <i> and <b> are formatting tags while <em> and <strong> are semantic tags. They're not interchangeable even though the result looks the same in most cases. Myself, I have a CSS rule for <em> so that I can tell it apart from regular italics.
— W.andrea (talk) 19:18, 22 February 2025 (UTC)
- Copied comment to MediaWiki talk:Gadget-popups.js. I might have found the problem in the source code too. — W.andrea (talk) 19:46, 22 February 2025 (UTC)
Thanks to latest edit does not work
Hello,
When I hover over a link to a page, then hover over "actions", "most recent edit", then finally "send thanks", it does not work. Clicking it brings me to https://en.wikipedia.org/w/index.php?title=Special:Thanks/cur. Myrealnamm (💬Let's talk · 📜My work) 14:20, 27 April 2025 (UTC)
- @Myrealnamm. Unable to reproduce. Is the thanks button in the popup or somewhere else? Is this only on one page or on all pages? –Novem Linguae (talk) 17:52, 27 April 2025 (UTC)
- @Novem Linguae

Popups tool thanks bug - Yes, it is in popups, and it happens on all pages. If I hover, say, your username (which is linked), under actions --> most recent edit --> actions --> send thanks, it does not work, but brings me to the invalid page linked above. Myrealnamm (💬Let's talk · 📜My work) 19:44, 27 April 2025 (UTC)
- Ah I see. I'm able to reproduce now. This gadget isn't really maintained. But now that this is easy to reproduce maybe it'll attract someone interested in writing a patch. –Novem Linguae (talk) 22:09, 27 April 2025 (UTC)
- @Novem Linguae
Special:Block
The latest Tech news includes:
Gadgets and user scripts that interact with Special:Block may need to be updated to work with the new manage blocks interface. Please review the developer guide for more information. If you need help or are unable to adapt your script to the new interface, please let the team know on the talk page.
Is this gadget likely to be affected? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 11:16, 20 May 2025 (UTC)
- Good question. Just now I went to Pigsonthewing -> User -> Block to see what it did. It redirects to https://en.wikipedia.org/w/index.php?title=Special:Block&ip=Pigsonthewing. That form will be updated to support multiblocks around June 2. Since blocking just redirects to that form instead of having something built in, I think popups will be unaffected. Thank you for checking. –Novem Linguae (talk) 18:08, 20 May 2025 (UTC)
External link color in dark mode
Hi! When using dark mode, I find the color for external links (#36b) pretty hard to read. Could the contrast be improved? Other link colors are fine. As far as I can see, it should be --color-progressive (#88a3e8) instead. Thanks, XanonymusX (talk) 19:42, 28 June 2025 (UTC)
- I've never seen a popup with an external link. Can you give an example? -- Michael Bednarek (talk) 02:31, 29 June 2025 (UTC)
- Pretty much all the popups that preview footnotes with a weblink. XanonymusX (talk) 17:21, 30 June 2025 (UTC)
- Here, popups omit all footnotes, viz: a popup of Dutch East India Company shows, "The United East India Company ( ; VOC ), commonly known as the Dutch East India Company, was a chartered trading company and one of the first joint-stock companies in the world. Established on 20 March 1602 by the" ... "trade activities in Asia." Note that the 2 footnotes after "world", and single footnotes after "1602" and "Asia." are not shown, and consequently the external links in those footnotes aren't shown, either. -- Michael Bednarek (talk) 00:08, 1 July 2025 (UTC)
- Here's a screenshot of what I see for a popup of a random citation: phab:F62753939 showing citation #4 at Leavenworth Riverfront Community Center (with both Page Previews and Navpopups, because I have both enabled as a frequent software-tester!). I believe that is what XanonymusX is describing. HTH. Quiddity (talk) 01:11, 1 July 2025 (UTC)
- Thanks, the screenshot is very helpful, as page previews shows the expected color! XanonymusX (talk) 07:24, 1 July 2025 (UTC)
- Here's a screenshot of what I see for a popup of a random citation: phab:F62753939 showing citation #4 at Leavenworth Riverfront Community Center (with both Page Previews and Navpopups, because I have both enabled as a frequent software-tester!). I believe that is what XanonymusX is describing. HTH. Quiddity (talk) 01:11, 1 July 2025 (UTC)
- Here, popups omit all footnotes, viz: a popup of Dutch East India Company shows, "The United East India Company ( ; VOC ), commonly known as the Dutch East India Company, was a chartered trading company and one of the first joint-stock companies in the world. Established on 20 March 1602 by the" ... "trade activities in Asia." Note that the 2 footnotes after "world", and single footnotes after "1602" and "Asia." are not shown, and consequently the external links in those footnotes aren't shown, either. -- Michael Bednarek (talk) 00:08, 1 July 2025 (UTC)
- Pretty much all the popups that preview footnotes with a weblink. XanonymusX (talk) 17:21, 30 June 2025 (UTC)
- Probably has to be fixed somewhere here MediaWiki:Gadget-navpop.css#L-197 —TheDJ (talk • contribs) 07:14, 1 July 2025 (UTC)
- I didn't get it that the complaint was about popups to citations within a page, which I almost never use. Apologies for my off-topic babbling. -- Michael Bednarek (talk) 07:27, 1 July 2025 (UTC)
- Before we forget about this: indeed, after line 206 we should add the styles for dark mode. I would use
/* Dark mode fixes */ html.skin-theme-clientpref-night a.extiw, html.skin-theme-clientpref-night a.extiw:active { color: var(--color-progressive, #88a3e8); } @media (prefers-color-scheme: dark) { html.skin-theme-clientpref-night a.extiw, html.skin-theme-clientpref-night a.extiw:active { color: var(--color-progressive, #88a3e8); } }
- Any concerns? If not, could somebody with editing rights please make the change? Much appreciated. XanonymusX (talk) 18:58, 21 July 2025 (UTC)
- Do those tokens need to be wrapped in
var()? Have you tested this code to make sure it works? You can add {{IAER}} when you have tested it, confirmed it works, and are ready to request an interface admin to make the change. –Novem Linguae (talk) 03:06, 22 July 2025 (UTC)
- Do those tokens need to be wrapped in
Image popups
I no longer have popups when hovering on images, can't figure out why. - FlightTime (open channel) 17:37, 6 July 2025 (UTC)
- @FlightTime: I still see them (just tried it out on a topic above). Could you be more specific?
- Do you experience this on enwiki or somewhere else?
- If on enwiki, can you confirm that the image in that above topic doesn’t work either?
- Do you see any JS errors?
- Did you enable any gadgets or user scripts lately? At least for the gadgets, can you try disabling them one by one to see if the issue persists? (You can do it with user scripts as well, but that leaves behind a lot of edits.)
- Tacsipacsi (talk) 19:53, 6 July 2025 (UTC)
- @Tacsipacsi: I'll have to research the steps you brought up, that will take awhile, but thanx for the reply. I can ping you here if I find anything, if you don't mind. Cheers, - FlightTime (open channel) 20:27, 6 July 2025 (UTC)
- I went through and disabled all .js and .css pages and still not working. Will work on gadgets next. If it turns out to be a gadget interfering, then I shouldn't be the only one. - FlightTime (open channel) 22:56, 6 July 2025 (UTC)
Try WP:SAFEMODE first before you go to the trouble of bisecting all your gadgets. If the error remains in safemode, then it is not a gadget and is something else (browser plugins, etc.)–Novem Linguae (talk) 00:33, 7 July 2025 (UTC)- I also thought about this, but I didn’t suggest it because it doesn’t really work: NavPopups itself is also a gadget, so if one goes in safe mode, NavPopups will also be disabled, AFAIK without any possibility for getting it back other than issuing manual JavaScript commands (or disabling safe mode). —Tacsipacsi (talk) 20:59, 8 July 2025 (UTC)
- Oops. Duh. Never mind :) –Novem Linguae (talk) 23:06, 8 July 2025 (UTC)
- I also thought about this, but I didn’t suggest it because it doesn’t really work: NavPopups itself is also a gadget, so if one goes in safe mode, NavPopups will also be disabled, AFAIK without any possibility for getting it back other than issuing manual JavaScript commands (or disabling safe mode). —Tacsipacsi (talk) 20:59, 8 July 2025 (UTC)
- I went through and disabled all .js and .css pages and still not working. Will work on gadgets next. If it turns out to be a gadget interfering, then I shouldn't be the only one. - FlightTime (open channel) 22:56, 6 July 2025 (UTC)
Multiblocks are not shown properly
Navigation popups does not seem to handle multi-blocked accounts properly. For instance, if you hover over User talk:NishantXavier, it will not say they are blocked, despite the account being multiblocked. It should instead show a message like "Has multiple blocks" (with the partial block message being changed to "Partially blocked" to prevent confusion). OutsideNormality (talk) 04:45, 11 July 2025 (UTC)
Popup persists with unwanted tool links when offline
I edit on a Personal Wiki. Using Gadget:Navigation Popup; I hover over a link while disconnected from internet access.
Under these conditions; I get a popup as expected. Additionally; the popup displays unwanted links to tool menu items like; What link here. The popup with unwanted links persist when I cease to hover.
If I refresh the page; the unwanted popup ends.
If I toggle on internet access and refresh the page and hover again; the popup displays and ends properly and the unwanted links do not appear.
Is there a way to eliminate the persistence of the popup and the unwanted links from the popup while browsing a wiki offline?
- Environment: Windows 11 - XAMPP
- Browser: Chrome
- MediaWiki: 1.41.5
- PHP: 8.2.12
- MariaDB: 10.4.32
- PageImages
- Previews
- TextExtracts
- Semantic MediaWiki: 4.2.0
- Semantic Result Formats: 4.2.1
- Semantic Cite: 3.0.0
Thank you AKSHA (talk) 16:53, 25 August 2025 (UTC)
- @AKSHA: Do you get any error messages? —Tacsipacsi (talk) 12:30, 25 October 2025 (UTC)
Feature request: Show larger version of image on click with "sizetoggle"
Disambig popups
Is this the feature that creates the simple, right-floated popup box that appears when you try to link a string that is a disambig page? The poup starts out, 'Would you like to make this link more specific?' To view an example, edit or reply to this section, and start typing [[Mercury]], and watch what happens when you reach the second closing bracket. If not, do you know what tool does this popup? I am looking for more information about it. Mathglot (talk) 22:24, 2 September 2025 (UTC)
- Nope, that isn't this one. Based on "disambiguator-review-link" being in the HTML for the popup, looks like you're talking about mw:Extension:Disambiguator#Features. –Novem Linguae (talk) 23:00, 2 September 2025 (UTC)
Feature request: Support quick view/actions on *current* page
Presently, Navigation popups support quickly checking on iterated/nesting mouseover inspection, everything from page "History" and "What links here", to user home & talk pages and contribution logs. The convenient mouseover iterative deepening exploration works for any page (linked to in rendered output) but excludes the present page loaded. Let's support Navigation popups mouseover of the title, or the edit button at pagetop (and on optionally enabled per-section edit boxes -- so it's always in easy reach.) How feasible would this change be? And concerns? Shall I draft a change? Mcint (talk) 03:38, 15 September 2025 (UTC)
- I already did that on plwiki. It's quite easy - just allow users to hook into popups and add any number of extra things to view. Like the history button or read button/tab or whatever else you want. It works nice. Never had problems with it. You want a diff to merge? Nux (talk) 07:42, 15 September 2025 (UTC)
or the edit button at pagetop
– doesn’tpopupOnlyArticleLinksdo exactly this? It doesn’t seem to work on section edit links, but it does work in the table of contents, so it’s always at reach if you use the default desktop skin. (Speaking of user pages and user talk pages, it even works on the user page, talk page and contribs links in the top right personal toolbar.) —Tacsipacsi (talk) 12:27, 25 October 2025 (UTC)- I found out about
window.popupOnlyArticleLinks = false;really late after almost ten years. It's super useful! Even I used to think all this while, that it would be a good feature request. Ugog Nizdast (talk) 06:02, 1 March 2026 (UTC)
- I found out about
Is there a way to selectively enable navigation popups for different types of links?
this seems like a useful tool but it doesn't exactly work the way i want by default. i would like the regular page previews to show up when i hover over a link to an article and the navigation popup to appear for basically everything else (notes, references, portals, projects, etc), or at least an easy way to switch between the two. is there a setting or plugin that does this? WikiLinuz asked a similar question in 2023 but got no answer. LARAUJO (talk) 23:47, 23 November 2025 (UTC)
minor feature request - handheld devices - close button
The popups are hard to close on handheld devices. I would suggest adding an 'X' close button. It could be useful on dekstop too.
Invalid preview of history with empty summaries
This edit request to MediaWiki:Gadget-navpop.css has been answered. Set the |answered= parameter to no to reactivate your request. |
Please add a fix for history preview: https://pl.wikipedia.org/w/index.php?title=MediaWiki%3AGadget-Popups.css&diff=79310281&oldid=prev
| − | + | /*
Important for history preview when summaries are all empty;
e.g. https://en.wikipedia.org/w/index.php?title=User:GWicke/sw.js
The path is:
.popupPreview > table > tbody > tr:is(.popup_history_row_odd, .popup_history_row_even)*/.popupPreview > table,.popupPreview > table > tbody {
display: block;}.popup_history_row_odd,
.popup_history_row_even {
display: flex;
} |
Example in User:Nux/test/popups/history (the first link, hover on it → actions → history). I'm not using the enwiki gadget daily, but I did check on my other account that enwiki gadget is affected by the problem. Also this is loaded on meta so the problem would be visible on meta too. Nux (talk) 13:54, 14 March 2026 (UTC)
Done. Diff. –Novem Linguae (talk) 17:53, 14 March 2026 (UTC)
Bug with page titles containing a percent sign
Such as 107% rule. When I mouse over that link, the content of the popup is not the article text, but a JSON error message from the API indicating a bad title with invalid characters, and the title within the popup displays as 107%25 rule, which is linked to https://en.wikipedia.org/w/index.php?title=107%2525_rule which returns a MediaWiki error page ("Bad title").
For the WP:JSERROR "info to include": Vector 2022, Firefox 152.0.4, Windows 11, no errors in the browser console, and yes I've bypassed my cache, though it would seem weird for any of that to matter (but I've seen weirder bugs in my time in software engineering, soooooo.....). jcgoble3 (talk) 08:56, 6 July 2026 (UTC)
