mNo edit summary |
mNo edit summary |
||
Line 78: | Line 78: | ||
"imageFile": "http://i1184.photobucket.com/albums/z323/chumpette/Duck_sign.png", |
"imageFile": "http://i1184.photobucket.com/albums/z323/chumpette/Duck_sign.png", |
||
"speedTip": "Duck signature", |
"speedTip": "Duck signature", |
||
− | "tagOpen": "{{SUBST:User:D-day/SigInclude|20: |
+ | "tagOpen": "{{SUBST:User:D-day/SigInclude|20:20, April 16, 2012 (UTC)}}", |
"tagClose": "", |
"tagClose": "", |
||
"sampleText": "Quack"} |
"sampleText": "Quack"} |
||
− | } |
||
} |
} |
||
Revision as of 20:20, 16 April 2012
// Remove lightbox
$(document).ready(function() {
$('#WikiaArticle').unbind('click.lightbox');
var a = document.getElementsByTagName("a");
for ( var t = 0; t < a.length; ++t ) {
var a2 = a[t];
var img = a2.getElementsByTagName("img");
if ( img[0] != null ) {
if ( a2.href.indexOf("images.wikia.com") != -1 ) {
var link = wgServer + '/wiki/File:' + a2.href.substring(a2.href.lastIndexOf('/') + 1);
a2.setAttribute('href',link);
}
}
}
});
// AdvancedOasisUI by [[User:Porter21]] at dev.wikia.com
importScriptPage('AdvancedOasisUI/code.js', 'dev');
// SkinSwitchButton
importScriptPage('SkinSwitchButton/code.js', 'dev');
// Purge
importScriptPage('PurgeButton/code.js', 'dev')
// Rollback summary
importScriptPage('User:Grunny/rollbackSummary.js', 'firefly');
// AjaxRC
importScriptPage('AjaxRC/code.js', 'dev');
// Custom edit buttons
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/7/74/Button_comment.png",
"speedTip": "Comment visible only for editors",
"tagOpen": "<!-- ",
"tagClose": " -->",
"sampleText": "Insert comment here"}
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://images1.wikia.nocookie.net/central/images/2/23/Button_code.png",
"speedTip": "Code",
"tagOpen": "<code>",
"tagClose": "</code>",
"sampleText": "Insert code"}
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://images1.wikia.nocookie.net/central/images/1/16/Button_reflink_alternate.png",
"speedTip": "References",
"tagOpen": "<ref>",
"tagClose": "</ref>",
"sampleText": "Insert a reference"}
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://images1.wikia.nocookie.net/central/images/8/8f/Button_poeme.png",
"speedTip": "Poem",
"tagOpen": "<poem>",
"tagClose": "</poem>",
"sampleText": "Insert a poem"}
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://images1.wikia.nocookie.net/central/images/5/58/Button_small.png",
"speedTip": "Small",
"tagOpen": "<small>",
"tagClose": "</small>",
"sampleText": "Small text"}
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://i1184.photobucket.com/albums/z323/chumpette/Duck_sign.png",
"speedTip": "Duck signature",
"tagOpen": "{{SUBST:User:D-day/SigInclude|20:20, April 16, 2012 (UTC)}}",
"tagClose": "",
"sampleText": "Quack"}
}
// Red link category
$(function() {
$('.newcategory').addClass('new');
});
// Chat hacks
importScriptPage('User:Monchoman45/ChatHacks.js', 'c');
// DupImageList
importScriptPage('DupImageList/code.js', 'dev');
// EditIntro
importScriptPage('EditIntroButton/code.js', 'dev');