Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
importScriptURI('http://internal.vstf.wikia.com/index.php?title=User:TyA/scripts.js&action=raw&ctype=text/javascript');
// Script config area
AjaxRCRefreshText = 'Auto-refresh';
AjaxRCRefreshHoverText = 'Automatically refresh the page';
ajaxPages = ["Special:RecentChanges","Special:Log","Special:Contributions"];
var ajaxindicator = 'http://images1.wikia.nocookie.net/__cb20100617113125/dev/images/e/e4/3D_throbber.gif'
InactiveUsers = { months: 2 };
var AutoEditDropdownConfig = { expandedAreaEdit: true };
//script imports
importArticles({
type: 'script',
articles: [
'w:c:vstf:User:Joeyaa/wham.js',
'w:c:dev:DisplayClock/code.js',
'w:c:vstf:User:Sactage/EasyCURangeCalc.js',
'w:c:dev:AjaxRC/code.js',
'w:c:dev:InactiveUsers/code.js',
'w:c:dev:AutoEditDropdown/code.js',
'w:c:ty:User:TyA/namespaceNotify.js',
'w:c:community:User:TyA/accountNavigation.js'
]
});
/* Custom edit buttons */
if ( mwCustomEditButtons ) {
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://images3.wikia.nocookie.net/zammy/images/0/0d/Global_page.png",
"speedTip": "Global userpage",
"tagOpen": "{{w:User:TyA}}",
"tagClose": "",
"sampleText": ""
};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://images2.wikia.nocookie.net/zammy/images/b/b3/Bot_page.png",
"speedTip": "Bot userpage",
"tagOpen": "{{w:User:TyBot}}",
"tagClose": "",
"sampleText": ""
};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://images3.wikia.nocookie.net/zammy/images/f/ff/Signature_two.png",
"speedTip": "Sign on Wikis without Template:NoSubst",
"tagOpen": "{{User:TyA/sig}} " + "~~"+"~~"+"~",
"tagClose": "",
"sampleText": ""
};
}
/* Lets the join chat button open in a new tab. Taken from Monchoman */
$(setTimeout('ChatCheck()', 200));
function ChatCheck() {
if($('.chat-join button').length != 0) {
$('.chat-join button').replaceWith('<a class="wikia-button" onclick="OpenChatWindow()"><img src="http://images.wikia.com/zammy/images/c/c2/Chat_icon.png" style="margin-right:3px;">Join the Chat</a>');
} else {
setTimeout('ChatCheck()', 200);
}
}
function OpenChatWindow() {
window.chatwindow = window.open('/index.php?title=Special:Chat&useskin=wikia');
}
/* end moncho's chat thing */