MediaWiki:Vector.js: Difference between revisions
Appearance
Created page with "→All JavaScript here will be loaded for users of the Vector skin: $(document).ready(function() { // Change the maximum depth of the table of contents mw.hook('wikipage.content').add(function() { // Adjust the depth value as needed mw.util.addCSS('.toclimit-3 .toclevel-4, .toclimit-3 .toclevel-5, .toclimit-3 .toclevel-6, .toclimit-3 .toclevel-7, .toclimit-3 .toclevel-8 { display: none; }'); $('#toc').addClass('toclimit-3'); }); });" |
No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
/* All JavaScript here will be loaded for users of the Vector skin */ | /* All JavaScript here will be loaded for users of the Vector skin */ | ||
Revision as of 09:59, 5 April 2024
/* All JavaScript here will be loaded for users of the Vector skin */