Page MenuHomePhabricator

Content from Page: namespace on wikisource not appended at SOL
Open, NormalPublic

Description

For example, the broken render at,

https://es.wikisource.org/api/rest_v1/page/html/P%C3%A1gina%3AFiguras_i_descripciones_de_aves_chilenas.djvu%2F44

is because the source Parsoid receives looks like,

<noinclude><pagequality level="3" user="Ninovolador" />{{c|28}}
{|style="font-size:90%;margin:0 auto;" width=70%
| || {{menor|Pulg.}} || {{menor|lín.}}
|-</noinclude>|Lonjitud del dedo mediano ||—|| 10½
|-

Where |Lonjitud del dedo mediano ||—|| 10½ should be preceded by a newline.

This was noted at, https://www.mediawiki.org/wiki/Topic:U4yizxwac6fnqzch

Event Timeline

Arlolra created this task.Jan 2 2018, 11:06 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJan 2 2018, 11:06 PM
Arlolra triaged this task as Normal priority.Jan 2 2018, 11:07 PM

Change 401816 had a related patch set uploaded (by Arlolra; owner: Arlolra):
[mediawiki/extensions/ProofreadPage@master] Preserve SOL context when serializing page content as wikitext

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

Worth verifying that T162935: Wikisource page is unexpectedly listed under "fostered" and T185221: Placing table syntax outside the main body of a Page: (on Wikisource) causes a stray <div> tag to be generated get resolved after the above patch is reviewed, merged, and deployed, and if necessary reopen one or the other.

ShakespeareFan00 added a comment.EditedJan 27 2018, 12:52 PM

Also noting T163073 and T185750 here.

Change 401816 abandoned by Arlolra:
Preserve SOL context when serializing page content as wikitext

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