No edit summary |
No edit summary |
||
Line 54: | Line 54: | ||
"speedTip": "Non-breaking space", |
"speedTip": "Non-breaking space", |
||
"tagOpen": " ", |
"tagOpen": " ", |
||
+ | "tagClose": "", |
||
+ | "sampleText": "" |
||
+ | }; |
||
+ | |||
+ | mwCustomEditButtons[mwCustomEditButtons.length] = { |
||
+ | "imageFile": "http://images.wikia.com/central/images/d/da/Button_en_dash.png", |
||
+ | "speedTip": "En dash", |
||
+ | "tagOpen": "–", |
||
+ | "tagClose": "", |
||
+ | "sampleText": "" |
||
+ | }; |
||
+ | |||
+ | mwCustomEditButtons[mwCustomEditButtons.length] = { |
||
+ | "imageFile": "http://images.wikia.com/central/images/0/03/Button_em_dash.png", |
||
+ | "speedTip": "Em dash", |
||
+ | "tagOpen": "—", |
||
+ | "tagClose": "", |
||
+ | "sampleText": "" |
||
+ | }; |
||
+ | |||
+ | mwCustomEditButtons[mwCustomEditButtons.length] = { |
||
+ | "imageFile": "http://images.wikia.com/central/images/2/22/Button_ellipsis.png", |
||
+ | "speedTip": "Ellipsis", |
||
+ | "tagOpen": "…", |
||
"tagClose": "", |
"tagClose": "", |
||
"sampleText": "" |
"sampleText": "" |
Revision as of 17:30, 18 January 2015
// Chat hacks.
importScriptURI('http://c.wikia.com/index.php?title=User:Monchoman45/ChatHacks.js&action=raw&ctype=text/javascript');
// Various different scripts.
importArticles({
type: "script",
articles: [
"u:dev:MarkForDeletion/code.js",
"u:dev:ArchiveTool/code.js",
"u:dev:RevealAnonIP/usercode.js",
"u:dev:SkinSwitchButton/code.js",
"u:c:User:Telinc1/RawTextButton.js",
"u:dev:NoImageLightbox/code.js",
"u:dev:AjaxDiff/code.js",
"u:dev:NullEditButton/code.js"
]
});
// Custom edit buttons.
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://images.wikia.com/central/images/c/c9/Button_strike.png",
"speedTip": "Strike-through",
"tagOpen": "<del>",
"tagClose": "</del>",
"sampleText": "Strike-through text"
};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://images.wikia.com/central/images/f/fd/Button_underline.png",
"speedTip": "Underline",
"tagOpen": "<u>",
"tagClose": "</u>",
"sampleText": "Underline text"
};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://images.wikia.com/central/images/6/6a/Button_sup_letter.png",
"speedTip": "Superscript",
"tagOpen": "<sup>",
"tagClose": "</sup>",
"sampleText": "Superscript text"
};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://images.wikia.com/central/images/a/aa/Button_sub_letter.png",
"speedTip": "Subscript",
"tagOpen": "<sub>",
"tagClose": "</sub>",
"sampleText": "Subscript text"
};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://images.wikia.com/central/images/4/4b/Button_nbsp.png",
"speedTip": "Non-breaking space",
"tagOpen": " ",
"tagClose": "",
"sampleText": ""
};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://images.wikia.com/central/images/d/da/Button_en_dash.png",
"speedTip": "En dash",
"tagOpen": "–",
"tagClose": "",
"sampleText": ""
};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://images.wikia.com/central/images/0/03/Button_em_dash.png",
"speedTip": "Em dash",
"tagOpen": "—",
"tagClose": "",
"sampleText": ""
};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://images.wikia.com/central/images/2/22/Button_ellipsis.png",
"speedTip": "Ellipsis",
"tagOpen": "…",
"tagClose": "",
"sampleText": ""
};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://images.wikia.com/central/images/1/16/Button_reflink_alternate.png",
"speedTip": "Reference/Citation",
"tagOpen": "<ref>",
"tagClose": "</ref>",
"sampleText": "Reference"
};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://images.wikia.com/central/images/c/c8/Button_redirect.png",
"speedTip": "Redirect",
"tagOpen": "#REDIRECT [[",
"tagClose": "]]",
"sampleText": "Page"
};
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"
};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://images.wikia.com/central/images/6/63/Button_includeonly.png",
"speedTip": "Include only",
"tagOpen": "<includeonly>",
"tagClose": "</includeonly>",
"sampleText": "Only include when template is used"
};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://images.wikia.com/central/images/c/ce/Button_no_include.png",
"speedTip": "No include",
"tagOpen": "<noinclude>",
"tagClose": "</noinclude>",
"sampleText": "Include only on template page]"
};