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

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 20 2019, 11:40 AM

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

Lea_Lacroix_WMDE closed this task as Resolved.Mar 21 2019, 9:01 AM
Lea_Lacroix_WMDE moved this task from Verification to Done on the Shape Expressions Sprint 4 board.
Lea_Lacroix_WMDE added a subscriber: Lea_Lacroix_WMDE.

Now it's blue!