Page MenuHomePhabricator

CX2: Infoboxes missing in source article
Closed, ResolvedPublic


Many pages are missing the infobox in the first section. The problem is there for about a month now. Here is one example:

cx2-infobox-missing.png (938×1 px, 73 KB)

Event Timeline

In cxserver we are removing sections with class nomobile and noprint. We have this assumption that the elements with these classes are unrelated to the content and not translatable. Most of the time, these classes are present for the notices, and such meta content. Either our assumption is wrong or the Templates has this class unintentionally.

Here is the html mark up for the Infobox Settlement in the example en:Virovitica

<div class="shortdescription nomobile noexcerpt noprint searchaux" style="display:none" about="#mwt3" typeof="mw:Transclusion" data-mw='{"parts":[{"template":{"target":{"wt":"Infobox Settlement\n............

Change 458780 had a related patch set uploaded (by Santhosh; owner: Santhosh):
[mediawiki/services/cxserver@master] Rewrite the section-wrap logic

Change 458780 merged by jenkins-bot:
[mediawiki/services/cxserver@master] Rewrite the section-wrap logic

Checked en:Virovitica in cx2 - the infobox is displayed in the source article but there are few display deficiencies when comparing to cx1: the infobox is stretched, the source displays the outlined fields etc

Screen Shot 2018-09-13 at 9.19.17 AM.png (730×899 px, 236 KB)
Screen Shot 2018-09-13 at 9.19.31 AM.png (742×908 px, 132 KB)
Screen Shot 2018-09-13 at 9.20.09 AM.png (648×854 px, 195 KB)
Screen Shot 2018-09-13 at 9.19.54 AM.png (694×854 px, 177 KB)

Another example of an article with the same template - en: Čakovec

@santhosh, @Pginer-WMF - I filed two additional tickets - T204285: CX2: Infobox displays ve-ce- elements added to source article and T204286: CX2: Infobox template displayed incorrectly in source article.

Stashbot subscribed.

Mentioned in SAL (#wikimedia-operations) [2018-09-24T04:10:54Z] <kartik@deploy1001> Started deploy [cxserver/deploy@3e2d668]: Update cxserver to d913793 (T203551, T203780, T202716, T203947)

Mentioned in SAL (#wikimedia-operations) [2018-09-24T04:15:13Z] <kartik@deploy1001> Finished deploy [cxserver/deploy@3e2d668]: Update cxserver to d913793 (T203551, T203780, T202716, T203947) (duration: 04m 20s)