Talk:Page Previews

Jump to navigation Jump to search

About this board

Page Previews solves the core problem of users opening multiple tabs to gain an understanding of a word in the context of the subject they are reading. Whenever a reader hovers over a link to another article, a short summary of the subject, including its graphical image, is provided to them so they can decide whether they need to visit that subject more fully before continuing the current subject.

Please give us feedback on your experience using this feature so we can change and improve it. Each language is welcome in this discussion!

You can read more about the feature here.

Known Issues

Preview image selected on Wikivoyage

Traveler100 (talkcontribs)

Can the logic of which image is selected be controlled? What is the current logic for preview image selection? In English Wikivoyage it is taking the first image given in a listing template. This may be the first point of interest in the See section but more often than not will be the airport or train station in the Get in section, or even the tourist information office in Understand section. Would be better if it used the first image on the page or the Wikidata image, or even cropped version of the page banned. To see example go to region pages for Ohrid or Frankfurt. (talkcontribs)
Reply to "Preview image selected on Wikivoyage"
Hddty. (talkcontribs)

For example if you preview "United States", that triangle that point to the link make the flag/image not center. I think it should be removed

Reply to "Suggestion"

Page previews & SRF datatables format

Sochin67 (talkcontribs)

Dear all,

not sure whether this has been discussed already - but obviously page previews are not working in a result table of SRF datatables format.

Is this a known issue or am I doing something wrong?

MediaWiki: 1.31.0

PHP: 7.1.19-nmm1 (fpm-fcgi)

MySQL: 5.7.21-nmm1-log

Many thanks!

Loman87 (talkcontribs)

Hi, I am facing the same issue, do you have any updates?



Reply to "Page previews & SRF datatables format"
Baratiiman (talkcontribs)
Reply to "permanent preview picture"

Restoring default settings turns it off for new users

Kyykaarme (talkcontribs)

This feature is on by default for new users, but if the user clicks the "Restore all default settings (in all sections)" link, it actually turns the feature off. I don't know if this is intended behaviour but I just noticed it and thought I'd mention it.

TheDJ (talkcontribs)
Reply to "Restoring default settings turns it off for new users"

Problematic image previews on election page suggesting a potentially wider problem

Summary by Alsee (talkcontribs)

The preview for this page: (can be previewed from "Next" on this page for example:,_2017)

shows an image of a leader of one specific political party. It is problematic for the preview to show one leader over another in an electoral race that has not begun and and is not decided. Presumably there are similar instances of electoral decisions or democratic debates where the image should be carefully moderated to avoid associating the Wiki article with one or other side or prejudicing the impression of the page before it is opened.

Alsee (talkcontribs)

There is a Phabricator task to allow more control over what image (if any) is selected, however I don't believe there is currently any way to directly control this.

I have moved the infobox and all of the images out of the lead section. It's a pretty crappy workaround, but it should fix the problem for this article for the moment. Other articles are going to run into the same problem though. (talkcontribs)

Cool, I noticed your edit. Is there a way to bring this issue to wider attention? I think it is something that will be manipulated.

Alsee (talkcontribs)

Already done :)

I posted the issue to English Village Pump. It will get plenty of attention there. However this is really a global issue. Getting the message out to other languages wouldn't be easy.

Reply to "Problematic image previews on election page suggesting a potentially wider problem"
2A00:23C4:198F:7F00:193D:EB65:3608:F726 (talkcontribs)

Page Preview is completely broken on an iOS device where it won't go away and even when it works as expected it's distracting, covers up what I'm reading and depending on how link laden the page is I have to be very careful how I scroll to avoid distraction.

I appreciate there is a way to disable it but it requires disabling it on all devices. If you at least have away to set it to disabled via a URL parameter then that will make it easier to share across multiple devices and it's a non-issue if the cookie eventually gets expired or culled.

Reply to "Broken and distracting" (talkcontribs)

You have the answer for everyone right there in Reference Tips. You allow THE USER to decide how they want to interact. They can choose to Hover or Click.

Page Preview you give the user no choice - it's either off or on.


I hate them. It's the most intrusive reading experience I've ever had on any web page. And how do you turn it off? By interacting with the very thing you want to go away. Just terrible.

Again. Why? Why can't I have the ability to click on it if I do want to use it?

Reply to "Hovering/Clicking"
Salgo60 (talkcontribs)

I am working together with a vendor of a Swedish genealogy software to integrate Wiki context see Task T204229 and prototype (see is there any good code sample of previews of Wiki content done on e.g. jsfiddler/github....

TheDJ (talkcontribs)
Salgo60 (talkcontribs)

Excellent I have started to play around using Jquery and searching in Wikipedia... and have presented that for some people so all ideas are welcome...

All advice are welcome. I feel a little bit scare to use "mouse over" and performance "cost"....

Reply to "External previews" (talkcontribs)

I had to write to a friend of mine who works for Wikipedia to share my enthusiastic support for the new page preview feature--what a fabulous (albeit slightly ADD) addition to an already amazing learning tool. He pointed me to the page explaining how much thought you put into this, and detailing how aware you are already of "rabbit-hole"-style learning. The visuals in pop-ups are especially great and aid in the contextual flow of learning, making a visit to any topic a potential adventure in learning that's actually even more fun and probably really effective from an educational point of view. As a parent of a young son who will likely be surfing Wikipedia pretty soon, my sincere thanks for caring enough about effective learning and helping to make the pursuit of knowledge an entertaining, self-guided interactive adventure.

-Tom Sturm

Easthampton, MA

TheDJ (talkcontribs)

Thank you for your words (talkcontribs)

You're welcome! Thanks for putting in the thought & labor.

Reply to "Brilliant. Kudos to Wikifolk"