User:Flightmare/wikia.js

function createDiscussionsFeed { if(wgPageName == 'Special:DiscussionsFeed') { var canBlock = Boolean(wgUserGroups.indexOf('sysop') > -1 || wgUserGroups.indexOf('staff') > -1 || wgUserGroups.indexOf('helper') > -1 || wgUserGroups.indexOf('vstf') > -1); var isMod = Boolean(canBlock || wgUserGroups.indexOf('threadmoderator') > -1); var content = document.getElementById("mw-content-text"); content.innerHTML = ' Discussions Feed '; } }

addOnloadHook(createDiscussionsFeed);