MediaWiki:Common.js: Difference between revisions
MediaWiki interface page
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
/* Persistent Table of Contents */ | /* Persistent Table of Contents */ | ||
mw.loader.load( 'https://zd10.net/new_wiki/skins/pivot/assets/stylesheets/ptoc.css', 'text/css' ); | /* mw.loader.load( 'https://zd10.net/new_wiki/skins/pivot/assets/stylesheets/ptoc.css', 'text/css' ); */ | ||
mw.loader.load( 'https://zd10.net/new_wiki/skins/pivot/assets/scripts/ptoc.js', 'text/javascript' ); | /* mw.loader.load( 'https://zd10.net/new_wiki/skins/pivot/assets/scripts/ptoc.js', 'text/javascript' ); */ | ||
/* Tooltipster */ | /* Tooltipster */ |
Revision as of 11:07, 3 May 2019
/* Any JavaScript here will be loaded for all users on every page load. */
/* https://github.com/prtksxna/persistent-toc */
/* mw.loader.load( 'https://cdn.rawgit.com/prtksxna/persistent-toc/master/ptoc.css', 'text/css' ); */
/* mw.loader.load( 'https://cdn.rawgit.com/prtksxna/persistent-toc/master/ptoc.js', 'text/javascript' ); */
/* Persistent Table of Contents */
/* mw.loader.load( 'https://zd10.net/new_wiki/skins/pivot/assets/stylesheets/ptoc.css', 'text/css' ); */
/* mw.loader.load( 'https://zd10.net/new_wiki/skins/pivot/assets/scripts/ptoc.js', 'text/javascript' ); */
/* Tooltipster */
$(document).ready(function() {
$('.tooltip').tooltipster();
});