[Mediawiki-l] How to enable new features of MW 1.16?

Peter Velan pv0001 at dynapic.net
Tue Jul 20 15:24:57 UTC 2010


am 19.07.2010 15:52 schrieb Lane, Ryan:
>> If I'm reading
>> <http://www.mediawiki.org/wiki/Extension:UsabilityInitiative#I
>> nstallation_5>
>> correctly, then the default values are ...
>> 
>> $wgVectorModules['collapsiblenav']['user'] = false;
>> $wgVectorModules['collapsiblenav']['global'] = true;
>> 
>> ... which means to me: "collapsiblenav enabled, each user has to
>> turn it explicitly on".
>> 
>> I put this ...
>> 
>> $wgVectorModules['collapsiblenav']['user'] = true;
>> $wgVectorModules['collapsiblenav']['global'] = true;
>> 
>> ... to my LocalConfig and checked that 'collapsiblenav' is enabled
>> in my own settings.
>> 
>> Nevertheless there's no collapsing menu entries. What I'm doing wrong?
>> 
> 
> Collapsible nav doesn't work in 1.16 without modifying the Javascript.
> 
> To fix this, replace all instances of #mw-panel with #panel in
> Vector/Vector.combined.min.js, Vector/Vector.combined.js,
> Vector/Modules/CollapsibleNav/CollapsibleNav.js, css/combined.min.css,
> css/combined.css, and css/vector.collapsibleNav.css.

It's me, again ;-) Here are my results of some more fiddling:


Take from ...

http://svn.wikimedia.org/svnroot/mediawiki/branches/REL1_16/phase3/skins/

... these directories and files ...

  vector/
  Vector.deps.php
  Vector.php

... and copy it to your own "skins" directory.

Then take from location ...

http://svn.wikimedia.org/svnroot/mediawiki/branches/REL1_16/extensions/

... directory ...

  UsabilityInitiative

... and copy it to your own "extensions" directory.


This seems to work without serious side effects!

Cheers,
Peter



More information about the MediaWiki-l mailing list