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

From IPitomy Wiki
Jump to navigation Jump to search
(Created page with "// _________________________________________________________________________________________ // | ...")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
// _________________________________________________________________________________________
+
// install [[Wikipedia:User:Cacycle/wikEd]] in-browser text editor
// |                                                                                        |
+
importScriptURI('//en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js'
// |                    === WARNING: GLOBAL GADGET FILE ===                                  |
+
+ '&action=raw&ctype=text/javascript');
// |                  Changes to this page affect many users.                                |
 
// | Please discuss changes on the talk page or on [[Wikipedia_talk:Gadget]] before editing. |
 
// |_________________________________________________________________________________________|
 
//
 
// Imports [[User:Cacycle/wikEd.js]]
 
// wikEd is a full-featured in-browser editor for Wikipedia, see [[User:Cacycle/wikEd]]
 
 
// disable loading for IE, not needed, but might save a few milliseconds
 
if ( navigator.appName !== 'Microsoft Internet Explorer' ) {
 
  // load [[User:Cacycle/wikEd]] in-browser text editor
 
  importScript('User:Cacycle/wikEd.js');
 
}
 

Latest revision as of 16:54, 22 August 2012

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