Jump to content
MediaWiki

Extension talk:CollapsibleVector

Add topic
From mediawiki.org
Latest comment: 11 months ago by Dominik Maus in topic Make CV have certain topics expanded by default?
This page used the Structured Discussions extension to give structured discussions. It has since been converted to wikitext, so the content and history here are only an approximation of what was actually displayed at the time these comments were made.

Extension's name

[edit ]
Latest comment: 10 years ago 7 comments5 people in discussion
I believe that the currently planned name is too ambiguous, since it can easily be mistaken for the Vector skin as well as the obsoleted Vector extension (yeah, this one had a very bad name, too). What about calling this one CollapsibleVectorNavigagion or CollapsibleVector or ...
Cheers [[kgh]] (talk) 09:09, 27 October 2014 (UTC) Reply
Ok I will change the name to CollapsibleVector. which would be used for things that were removed from the skin. 81.157.75.26 09:43, 27 October 2014 (UTC) Reply
Cool. Besides, thank you for recreating the possibility to collapse the navigation for Vector. This was afaik removed due to performance considerations for heavy traffic wikis but I guess there are still wikis around which could make good use of this feature. [[kgh]] (talk) 09:46, 27 October 2014 (UTC) Reply
Ok thanks for the name suggestions. Paladox2017 (talk) 09:47, 27 October 2014 (UTC) Reply
@Kghbln: what about naming the extension VectorFeatures. Or SkinFeatures. This new name would suggest that it does more then collapsiblenav. And SkinFeatures name would suggest it works with all skins but not tested on all skins only tested with vector. Paladox (talk) 14:57, 15 July 2015 (UTC) Reply
Kghbln@Kghbln bump 86.141.119.10 (talk) 23:26, 21 July 2015 (UTC) Reply
Well, if the extension is intended to work with more than one skin the name SkinFeatures would be preferable to VectorFeatures. Indeed if the extension will in future do more than just adding collapsiblenav a rename will be ok. However I suggest to keep the old entry point for a couple of REL. So far nearly 400 wikis use this extension and this would allow making the transition smoothly. However I do not know how this fits into composer or this new extension registration mechanism. [[kgh]] (talk) 15:39, 10 August 2015 (UTC) Reply

Download snapshot

[edit ]
Latest comment: 11 years ago 4 comments3 people in discussion

The snapshot to the extension is not found, is it totally removed? 131.116.254.198 11:46, 29 October 2014 (UTC) Reply

The extension is has not been removed. I have requested that the repo be created and are waiting for it to be created. It should be created soon. 151.225.136.51 12:37, 29 October 2014 (UTC) Reply
Hi the repo has been created and a patch https://gerrit.wikimedia.org/r/#/c/169787/ is waiting since i have asked for some help to do i18n. 151.225.136.51 20:01, 29 October 2014 (UTC) Reply
Hi it is now available to download. 94.197.122.89 13:42, 31 October 2014 (UTC) Reply

Description

[edit ]
Latest comment: 11 years ago 1 comment1 person in discussion

That "things that were removed from vector skin" is a bit too generic. :) It's probably better to only do one thing, and in any case to have a scope (and description) matching the name. If the scope is meant to be broad, better draw a line somewhere.

Additionally, the extension page should describe the drawbacks of the features in question and whether the bugs for which they were removed from core are fixed or still valid. Nemo 20:24, 2 November 2014 (UTC) Reply

Invalid JSON file da.json

[edit ]
Latest comment: 10 years ago 2 comments2 people in discussion

I get this error on a Danish language wiki: Exception from line 559 of /includes/cache/LocalisationCache.php: LocalisationCache::readJSONFile: Invalid JSON file: /extensions/CollapsibleVector/i18n/da.json

I can't report this bug on Phabricator. Egel (talk) 18:04, 28 November 2014 (UTC) Reply

Hi I have now fixed the problem in a patch please re download it again. And the project should now work on Phabricator https://phabricator.wikimedia.org/tag/mediawiki-extensions-collapsiblevector/ 94.197.122.76 23:21, 28 November 2014 (UTC) Reply

Preferences unticked

[edit ]
Latest comment: 10 years ago 2 comments2 people in discussion

On MW 1.24 Vector skin, with the user preference ticked or unticked, the sidebar still has items collapsible. The $wgVectorFeatures set to true or false only makes the option come and go from preferences, not enable or disable the collapsible items in the sidebar. Rob Kam (talk) 00:28, 30 November 2014 (UTC) Reply

Hi thanks for reporting this. I have reported it https://phabricator.wikimedia.org/T76314 here. 86.135.250.51 10:01, 2 December 2014 (UTC) Reply

Flickering

[edit ]
Latest comment: 8 years ago 4 comments3 people in discussion
Hi,
I have installed CollapsibleVector on my Wiki (1.24).
I noticed that the pages flicker when I open them in the browser for the first time:
first you see a fixed Sidebar (not collapsible, no triangles), after a split second the extension kicks in and the Sidebar becomes collapsible.
Is there any way to suppress the flickering and render the Sidebbar as collapsible from the very start?
It is really not very pretty and I get user complaints. Schreibhan (talk) 12:11, 13 January 2015 (UTC) Reply
Hi thanks for reporting this. I have reported it https://phabricator.wikimedia.org/T76314 here. Paladox2017 (talk) 19:14, 9 February 2015 (UTC) Reply
Has updating to 0.1.6 fix the problem for you. Paladox2017 (talk) 19:14, 9 February 2015 (UTC) Reply
Problem unfortunately still persists. Using Mediawiki 1.29 and CollapsibleVector-REL1_29-eccce79 downloaded from the project page (Extension:CollapsibleVector) 2A00:8A60:1:F0:E996:DA4F:EE7:6D9 (talk) 12:51, 22 August 2017 (UTC) Reply

Dividers missing

[edit ]
Latest comment: 8 years ago 2 comments2 people in discussion

Hello! I installed this on the latest build (1.29) but it seems the grey dividers have disappeared. They now look super fugly. Any way to fix this? Refer: https://imgur.com/a/EeioH 124.197.94.219 (talk) 14:19, 1 October 2017 (UTC) Reply

Please try https://gerrit.wikimedia.org/r/#/c/383029/ Paladox (talk) 10:57, 8 October 2017 (UTC) Reply
[edit ]
Latest comment: 7 years ago 2 comments1 person in discussion

The sidebar collapsed and gOod to see on mobile. When I edit a page, as soon as I touch edit box sidebar expanded.

What to do to make sidebar keep collapsed during edit?

Thanks in advance. Naramoksu (talk) 21:10, 11 January 2018 (UTC) Reply

FYI. It is fixed after I changed some configuration at my cellphone. Maybe configuration of phone have something to do with this extension. Naramoksu (talk) 01:52, 27 January 2018 (UTC) Reply

REL1_31 doesn't work

[edit ]
Latest comment: 7 years ago 3 comments3 people in discussion

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


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? Spas.Z.Spasov (talk) 15:02, 30 June 2018 (UTC) Reply

Same Problem here and the suggested fix worked as well 2A00:8A60:1:F0:DD8D:2165:F1B:F391 (talk) 15:03, 5 July 2018 (UTC) Reply
Fixed in https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/CollapsibleVector/+/444030/ Paladox (talk) 17:29, 5 July 2018 (UTC) Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Why isn't this integrated into Skin:Vector?

[edit ]
Latest comment: 6 years ago 2 comments2 people in discussion

I feel like this should be integrated into that skin. Calvinkulit (talk) 11:02, 5 October 2019 (UTC) Reply

It was once part of Vector, but then was removed (hence why this extension was created :)). Paladox (talk) 14:15, 20 October 2019 (UTC) Reply

Disable the CollapsibleVector feature for anonymous users

[edit ]
Latest comment: 5 years ago 1 comment1 person in discussion

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. Spas.Z.Spasov (talk) 17:09, 16 April 2020 (UTC) Reply

Icons to expand and collapse do not show in MW 1.35

[edit ]
Latest comment: 4 years ago 4 comments3 people in discussion

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 Project:Support desk/Flow/2020/11#h-MediaWiki:Sidebar_toggle_icon_issue-2020年11月28日T14:56:00.000Z


Maybe something changed in the Vector skin for MW 1.35 that requires a change in this extension. Ken Roy (talk) 22:05, 8 December 2020 (UTC) Reply

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 T0lk (talk) 04:29, 31 December 2020 (UTC) Reply
Thanks T01k,
Unfortunately, your above suggested workaround does not fix the problem on my site.
Adding
.emptyPortlet {
display: block;
}
as recommended in Extension talk:CookieWarning#h-Did_not_work_with_MW_1.35_and_Vector_Skin-2020年10月31日T18:55:00.000Z
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 Ken Roy (talk) 16:06, 31 January 2021 (UTC) Reply
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. 2003:C2:3F22:8200:D16E:B992:4D44:9320 (talk) 18:10, 16 October 2021 (UTC) Reply

Lines

[edit ]
Latest comment: 3 years ago 1 comment1 person in discussion

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 2A02:8070:629A:ED00:C111:B20E:44BE:909B (talk) 16:37, 26 December 2021 (UTC) Reply

Not working with 1.39

[edit ]
Latest comment: 2 years ago 3 comments3 people in discussion

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


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 Role-end (talk) 17:49, 5 January 2023 (UTC) Reply

I'm having the same issue on MW 1.39. KangarooRambo (talk) 14:25, 22 January 2023 (UTC) Reply
Fixed with https://gerrit.wikimedia.org/r/c/mediawiki/extensions/CollapsibleVector/+/885312/ Paladox (talk) 21:53, 31 January 2023 (UTC) Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Tutorial and example?

[edit ]
Latest comment: 2 years ago 1 comment1 person in discussion

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 93.173.80.16 (talk) 00:11, 7 October 2023 (UTC) Reply

Tutorial/Help

[edit ]
Latest comment: 1 year ago 1 comment1 person in discussion

Hello,

I have globally enabled CollapsibleVector but it seems not to work properly. Is there any tutorial? Raintek (talk) 12:57, 22 November 2023 (UTC) Reply

Disable on mobile

[edit ]
Latest comment: 1 year ago 1 comment1 person in discussion

Is there a way to disable the ability to click to expand/hide for mobile users (screen max width 999px), perhaps using custom js? AhiruRat (talk) 23:45, 9 February 2024 (UTC) Reply

Stopped working with MediaWiki update

[edit ]
Latest comment: 1 year ago 2 comments1 person in discussion

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. Fanra (talk) 17:50, 12 March 2024 (UTC) Reply

I don't know what happened but the latest CollapsibleVector is working!
Thank you, thank you, thank you, whoever fixed it. Fanra (talk) 00:15, 31 August 2024 (UTC) Reply

Make CV have certain topics expanded by default?

[edit ]
Latest comment: 11 months ago 1 comment1 person in discussion

I could not find a proper way so CV shows some of the main headers expanded by default.

Any advice is very appreciated!

Dominik Dominik Maus (talk) 20:34, 24 November 2024 (UTC) Reply

AltStyle によって変換されたページ (->オリジナル) /