Benutzer:Joe-le/wikia.js: Unterschied zwischen den Versionen
imported>Joe-le (neu angelegt) |
imported>Joe-le |
||
Zeile 6: | Zeile 6: | ||
//adding RC link to toolbar | //adding RC link to toolbar | ||
$('ul.tools li:first-child').after('<li><a href="/index.php?title=Special:RecentChanges">Recent Changes</a></li>'); | $('ul.tools li:first-child').after('<li><a href="/index.php?title=Special:RecentChanges">Recent Changes</a></li>'); | ||
+ | |||
+ | //changes "Wiki Activity" button into "Recent Changes" button | ||
+ | $('a[data-id="wikiactivity"]').attr('href','/wiki/Special:RecentChanges').attr('title','Recent Changes').html('<img height="0" width="0" src="http://images1.wikia.nocookie.net/__cb25182/common/skins/common/blank.gif">Recent Changes'); |
Version vom 16. November 2010, 17:48 Uhr
//remove Wikia navigation
$('#WikiaHeader > nav').remove();
$('img.banner-corner-right').remove();
$('img.banner-corner-left').remove();
//adding RC link to toolbar
$('ul.tools li:first-child').after('<li><a href="/index.php?title=Special:RecentChanges">Recent Changes</a></li>');
//changes "Wiki Activity" button into "Recent Changes" button
$('a[data-id="wikiactivity"]').attr('href','/wiki/Special:RecentChanges').attr('title','Recent Changes').html('<img height="0" width="0" src="http://images1.wikia.nocookie.net/__cb25182/common/skins/common/blank.gif">Recent Changes');