Steps to reproduce:
- Enable LivePreview.
- Edit a redirect like https://en.wikipedia.org/w/index.php?title=Mediawiki&action=edit
- Click on Show Preview.
Actual Result:
- The redirect target is shown but the arrow before is missing.
Steps to reproduce:
Actual Result:
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
LivePreview: Wrap content preview with mw-content-* | mediawiki/core | master | +12 -13 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Invalid | None | T41272 Bugs in "Live preview" feature (tracking) | |||
Resolved | Fomafix | T85531 LivePreview: Preview of a redirect is not shown as a redirect |
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.
Change 182293 had a related patch set uploaded (by Gerrit Patch Uploader):
mediawiki.action.edit.preview: Wrap content preview with mw-content-*
Change 182293 merged by jenkins-bot:
LivePreview: Wrap content preview with mw-content-*