« MediaWiki:Common.js » : différence entre les versions
De Wikicelium
(Page créée avec « function ModifySidebar( action, section, name, link ) { try { switch ( section ) { case 'languages': var target = 'p-lang'; break; case 'toolbox': var… ») |
Aucun résumé des modifications |
||
Ligne 1 : | Ligne 1 : | ||
function CustomizeModificationsOfSidebar() { | function CustomizeModificationsOfSidebar() { | ||
// adds [[Special:CategoryTree|Special:CategoryTree]] to toolbox | // adds [[Special:CategoryTree|Special:CategoryTree]] to toolbox | ||
ModifySidebar( 'add', 'toolbox', 'CategoryTree', 'https://en.wikipedia.org/wiki/ | ModifySidebar( 'add', 'toolbox', 'CategoryTree', 'https://en.wikipedia.org/wiki/Spécial:Catégories' ); | ||
} | } | ||
jQuery( CustomizeModificationsOfSidebar ); | jQuery( CustomizeModificationsOfSidebar ); |
Version du 11 février 2021 à 17:29
function CustomizeModificationsOfSidebar() { // adds [[Special:CategoryTree|Special:CategoryTree]] to toolbox ModifySidebar( 'add', 'toolbox', 'CategoryTree', 'https://en.wikipedia.org/wiki/Spécial:Catégories' ); } jQuery( CustomizeModificationsOfSidebar );