Page MenuHomePhabricator

Bug in Table of Contents on he.wikivoyage due to custom CSS code
Closed, InvalidPublic

Description

Author: dekeleinidekel

Description:
Hey, we have a bug in the table of contents on Hebrew Wikivoyage. Please see the table of contens here: https://he.wikivoyage.org/wiki/משתמש:ויקיג%27אנקי/טיוטה/וושינגטון_די._סי.
and here: https://en.wikivoyage.org/wiki/Washington,_D.C.

Thanks, Dekel


Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=55501

Details

Reference
bz54648

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:18 AM
bzimport set Reference to bz54648.
bzimport added a subscriber: Unknown Object (MLST).

Hi,

it's not totally clear what the bug is. That the table is not shown completely? That it does not look like on the English page (items next to each other)?
For future reference, please *describe* the bug. :)

Assuming it's the table not shown completely (as e.g. https://he.wikivoyage.org/wiki/ירושלים shows the table correctly) I take a look at HTML and CSS and compare.

Comparing משתמש:ויקיג'אנקי/טיוטה/וושינגטון_די._סי with ירושלים the latter has no <div class="hlist tocbox-b"> around the tocbox.
However, looking at the CSS at https://he.wikivoyage.org/w/index.php?title=מדיה_ויקי:Common.css and comparing it with https://en.wikivoyage.org/wiki/MediaWiki:Common.css there is for example no definition of hlist.tocbox-b.

It seems that using this banner design also implies using tocFloat.

So the changes in https://he.wikivoyage.org/w/index.php?title=מדיה_ויקי:Common.css&diff=29424&oldid=26171 are not sufficient/complete.

You can do such investigations yourself in the browser if you feel like - I used Firefox for this which has a "Inspect Element" item in the right-click menu of each element on a webpage. It allows you changing the HTML (content) and CSS (rendering) code to get an idea what's wrong.

Bugzilla is not meant for support of random custom CSS problems.
There seems to be no bug in the MediaWiki code or an extension, but the custom CSS needs to be fixed on-site.
Hence closing as INVALID - feel free to ask on a Custom CSS support page (though I don't have a good link either, sorry) or maybe contact editors of the banner design style.