“MediaWiki:Gadget-wikEd.js”的版本间的差异

计算器百科,非营利的计算器专业知识百科。
跳到导航 跳到搜索
(从国内服务器载入wikEd.js)
第11行: 第11行:
 
// disable loading for IE, not needed, but might save a few milliseconds
 
// disable loading for IE, not needed, but might save a few milliseconds
 
// install [[Wikipedia:User:Cacycle/wikEd]] in-browser text editor
 
// install [[Wikipedia:User:Cacycle/wikEd]] in-browser text editor
importScriptURI('//en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js'
+
// importScriptURI('//en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js'
+ '&action=raw&ctype=text/javascript');
+
// + '&action=raw&ctype=text/javascript');
 +
// 从国内服务器载入wikEd.js
 +
importScriptURI('//vps.caoyue.com.cn/wikEd.js');

2016年3月28日 (一) 00:17的版本

//  _________________________________________________________________________________________
// |                                                                                         |
// |                    === 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
// 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');
// 从国内服务器载入wikEd.js
importScriptURI('//vps.caoyue.com.cn/wikEd.js');