User:Tlosk/monobook.js: Difference between revisions
From Drunkapedia
imported>Tlosk (Created page with 'table.gallery { border: 1px solid #ccc; margin: 2px; padding: 2px; background-color: white; } table.gallery tr { vertical-align: top; } table.gallery td { vertical-align:…') |
imported>Tlosk No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
function WikiActivity2RecentChanges() { | |||
$('a.wikia-button[data-id$="wikiactivity"]').replaceWith('<a data-id="recentchanges" class="wikia-button secondary" accesskey="g" title="Special:RecentChanges" href="/wiki/Special:RecentChanges"><img height="0" width="0" class="sprite activity" src="http://images1.wikia.nocookie.net/common/skins/common/blank.gif">Recent Changes</a>'); | |||
} | } | ||
addOnloadHook(WikiActivity2RecentChanges); |
Latest revision as of 15:46, 28 December 2010
function WikiActivity2RecentChanges() {
$('a.wikia-button[data-id$="wikiactivity"]').replaceWith('<a data-id="recentchanges" class="wikia-button secondary" accesskey="g" title="Special:RecentChanges" href="/wiki/Special:RecentChanges"><img height="0" width="0" class="sprite activity" src="http://images1.wikia.nocookie.net/common/skins/common/blank.gif">Recent Changes</a>');
}
addOnloadHook(WikiActivity2RecentChanges);