User:MegaScience/wikia.js

//Applies the Columbia theme to all pages in Category:BioShock Infinite for(i in wgCategories){ if(wgCategories[i] != 'BioShock Infinite') break; importStylesheetURI('/index.php?title=MediaWiki:ColumbiaTheme.css&usemsgcache=yes&ctype=text/css&smaxage=86400&action=raw&maxage=86400'); }; //Changes the displayed title of a page to whatever is in // function TitleChange { var newtitle = $('#titlechange').text; if ($('#titlechange').length != 0){ $('.WikiaPageHeader h1').html(newtitle); } } addOnloadHook(TitleChange);