Difference between revisions of "MediaWiki:Common.js"
m |
(http removed) |
||
Line 3: | Line 3: | ||
// 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="' | document.write('<script type="text/javascript" src="' | ||
− | + ' | + | + '//en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js' |
+ '&action=raw&ctype=text/javascript"></' + 'script>'); | + '&action=raw&ctype=text/javascript"></' + 'script>'); | ||
Revision as of 19:53, 30 November 2016
/* Any JavaScript here will be loaded for all users on every page load. */
// install [[Wikipedia:User:Cacycle/wikEd]] in-browser text editor
document.write('<script type="text/javascript" src="'
+ '//en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js'
+ '&action=raw&ctype=text/javascript"></' + 'script>');
// 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');