Difference between revisions of "MediaWiki:Common.js"

From PUBLIC DOMAIN PROJECT MEDIAPOOL
Jump to: navigation, search
m (removed calendar extension)
(updated wikEd)
 
Line 2: Line 2:
  
 
// install [[Wikipedia:User:Cacycle/wikEd]] in-browser text editor
 
// install [[Wikipedia:User:Cacycle/wikEd]] in-browser text editor
document.write('<script type="text/javascript" src="'
+
importScriptURI('//en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js'
+ 'http://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js'
+
+ '&action=raw&ctype=text/javascript');
+ '&action=raw&ctype=text/javascript"></' + 'script>');
 

Latest revision as of 23:11, 24 October 2016

/* Any JavaScript here will be loaded for all users on every page load. */

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