注意 在儲存以後,您必須清除瀏覽器的快取才能看到所作出的改變。
- Internet Explorer 按著 Ctrl 再點擊 重新整理,或按Ctrl-F5。
- Firefox 按著 Shift 再點擊重新整理,或按下Ctrl-F5或Ctrl-Shift-R。
- Opera 在 工具→設定 中完整地清除它們的快取。
- Konqueror及Safari的用戶只需點擊 重新整理 或按下F5。
- Chrome: 按下 Ctrl+F5 或 Shift+F5。
if (mwCustomEditButtons) {
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://images.wikia.com/central/images/c/c8/Button_redirect.png",
"speedTip": "Redirect",
"tagOpen": "#REDIRECT [[",
"tagClose": "]]",
"sampleText": "Insert text"};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://images.wikia.com/central/images/c/c9/Button_strike.png",
"speedTip": "Strike",
"tagOpen": "<s>",
"tagClose": "</s>",
"sampleText": "Strike-through text"};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://images.wikia.com/central/images/1/13/Button_enter.png",
"speedTip": "Line break",
"tagOpen": "<br />",
"tagClose": "",
"sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://images.wikia.com/central/images/7/74/Button_comment.png",
"speedTip": "Comment visible only for editors",
"tagOpen": "<!-- ",
"tagClose": " -->",
"sampleText": "Insert comment here"}
}
addOnloadHook(function(){
// needs to be deferred until the DOM has fully loaded
var placeholder = document.getElementById("editpage-specialchars");
if (!placeholder || window.noDefaultEdittools) return;
var url = wgScript + '?title=User:HayateYuki/Edittools.js&action=raw&ctype=text/javascript';
importScriptURI(url);
});
addOnloadHook(function(){
var opt = document.createElement("option");
opt.text = "Monobook";
opt.value = "Monobook";
var placeholder = document.getElementById("adminSkin");
if (!placeholder) return;
placeholder.options.add(opt);
});
除非另有註明,否則社區內容均使用CC-BY-SA授權條款。