Page MenuHomePhabricator

disambiguation page preview is not looking great after publishing
Closed, DuplicatePublicBUG REPORT

Description

  1. go on a wordpress site, search and add the sentence "first post" using the wikipedia preview plugin (select the first result)
  2. click on the preview enabled word
  3. publish the site and preview it on a new tab
  • when seen on the editor it shows like this

image.png (420×692 px, 28 KB)

  • when seen on the website after publishing it shows like this

image.png (232×600 px, 23 KB)

both views should be the same and it seems that the gutenburg editor one looks better than the current implementation

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Jpita renamed this task from disambiguation page name handling is wrong on preview to disambiguation page preview is not looking great after publishing.Oct 29 2021, 3:30 PM
Jpita updated the task description. (Show Details)

In the examples above, the first screenshot shows the standard layout with the summary of the disambiguation page, the second screenshot shows our custom treatment for disambiguation page with a generic sentence that says nothing about the subject. I prefer the first case, maybe we could get rid of the special case and let it be treated like a regular article? cc @SGautam_WMF @AMuigai

It turns out what I'm suggesting above is also the point of this task: T293594: Show disambiguation extract in preview instead of custom disambiguation view

I'll deduplicate when a decision is made.