Last modified: 2014-06-17 17:02:59 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T34989, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 32989 - 1.18: None of the Vector settings work
1.18: None of the Vector settings work
Status: RESOLVED WORKSFORME
Product: MediaWiki skins
Classification: Unclassified
Vector (Other open bugs)
unspecified
All All
: Normal major
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-12-12 17:14 UTC by Subfader
Modified: 2014-06-17 17:02 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Subfader 2011-12-12 17:14:24 UTC
I have tried this in 2 installations of 1.18 of which one was a more or less clean installation.

 $wgDefaultSkin = 'vector';
 require_once("$IP/extensions/Vector/Vector.php");
 $wgVectorFeatures['collapsibletabs']['global'] = false;
 $wgVectorFeatures['collapsibletabs']['user'] = false;
 $wgVectorFeatures['collapsiblenav']['admin_tools'] = false;
 $wgVectorFeatures['collapsiblenav']['user'] = false;
 $wgVectorFeatures['editwarning']['global'] = true;
 $wgVectorFeatures['editwarning']['user'] = true;
 $wgVectorFeatures['expandablesearch']['global'] = false;
 $wgVectorFeatures['expandablesearch']['user'] = false;

None os these settings work, nor do the settings show up in the prefs (I assume tab 2 "appeareance").

Also I find it extremely confusing that Vector is a default core skin, but it requires the extension to en- or disable some features of the skin.
Comment 1 Roan Kattouw 2011-12-12 17:16:42 UTC
(In reply to comment #0)
> I have tried this in 2 installations of 1.18 of which one was a more or less
> clean installation.
> 
>  $wgDefaultSkin = 'vector';
>  require_once("$IP/extensions/Vector/Vector.php");
>  $wgVectorFeatures['collapsibletabs']['global'] = false;
>  $wgVectorFeatures['collapsibletabs']['user'] = false;
>  $wgVectorFeatures['collapsiblenav']['admin_tools'] = false;
>  $wgVectorFeatures['collapsiblenav']['user'] = false;
>  $wgVectorFeatures['editwarning']['global'] = true;
>  $wgVectorFeatures['editwarning']['user'] = true;
>  $wgVectorFeatures['expandablesearch']['global'] = false;
>  $wgVectorFeatures['expandablesearch']['user'] = false;
> 
> None os these settings work, nor do the settings show up in the prefs (I assume
> tab 2 "appeareance").
> 
If you set both 'user' and 'global' to false, then you won't see the preferences, no. In order to see a preference, you have to set 'user' to true.
Comment 2 Subfader 2011-12-12 19:10:54 UTC
Eh. Of course. Too much trying. As mentioned on the extension's talk page I don't use Vector anyway. collapsiblenav appears and works as setting, but collapsibletabs doesn't seem to work. It will unhide the other action tabs (move etc.)? The drop-down is not very user firendly ;)
Comment 3 Subfader 2011-12-17 19:22:01 UTC
Somebody please tell me what 'collapsibletabs' does.
Comment 4 Roan Kattouw 2011-12-17 19:26:22 UTC
(In reply to comment #3)
> Somebody please tell me what 'collapsibletabs' does.
Collapsibletabs only works when global=true is set on it, and collapses the history and any other tabs if the browser window is (or becomes) too narrow. There was a bug that broke it in 1.18wmf1 and I'm not sure whether the fix for that made it into 1.18 or not, so it may be broken in 1.18.

Collapsibletabs does not unhide the stuff in the dropdown. Maybe it should.

(In reply to comment #2)
> Eh. Of course. Too much trying.
Resolving bug as WORKSFORME, because the Vector settings do work :)
Comment 5 Subfader 2011-12-17 21:10:48 UTC
Thanks.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links