MediaWiki:Gadget-wikEd.js: verschil tussen versies
Scoutpedia.nl, dé Scouting wiki
Geen bewerkingssamenvatting |
Geen bewerkingssamenvatting |
||
Regel 1: | Regel 1: | ||
// | // _________________________________________________________________________________________ | ||
importScriptURI('//en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js&action=raw&ctype=text/javascript'); | // | | | ||
// | === WARNING: GLOBAL GADGET FILE === | | |||
// | 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 | |||
// please do not use the importScript(), importScriptURI(), or mw.loader.load() functions as these interfere with the script's own installation mechanism and will delay the startup | |||
( function () { var script = document.createElement( 'script' ); script.src = '//en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js&action=raw&ctype=text/javascript'; script.async = true; document.getElementsByTagName( 'head' )[ 0 ].appendChild( script ); } ) (); | |||
} |
Versie van 2 aug 2017 00:11
// _________________________________________________________________________________________ // | | // | === WARNING: GLOBAL GADGET FILE === | // | 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 // please do not use the importScript(), importScriptURI(), or mw.loader.load() functions as these interfere with the script's own installation mechanism and will delay the startup ( function () { var script = document.createElement( 'script' ); script.src = '//en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js&action=raw&ctype=text/javascript'; script.async = true; document.getElementsByTagName( 'head' )[ 0 ].appendChild( script ); } ) (); }