Cookies help us deliver our services. By using our services, you agree to our use of cookies. More information

We are currently changing the appearance of the wiki to a responsive theme to eliminate switching between desktop and mobile themes. Please report any issues on the Wiki Support page

 Actions

MediaWiki

Difference between revisions of "Pivot.js"

From Dragon Mania Legends Wiki

m (Add Yandex translate to Pivot theme in place of depreciated Google Translate)
m (Add script to Pivot)
 
Line 5: Line 5:
  
 
mw.loader.load( '/index.php?title=MediaWiki:YandexTranslate.js&action=raw&ctype=text/javascript' );
 
mw.loader.load( '/index.php?title=MediaWiki:YandexTranslate.js&action=raw&ctype=text/javascript' );
 +
mw.loader.load( '/index.php?title=MediaWiki:ScrollTop.js&action=raw&ctype=text/javascript' );

Latest revision as of 03:54, 14 July 2019

/* -------------------------------------- */
/* ---- Place theme-specific js here ---- */
/* -------------------------------------- */
/* JavaScript added here will be loaded for Pivot Theme users on every page load. */

mw.loader.load( '/index.php?title=MediaWiki:YandexTranslate.js&action=raw&ctype=text/javascript' );
mw.loader.load( '/index.php?title=MediaWiki:ScrollTop.js&action=raw&ctype=text/javascript' );