Difference between revisions of "MediaWiki:Gadget-wikEd.js"

From Shifti
Jump to: navigation, search
m (found a bit of docs that might have this fixed)
m (try this...)
Line 1: Line 1:
// install [[Wikipedia:User:Cacycle/wikEd]] in-browser text editor
+
if ( navigator.appName !== 'Microsoft Internet Explorer' ) {
importScriptURI('http://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js'
+
  // load [[User:Cacycle/wikEd]] in-browser text editor
                + '&action=raw&ctype=text/javascript');
+
  importScript('http://en.wikipedia.org/wiki/User:Cacycle/wikEd.js');
 +
}

Revision as of 19:38, 27 September 2016

if ( navigator.appName !== 'Microsoft Internet Explorer' ) {
  // load [[User:Cacycle/wikEd]] in-browser text editor
  importScript('http://en.wikipedia.org/wiki/User:Cacycle/wikEd.js');
}