Difference between revisions of "User:Meta/common.js"

From Team Fortress Wiki
Jump to: navigation, search
(Installing wikEd)
 
(Migrate deprecated functions & variables; see https://www.mediawiki.org/wiki/ResourceLoader/Migration_guide_(users))
 
Line 1: Line 1:
 
// install [[Wikipedia:User:Cacycle/wikEd]] in-browser text editor
 
// install [[Wikipedia:User:Cacycle/wikEd]] in-browser text editor
importScriptURI('//en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js'
+
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js'
 
+ '&action=raw&ctype=text/javascript');
 
+ '&action=raw&ctype=text/javascript');

Latest revision as of 14:17, 12 March 2018

// install [[Wikipedia:User:Cacycle/wikEd]] in-browser text editor
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js'
+ '&action=raw&ctype=text/javascript');