User:Dser/wikia.js

// Auto-refresh feature

AjaxRCRefreshText = 'Auto-refresh'; AjaxRCRefreshHoverText = 'Automatically refresh the page'; ajaxPages = ["Special:Chat","Special:WikiActivity","Special:RecentChanges"]; importScriptPage('AjaxRC/code.js', 'dev');

// View history for wall threads (code by Eladske)

function WallHistory { if (wgCanonicalNamespace == 'Thread') { $('#WallBrickHeader').append('View History'); }	if (wgCanonicalNamespace == 'Message_Wall' && wgAction != 'history') { $('.WikiaMainContent').prepend(' View History '); } } addOnloadHook(WallHistory);