Page MenuHomePhabricator

LivePreview: Preview of a redirect is not shown as a redirect
Closed, ResolvedPublic

Description

Steps to reproduce:

Actual Result:

  • The redirect target is shown but the arrow before is missing.

Event Timeline

Fomafix raised the priority of this task from to Medium.
Fomafix updated the task description. (Show Details)
Fomafix added a subscriber: Fomafix.
Aklapper lowered the priority of this task from Medium to Low.Dec 30 2014, 5:40 PM
Aklapper set Security to None.

Hmm. We should associate the mediawiki.action.view.redirectPage module with the redirect Content object, rather than adding it when the page is viewed.

…but we already do, in WikitextContent. Why does this not work? Huh.

The wrapping

<div class="mw-content-ltr" dir="ltr" lang="en">...</div>

is missing.

Change 182293 had a related patch set uploaded (by Gerrit Patch Uploader):
mediawiki.action.edit.preview: Wrap content preview with mw-content-*

https://gerrit.wikimedia.org/r/182293

Patch-For-Review

Change 182293 merged by jenkins-bot:
LivePreview: Wrap content preview with mw-content-*

https://gerrit.wikimedia.org/r/182293

TheDJ removed a project: Patch-For-Review.