Page MenuHomePhabricator

“Edit” links on newly created schemas are red
Closed, ResolvedPublic

Description

Since we enabled the parser cache for schemas (T218459), the “edit” or “add schema text” links on newly created schemas are redlinks. I assume this is because MediaWiki already renders the page for the first time before it has been fully saved; if you switch to a different language, or purge the page, the links become blue.

Event Timeline

Change 497754 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Lucas Werkmeister (WMDE)):
[mediawiki/extensions/WikibaseSchema@master] Use LinkRenderer::makeKnownLink instead of ::makeLink

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

Change 497754 merged by jenkins-bot:
[mediawiki/extensions/WikibaseSchema@master] Use LinkRenderer::makeKnownLink instead of ::makeLink

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