Note: After saving, you have to bypass your browser's cache to see the changes.
- Internet Explorer: hold down the Ctrl key and click the Refresh or Reload button, or press Ctrl+F5.
- Firefox: hold down the Shift key while clicking Reload; alternatively press Ctrl+F5 or Ctrl-Shift-R.
- Chrome: press Ctrl+F5 or Shift+F5
- Opera users have to clear their caches through Tools→Preferences
- Konqueror and Safari users can just click the Reload button.
/* Disable Image Upload Pop-Ups */
$(document).ready(function()
{
$('a.wikia-button.upphotos').unbind('click',UploadPhotos.showDialog);
});
function PlaceholderLink() {
$('.wikiaPlaceholder a').attr('href', '/wiki/Special:Upload').unbind('click');
}
$(PlaceholderLink);
/* Chat Window */
$(".openchat a").click(function() {
window.open('/wiki/Special:Chat', 'wikiachat', 'width=600,height=600,menubar=no,status=no,location=no,toolbar=no,scrollbars=no,resizable=yes');
return false;
});
/* Admin Controls */
function AdminControl() {
if((wgUserGroups.indexOf("sysop")) != -1) {
$('.admin').css({"display": 'inline'});
}
}
$(AdminControl);