Talk:Page Previews/2020
Add topic| 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. |
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
- All issues with potential work attached to them tracked here: https://phabricator.wikimedia.org/project/view/765/
Empty page Previews
[edit]I am getting empty page previews if page starts from a heading. Is there any way to resolve it? 39.53.66.173 (talk) 16:32, 1 January 2020 (UTC)
- Can you give an example where starting from a heading is a good idea? Bdijkstra (talk) 21:04, 3 January 2020 (UTC)
- Let me give you an example. Every research article begins from an "Abstract". In academia, abstracts are compulsory. I want to publish a journal on mediawiki. Therefore, every article in my wiki will start from an "Abstract". 39.53.187.80 (talk) 06:29, 5 January 2020 (UTC)
- Hi there, I am having a similar issue. Can someone please help to resolve this? All my pages with a Header serving as the title show "..." in the preview instead of the article content. The only way I have been able to fix this, is to remove the header. I would rather not do this though- any suggestions? 131.104.23.215 (talk) 19:56, 10 February 2020 (UTC)
Preview shows template code
[edit]I noticed that the preview card for w:en:Bohol displays the markup of the infobox template rather than the first sentence(s) of the article proper. Aside from the infobox contents including a relatively large number of sub-templates, I'm not immediately seeing anything too far out of the ordinary. I didn't want to try troubleshooting by testing on the live article, and I thought I'd check for answers here before taking this to a sandbox. Anyone have a sense of what's broken? Cheers. —jameslucas ▄▄▄ ▄ ▄▄▄ ▄▄▄ ▄ 01:31, 15 March 2020 (UTC)
- Confirmed bug. Screenshot: https://i.postimg.cc/K8v834tg/image.png
- Find a link to [[Bohol]] in the first sentence at w:en:Tagbilaran to test it.
- I can't see what is wrong, either. @Niedzielski perhaps you can tell? Quiddity (WMF) (talk) 21:06, 18 March 2020 (UTC)
- The template is in the page previews summary endpoint response, no surprise. It's my understanding that the summary endpoint uses Parsoid and it's in that too. I manually bisected the article's diffs (being mindful of possible caching and purging concerns) to see when it occurred and was able to narrow it down some, I think. My guess is T197523 which I've left a comment on. If you think it's a priority and you agree with the assessment, please consider awarding the task a token. Niedzielski (talk) 23:41, 18 March 2020 (UTC)
Preview text too short (user feedback from en-wp Help Desk)
[edit][https://en.wikipedia.org/w/index.php?title=Wikipedia:Help_desk&oldid=945998562#New_page_preview_system Original post]. The complaint says (in summary) that the preview text will often look like "Foo is a game published in YEAR_I_DONT_CARE by COMPANY_I_DONT_CARE on PLATFORMS_I_DONT_CARE (...)" and so the information they want (summary of game story, etc.) is below the fold. There is not much we can do on the Wikipedia side unless we change radically how the lead is written, but maybe the settings (which currently contain only a activate/disable switch) could include a "max length of preview" setting. (I am not saying it is easy especially across various displays, I am just saying that some could find it useful, at the very least the person who complained.) Tigraan (talk) 14:55, 17 March 2020 (UTC)
Page preview for institutionalized racism
[edit]I was browsing and noticed the page preview for institutionalized racism is currently fairly offensive and racist but I don't know how to go about editing it. 174.82.109.48 (talk) 09:30, 21 June 2020 (UTC)
- Page previews are derived from the opening content of the pages they point to. I have seen, but been unable to track down, caching issues where the preview shown is for an older page revision. This is especially problematic for vandalized revisions. These caching issues are usually resolvable by manually purging the cache for the given page. E.g., https://en.wikipedia.org/w/index.php?title=Institutional_racism&action=purge Niedzielski (talk) 22:54, 21 June 2020 (UTC)
Help - Cannot enable Page Previews on my wiki
[edit]I just updated my mediawiki from 1.30 to 1.34 (including database upgrade and PHP version upgrade) specially for this extension. I did check if the dependencies mentioned on the extension's page are enabled and installed (one was commented out). Checked Preferences - no option to turn it on/off. I've added lines proposed on the extension's page to LocalSettings.php (not sure if in the correct place as I know nothing about php):
wfLoadExtensions([
'TextExtracts',
'PageImages',
'Popups'
]);
$wgPopupsHideOptInOnPreferencesPage = true;
$wgPopupsOptInDefaultState = '1';
$wgPopupsReferencePreviewsBetaFeature = false;
Page Previews do not appear. What to do?
Here's the wiki - wiki.mrowki dot ovh 178.235.2.148 (talk) 22:15, 31 July 2020 (UTC)
- Somehow it started working on its own. This is probably the only translated Extension name on my Specia:Version list... (I can't ask "why?" enough).
- The next problem is, popups do not display images (its a white rectangle space instead of an image). Most of my pages have images put in infoboxes made of HTML code, not sure if this does break things. Is there a way to hide images? 178.235.2.148 (talk) 23:16, 31 July 2020 (UTC)