Page MenuHomePhabricator

Live preview incorrectly shows transclusions that are blue links in red
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Disable live preview
  • Preview a page with content {{MediaWiki:word-separator}}
  • "Template used in this preview" shows "MediaWiki:Word-separator" in blue
  • Enable live preview
  • Preview a page with content {{MediaWiki:word-separator}}

What happens?:
"Template used in this preview" shows "MediaWiki:Word-separator" in red.

What should have happened instead?:
"Template used in this preview" shows "MediaWiki:Word-separator" in blue.

Same with a file on Commons or user page on Meta that is a blue link but does not exist as a local page. This is because the query API returns missing: true (but with known: true).

Event Timeline

Change 909394 had a related patch set uploaded (by Ammarpad; author: Ammarpad):

[mediawiki/core@master] Live Preview: Show template links for known titles in blue

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

Change 909394 merged by jenkins-bot:

[mediawiki/core@master] Live Preview: Show template links for known titles in blue

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

matmarex assigned this task to Ammarpad.