Page MenuHomePhabricator

Escaping of retrievedfrom message broke AutoNav on every page on Wikibooks
Closed, ResolvedPublic

Description

Apparently now the MediaWiki:Retrievedfrom is being escaped, and this breaks the automatic navigation feature on Portuguese Wikibooks:
https://pt.wikibooks.org/w/index.php?title=MediaWiki:Retrievedfrom&oldid=251794&action=edit
Instead of the previous/next links for the chapters of our books, the readers now see a HTML string such as

<div class="printonly">Retrieved from "https://pt.wikibooks.org/w/index.php?title=SomeBook/SomeChapter&oldid=123456"</div>

That is the workaround for T17073: Create a way for handling meta-organization of books (which is a small piece of T17071: Wikibooks/Wikisource needs means to associate separate pages with books).

Event Timeline

He7d3r created this task.Jan 20 2015, 9:44 PM
He7d3r raised the priority of this task from to High.
He7d3r updated the task description. (Show Details)
He7d3r added a project: Regression.
He7d3r added subscribers: He7d3r, raylton.sousa.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJan 20 2015, 9:44 PM

Can we find a better solution for you. Same as in, T86702, we can probably use full wikitext parser here and apologize though.

Yeah, probably parsing as wikitext is enough. We will just need to update our b:pt:Template:Navegação automática.

gerritbot added a subscriber: gerritbot.

Change 191333 had a related patch set uploaded (by Whym):
Passe "retrievedfrom" and "lastmodifiedat"

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

Patch-For-Review

Change 191333 merged by jenkins-bot:
Parse "retrievedfrom" and "lastmodifiedat"

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

Umherirrender closed this task as Resolved.Feb 18 2015, 6:48 PM
Umherirrender claimed this task.

Fix will be part of MediaWiki1.25wmf18, see https://www.mediawiki.org/wiki/MediaWiki_1.25/Roadmap for the timeline

Umherirrender set Security to None.