MediaWiki:Wikia.js
Jump to navigation
Jump to search
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.
/* Social buttons */
//http://community.wikia.com/wiki/User_blog:BertH/Showcase_your_community's_content_by_sharing
var SocialMediaButtons = {
position: "top",
colorScheme: "dark"
};
importScriptPage('SocialIcons/code.js','dev');
/* Temporary fix for talk page comments bug */
if ($('.wikia-button.comments.secondary').attr('href') == '#WikiaArticleComments' && skin == 'oasis') {
$(document).ready(function() {
$('.wikia-button.comments.secondary').attr('href', '/wiki/Talk:' + wgPageName).html($('.wikia-button.comments.secondary').html().replace('Comments', 'Discussion'))
})
}
/* Auto-refresh wikia activity & recent changes */
AjaxRCRefreshText = 'Auto-refresh';
AjaxRCRefreshHoverText = 'Automatically refresh the page';
ajaxPages = ["Special:WikiActivity","Special:RecentChanges"];
importScriptPage('AjaxRC/code.js', 'dev');