Page MenuHomePhabricator

mw-parser-output class breaks Wikipeech
Closed, ResolvedPublic10 Estimated Story Points

Description

IMPORTANT: Use commit 4a4021f of MediaWiki until this is fixed.

The latest vagrant upgrade also included this change which breaks certain assumptions we had made. More information about the change can be found in T37247.

Most of this will likely be fixed by not storing the utterances in the html but for the no-js fallback we need to ensure things still work.

Event Timeline

Lokal_Profil renamed this task from mw-parser-output class break Wikipeech to mw-parser-output class breaks Wikipeech.May 9 2017, 8:30 AM
Lokal_Profil triaged this task as High priority.
Lokal_Profil lowered the priority of this task from High to Medium.
Lokal_Profil created this task.
Qse24h closed this task as a duplicate of T164723: New git repository: <repo name>.
Qse24h closed this task as a duplicate of T164723: New git repository: <repo name>.
Qse24h closed this task as a duplicate of T164723: New git repository: <repo name>.
Qse24h closed this task as a duplicate of T164723: New git repository: <repo name>.
Qse24h closed this task as a duplicate of T164723: New git repository: <repo name>.
Qse24h closed this task as a duplicate of T164723: New git repository: <repo name>.
Qse24h closed this task as a duplicate of T164723: New git repository: <repo name>.
Qse24h closed this task as a duplicate of T164723: New git repository: <repo name>.
Qse24h closed this task as a duplicate of T164723: New git repository: <repo name>.
Lokal_Profil set the point value for this task to 10.

The content from the ParseAfterTidy hook is today assumed to be equivalent to mw-content-text. Need to investigate at what point mw-parser-output (which contains mw-content-text) is added. Ideally the solution should be able to deal with both the case where the new div is present and when it isn't.

A seemingly simple solution would be to change the selector when evaluating the XPath expression. This could be broken out as a config variable and hopefully won't change that often.

Change 358587 had a related patch set uploaded (by Sebastian Berlin (WMSE); owner: Sebastian Berlin (WMSE)):
[mediawiki/extensions/Wikispeech@master] Add variable for content wrapper element

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

Change 358587 merged by jenkins-bot:
[mediawiki/extensions/Wikispeech@master] Add variable for content wrapper element

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

Mentioned in SAL (#wikimedia-cloud) [2017-06-16T13:53:18Z] <Sebastian-WMSE> Deploy latest from Git master: a58b224 (T164822)