Jump to content

MediaWiki talk:Gadget-CollapsibleNav.js

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 151.229.250.233 (talk) at 20:29, 22 April 2015 (Some updates). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Not needed any more

Hi this is not needed any more there is an extension at https://www.mediawiki.org/wiki/Extension:CollapsibleVector that does this now. 86.132.31.17 (talk) 14:43, 2 November 2014 (UTC)[reply]

That extension is not installed here, and I don't know if it ever will be. -- [[User:Edokter]] {{talk}} 16:12, 2 November 2014 (UTC)[reply]

Some updates

Hi since there were changes in mediawiki these code need changing.

Please change

$headings = $( '#mw-panel > .portal > h3' );

to

$headings = $( '#mw-panel > .portal:not(.persistent) > h3' );

and please remove this

tabIndex = $( document ).lastTabIndex() + 1;

and please change

$headings.attr( 'tabindex', function () {
return tabIndex++;
} );

to

$headings.attr( 'tabindex', '0' );

similer to changes done http://en.wikipedia.org/wiki/MediaWiki:Gadget-CollapsibleNav.js here.

Please 151.229.250.233 (talk) 20:28, 22 April 2015 (UTC)[reply]