182
edits
(Created page with "→Sidebar customization: function ModifySidebar( action, section, name, link ) { try { switch ( section ) { case 'languages': var target = 'p-lang'; break; case 'toolbox': var target = 'p-tb'; break; case 'navigation': var target = 'p-navigation'; break; default: var target = 'p-' + section; break; } if ( action == 'add' ) { var node = document.getElementById( target ) .getElementsByTagName( 'div' )[0]...") |
No edit summary |
||
Line 62: | Line 62: | ||
const url = tempurl2.split("\?").shift(); | const url = tempurl2.split("\?").shift(); | ||
// adds Special:PrefixIndex to toolbox | // adds Special:PrefixIndex to toolbox | ||
ModifySidebar( 'add', 'navigation', 'Prefix index', 'https:// | ModifySidebar( 'add', 'navigation', 'Prefix index', 'https://trigunwiki.com/w/Special:PrefixIndex?prefix=' + url ); | ||
} | } | ||
jQuery( CustomizeModificationsOfSidebar ); | jQuery( CustomizeModificationsOfSidebar ); |