Topic on Project:Support desk

MediaWiki:Sidebar toggle icon issue

11
Ken Roy (talkcontribs)

I upgraded MediaWiki 1.27.3 to 1.35 on a test system and have been struggling to figure out why the toggle icons no longer showed and why the Category Tree no longer showed in the sidebar


I regressed the Vector Skin to that provided in MediaWiki 1.34 and both now work.


Some incompatible change was likely made in the Vector skin version between 1.34 and 1.35. Posting this here in case it might help someone else in their upgrade and in the hope that the MediaWiki developers can investigate why the toggle icons no longer display in the sidebar using the Vector skin and why the categorytree-portlet is not displayed after upgrading to MW 1.35

Bawolff (talkcontribs)

i think collapsible sidebars got removed because people thought it gave the impression that the site loaded slowly.

Dont know about cattree, that should still work afaik

Ken Roy (talkcontribs)

Thanks Bawolff

The MediaWiki:Sidebar still collapses or expands but no icons are displayed

I tried all the entries I found on getting the CategoryTree to display in the sidebar as a portlet but none of them worked until I renamed the Vector skin folder and installed the Vector skin from MediaWiki 1.34

Ken Roy (talkcontribs)

I forgot to mention that I am using Extension:CollapsibleVector to collapse the sidebar

As far as I know the Vector skin provided the toggle icons, It that is not the case, why would reverting to the 1.34 Vector skin resolve my problem

Bawolff (talkcontribs)

by toggle do you mean the icon to collapse/uncollapse or something else?

Ken Roy (talkcontribs)

Yes, that is what I mean

Ken Roy (talkcontribs)
Ken Roy (talkcontribs)

I just upgraded to MW 1.35.1 and this remains an issue.

Again had to use the Vector skin from MW 1.34 in order to the collapse/uncollapse icons to be displayed by the CollapsibleVector extension

T0lk (talkcontribs)

I put this in MediaWiki:Vector.css to get it working in 1.35:

.portal h3, .vector-menu-portal h3 {
	background-size: auto !important;
}

the problem seems to come from: h3{ background-size: 100% @border-width-base; in skins/Vector/resources/skins.vector.styles/MenuPortal.less

Ken Roy (talkcontribs)

Thanks T01k,

That addition to the MediaWiki:Vector.css does resolve the collapse / expand icons not showing for my sidebar with the Vector skin from MW 1.34, but now the

categorytree-portlet

no longer shows in the sidebar at all.

Ken Roy (talkcontribs)
Reply to "MediaWiki:Sidebar toggle icon issue"