Extension talk:Popups/2016
This page used the Structured Discussions extension to give structured discussions. It has since been converted to wikitext, so the content and history here are only an approximation of what was actually displayed at the time these comments were made. |
Does Popups also display special pages?
editRESOLVED | |
They aren't displayed for Special and Category pages, but they are shown on them. |
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
I've the impression that Popups are not displayed on Special pages, such as Category.
Is this correct? EFFemeer (talk) 13:44, 21 January 2016 (UTC)
- They aren't displayed for Special and Category pages, but they are shown on them. For example, you should be able to see Popups on:
- Special:RecentChanges https://en.wikipedia.org/wiki/Special:RecentChanges
- Category:Cell biology https://en.wikipedia.org/wiki/Category:Cell_biology Prtksxna (talk) 01:48, 25 January 2016 (UTC)
Recommend use of wfLoadExtension
editRESOLVED | |
Thanks for pointing this out. I've updated the installation instructions now. |
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Since Phab:T87961 is resolved it should be recommended to use "wfLoadExtension" instead of "require_once" on the front page?! Since I'm quite new to this I won't change it myself, but it works fine here for me. ;) Mirer (talk) 20:55, 3 March 2016 (UTC)
Popups won't show
editThe following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
I did everything from the Install instructions - Installed TextExtract, PageImages, EventLogging, Popups. Configured everything, but i can't see any popups. I use mediawiki 1.26 LTM666 (talk) 13:28, 4 March 2016 (UTC)
- I just updated the installation instructions for newer versions of Mediawiki. Could you please try those and let me know if they worked for you? Prtksxna (talk) 00:22, 6 April 2016 (UTC)
- Thanks it works now! LTM666 (talk) 06:12, 14 June 2016 (UTC)
Popups still won't show
editI also did everything from instructions:
1) Installed TextExtract, PageImages, Popups, BetaFeatures
2) Added to LocalSettings
wfLoadExtension( 'BetaFeatures' );
$wgPopupsBetaFeature = true;
require_once "$IP/extensions/PageImages/PageImages.php";
wfLoadExtension( 'TextExtracts' );
wfLoadExtension( 'Popups' );
3) Checked API endpoints for TextExtract and PageImages - all works. Examples:
and
4) Enabled Popups in BetaFeatures
5) Ran update script
6) Checked Special:Version - extensions installed
But Popups still won't show. Okolobaxa (talk) 19:30, 30 June 2016 (UTC)
- Did you turn off Navigation popups? Infovarius (talk) 13:51, 5 July 2016 (UTC)
- Yes, this gadget isn't installed Okolobaxa (talk) 07:27, 4 January 2017 (UTC)
- Same. Installed everything using MediaWiki 1.28.0 and it's not working. 176.199.41.215 (talk) 15:47, 12 January 2017 (UTC)
- try $wgBetaFeaturesWhitelist= array('popups'); Karlpietsch (talk) 03:44, 31 January 2017 (UTC)
- On our MW 1.27.1 fresh installation with no other extensions invoked, I installed Popups and dependencies, and Popups worked briefly, then for no apparent reason stopped working. Just to add to the fray of others who are experiencing tech difficulties with this extension.
- MediaWiki 1.27.1
- PHP 5.6.30 (cgi-fcgi)
- MySQL 5.6.23-cll-lve
- ICU 50.1.2 John Morris (talk) 12:25, 23 February 2017 (UTC)
- Yes, I experienced similar behavior. They worked for a day or so, and then they didn't work anymore. Kira Resari (talk) 10:21, 6 January 2023 (UTC)
- my problem was that i put this:
- $wgPopupsOptInDefaultState = 1;
- instead of this:
- $wgPopupsOptInDefaultState = '1';
- After changing that it works Mishter Jingles (talk) 10:20, 13 February 2018 (UTC)
Wikidata items + Drop-down menus
editPopups from extension are working on Wikidata items (with the help of gadget "fix Popups for items"). W:Wikipedia:Tools/Navigation popups have some convenient drop-down menus, but don't support items. Can they features be joined in some gadget/extension? Infovarius (talk) 13:54, 5 July 2016 (UTC)
Popups Containing Text and Image Below the First Header? Is it Possible?
editPrtksxna, an awesome application, thanks for all your hard work on this one. Is there a way to configure Popups to render a block of text and an image for content below the first header? At this time popup only works I believe for text that is above the first header as "intro text".
But some wiki's may not use intro text in our pages. Can Popups render content below the header? Thanks!
John John Morris (talk) 04:14, 11 August 2016 (UTC)
- If you mean to ask if there is a way to have a Popup for a section heading, then sadly that is not possible at the moment. TextExtracts, the extension that is used to get an excerpt for the Popup doesn't yet support excerpts for a certain heading. You can follow these issues on Phab:T65792 and Phab:T138607.
- If you mean to ask if there is a way to define the image and excerpt using a template, similar to Extension:RelatedArticles, then (again) sadly no. But it seems like a good idea, at least to me. I could not find a Phabricator task that suggests this, would you be comfortable raising an issue?
- PS: I am not actively working on this. The recent developments have been the hard work of the Reading team :) Prtksxna (talk) 08:13, 16 August 2016 (UTC)
Popups not displaying
editSimilar to other users commenting, I've installed all 4 extensions for good measure, database updated a few times, enabled the feature by default and in my personal preferences but I can't see any popups. What am I missing?
https://hpluspedia.org Deku-shrub (talk) 12:00, 29 August 2016 (UTC)
Extension:Translate compatibility?
editPages where the description is marked for translation will show <translate> on the popup and no popup is shown with pages that have a localized link [[Special:MyLanguage/Page]]</nowiki>
Is there any way to still have it work with the localized pages? 84.31.55.72 (talk) 14:36, 10 September 2016 (UTC)
- Hmm, I found 1 that did what you said, in the link to Manual:Configuration (screenshot)
- But the link to How does MediaWiki work?/it works fine, so I think it's just a problem with the translation markup on certain pages? I can't determine what exactly is going wrong at the first example. What page(s) are you seeing it at?
- Re: Special:MyLanguage links, I see those don't work with Navpopups either. I don't think it's possible but just in case I've filed it as phab:T145541. Thanks! Quiddity (WMF) (talk) 17:25, 13 September 2016 (UTC)
Popups with other pages
editI 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). VictorPorton (talk) 13:52, 24 December 2016 (UTC)
- Note that B:X is a short page, it should be displayed in the popup completely (not just its announce or description). VictorPorton (talk) 13:54, 24 December 2016 (UTC)
- 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. VictorPorton (talk) 14:48, 24 December 2016 (UTC)