It is done - we hope you like our new style.
Please remember to make use of the Manual of Style and Code of Conduct during your stay on the wiki.

 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' );