Extension talk:Popups/2017
Add topicThis 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. |
Popups not for user pages?
[edit]The Popups extension works for the Main Page link, but not when I link to a User Page on the main page. Doesn't it work for User page? I thought it would be excellent for players to see they've got the correct user/character link.
If it is supposed to work, can I somehow get it to work? I've disabled the experiment and I'm not running BetaFeatures
Thanks! IlseMul (talk) 12:09, 5 June 2017 (UTC)
- By default the extension uses the `wgContentNamespaces` config variable to decide what to show a card for. Is the user page included in that variable in the case of your wiki? Prtksxna (talk) 10:14, 10 July 2017 (UTC)
Few bugs
[edit]1) I click on the link (the window pops up), I open the link in a new tab. I switch back to the previous tab, the link is still selected, and the window pops up again.
2) If a page has a title at the beginning (there is no text before it), then only three points (...) are written in the pop-up window
3) It is not clear how to preview images from the page. I somehow do not have many, although there are pictures on the page. Aka sektor (talk) 10:13, 29 October 2017 (UTC)
how to enable popups in default
[edit]when i just install popups, guest will show the popups but log-ined user wont show
when i add 「
wfLoadExtension( 'BetaFeatures' );
$wgPopupsBetaFeature = true;
」
log-ined user need to enable the popups by them.
and guest wont show popups.
is it possible to make it enable for guest and log-ined user in default. Zeteticl (talk) 12:07, 4 December 2017 (UTC)
- Looking at the configuration options in extension.json (Thanks @Tgr (WMF) it looks like you'll want to turn off the Beta feature settings (as it won't be a beta feature anymore! Then enable it in preferences and as default (I think I have these settings correct).
- $wgPopupsBetaFeature = false;
- $wgPopupsHideOptInOnPreferencesPage = true;
- $wgPopupsOptInDefaultState = 1;
- https://github.com/wikimedia/mediawiki-extensions-Popups/blob/master/extension.json#L59-L64 CKoerner (WMF) (talk) 15:33, 11 December 2017 (UTC)
- There's a colon ":" after the "false" setting for "$wgPopusBetaFeature. Should be a semi-colon ";" 24.248.254.194 (talk) 22:42, 12 December 2017 (UTC)
- Fixed! :) CKoerner (WMF) (talk) 16:58, 13 December 2017 (UTC)
Section Link Display
[edit]Is it possible to display a specific section, I'd like to have a link like: Mypage#Plants and display the text just under that heading/section.
Or may be there is a workaround for this.
Thank you!!
Javier H. 200.14.107.29 (talk) 21:12, 7 December 2017 (UTC)
- That feature-request is tracked at phab:T102280. Currently there is not a workaround. Thanks for the question/feedback. :) Quiddity (WMF) (talk) 20:00, 12 December 2017 (UTC)
Will popups work within a wiki-family/farm?
[edit]Wiki-1 is a dictionary and Wiki-2 is a collection of government documents in plain text. Both Wiki-1 and Wiki-2 run on a single version of MediaWiki, but use different databases (traditional wiki-family installation).
Will the popups extension work on Wiki-2 against lookup on Wiki-1?
(the wiki-family setup is a thought scenario which I consider)
Thanks Pretor~nowiki (talk) 13:50, 14 December 2017 (UTC)
- I don't see why not. As long as the the dependencies are installed and wikis API endpoints are accessible to one another I believe it will work. Popups relies on Extension:TextExtacts, which provides an API to query the preview text. @Jdlrobson, can you please confirm? CKoerner (WMF) (talk) 15:46, 14 December 2017 (UTC)