Extension talk:CollapsibleVector

About this board

Stopped working with MediaWiki update

1
Fanra (talkcontribs)

Updated MediaWiki to 1.41.0. Skin: Vector legacy (2010). CollapsibleVector: 0.1.11 (cfc607b) 22:58, 4 February 2024

I cannot get ColappsibleVector to work. It used to work. Wiki is at: https://everquest.fanra.info.

CollapsibleVector works on my other wiki at https://it.fanra.info with MediaWiki 1.39.3. I plan to update that wiki to latest MediaWiki but am keeping it now just to see why CollapsibleVector stopped working, although I am stumped.

If anyone has any help to get CollapsibleVector working or some other way to collapse part of the Main Menu / Navigation it would be appreciated.

Reply to "Stopped working with MediaWiki update"
AhiruRat (talkcontribs)

Is there a way to disable the ability to click to expand/hide for mobile users (screen max width 999px), perhaps using custom js?

Reply to "Disable on mobile"
Raintek (talkcontribs)

Hello,

I have globally enabled CollapsibleVector but it seems not to work properly. Is there any tutorial?

Reply to "Tutorial/Help"

Tutorial and example?

1
93.173.80.16 (talkcontribs)

Is there any tutorial on how to actually use this extension, perhaps with a simple example?

There's nothing in the extension page or git

Reply to "Tutorial and example?"
Role-end (talkcontribs)

Hello,

I've updated my mediawiki to 1.39 and also the extension. The arrows are shown but the sections are not collapsible. Section headers are grey and not clickable.

For my user everything is expanded but for others most of the sections are collapsed.

Should the extension work with 1.39 and how is the support of Vector-2022?


Thanks

KangarooRambo (talkcontribs)

I'm having the same issue on MW 1.39.

Paladox (talkcontribs)
2A02:8070:629A:ED00:C111:B20E:44BE:909B (talkcontribs)

Thank you for your work! It's great.

Can i insert thin lines above the main headings? like on this page:

waveshare.com/wiki/Main_Page

Reply to "Lines"

Icons to expand and collapse do not show in MW 1.35

4
Ken Roy (talkcontribs)

The right-arrow and down-arrow icons do not show in MediaWiki 1.35 with the Vector skin that is packaged with MW 1.35


I fixed it by using the Vector skin from MW 1.34 - see Topic:Vylqwkx9geua4l7v


Maybe something changed in the Vector skin for MW 1.35 that requires a change in this 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,

Unfortunately, your above suggested workaround does not fix the problem on my site.

Adding

.emptyPortlet { display: block; }

as recommended in Topic:Vwvqspp30cgb7olc

Almost fixes it but then the Portlet for the LanguageSelector still does not show. Since I want both the CategoryTree portlet and the LanguageSelector portlet in my sidebar, I reverted back to using the Vector skin from MW 1.34

Additionally your css shows errors in the MW 1.35 editor

2003:C2:3F22:8200:D16E:B992:4D44:9320 (talkcontribs)

Howdy,

the above shown workarounds do solve the problem for our wiki ... partially. The triangle icons are shown on all article pages in all namespaces, also on all special pages. But, they are gone in the user preferences. Would be nice if someone could check why. Not urgent, of course, but I hope someday ...

Kind regards, K.

Reply to "Icons to expand and collapse do not show in MW 1.35"

Disable the CollapsibleVector feature for anonymous users

1
Spas.Z.Spasov (talkcontribs)

I was in need to disable the CollapsibleVector feature for anonymous users. I've played with the two configuration options mentioned in the extension's page with no success in order to accomplish this task. Finally I decided to add a third option that can be controlled via LocalSettings.php:

$wgCollapsibleVectorFeatures['collapsiblenav']['anonymous'] = false;

Here is the patch, and the relevant instructions: https://gist.github.com/pa4080/0e7770dfb497f6ed543c8be8110c0b66

I think it is useful option and probably it could be added in the next release of the extension.

Reply to "Disable the CollapsibleVector feature for anonymous users"

Why isn't this integrated into Skin:Vector?

2
Calvinkulit (talkcontribs)

I feel like this should be integrated into that skin.

Paladox (talkcontribs)

It was once part of Vector, but then was removed (hence why this extension was created :)).

Reply to "Why isn't this integrated into Skin:Vector?"
Spas.Z.Spasov (talkcontribs)

Recently I switched my MediaWiki from branch REL1_30 to REL1_31. Today I noticed I can't expand the collapsed items in the sidebar menu. To solve this I switched Extension:CollapsibleVector back to REL1_30, while MW and the other extensions are on REL1_31. Currently this working for me, but it is ugly solution.

Does this behaviour is a bug or some additional settings could be applied?

2A00:8A60:1:F0:DD8D:2165:F1B:F391 (talkcontribs)

Same Problem here and the suggested fix worked as well

Paladox (talkcontribs)