미디어위키:Gadget-wikEd.js
참고: 설정을 저장한 후에 바뀐 점을 확인하기 위해서는 브라우저의 캐시를 새로 고쳐야 합니다.
- 파이어폭스 / 사파리: Shift 키를 누르면서 새로 고침을 클릭하거나, Ctrl-F5 또는 Ctrl-R을 입력 (Mac에서는 ⌘-R)
- 구글 크롬: Ctrl-Shift-R키를 입력 (Mac에서는 ⌘-Shift-R)
- 인터넷 익스플로러 / 엣지: Ctrl 키를 누르면서 새로 고침을 클릭하거나, Ctrl-F5를 입력.
- 오페라: Ctrl-F5를 입력.
//<source lang="javascript">
/* wikEd Programming File */
/*
Program description and Greasemonkey metadata
wikEd is a full-featured JavaScript in-browser editor for Wikipedia and other MediaWiki edit pages.
The program works currently ONLY for Mozilla, Firefox, SeaMonkey, Safari, and Chrome browsers.
The code has to be saved as UTF-8 in your editor to preserve Unicode characters like ♥ (heart)
*/
// ==UserScript==
// @name wikEd
// @namespace http://en.wikipedia.org/wiki/User:Cacycle/
// @description A full-featured in-browser editor for Wikipedia and other MediaWiki edit pages
// @include *
// @exclude
//
// @homepage http://en.wikipedia.org/wiki/User:Cacycle/wikEd
// @source http://en.wikipedia.org/wiki/User:Cacycle/wikEd.js
// @author Cacycle (http://en.wikipedia.org/wiki/User:Cacycle)
// @license Released into the public domain
// ==/UserScript==
/*
== Installation on a MediaWiki wiki (using monobook.js) ==
1. PLEASE DO NOT COPY THE WHOLE PROGRAM (in order to get the frequent updates and bug fixes and to save disk space)
2. See http://en.wikipedia.org/wiki/User:Cacycle/wikEd for more detailed instructions
3. Copy the following short block of code to [[User:YOURUSERNAME/monobook.js]]
4. Click SHIFT-Reload to update to the newest version
5. Optional: customize the program by adding user settings to your monobook.js page
== General installation for all MediaWiki wikis (using Greasemonkey) ==
1. Install Greasemonkey for Firefox from:
https://addons.mozilla.org/en-US/firefox/addon/748
2. Install wikEd by opening this address:
http://en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Cacycle/wikEd.user.js
3. Optional: customize the program by adding user settings to the Greasemonkey customization section below
(these settings will be overwritten by updates!)
*/
//
// Greasemonkey customization section: add customization settings here
// example: window.wikEdAutoUpdate = false; window.wikEdAutoUpdateHours = 7 * 24;
//
//
// WikEdInitGlobalsConfigs: initialize user configurable variables
//
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js&action=raw&ctype=text/javascript');
//</source>