User blog:FilthyBones/Useful tools to improve your Wikia experience

'Note: this blog post doesn't work as I expected (ghhhhh noinclude!). Just hit the "edit" button to fully understand it, and make all the necessary copy/paste!'

While CSS is mostly about making things beautiful, Javascript (Js) provides a lot of customisable tools to move around the Wikia system. The major issue is, Wikia has some rules of use you can't transgress. But, you're allowed to freely use them for yourself! Here's a short list to my favorite ones. First, you need to go to this link:

http://battle-cats.wikia.com/wiki/User:INSERT YOUR USER NAME HERE/common.js

This trick also works with the "global js", but common js applies these codes only to BC wiki, while global js applies them to all the wiki you will visit.

Then, press "edit", and copy/paste the following lines of your choice.

Improve Patrol system
This code allows you to check an edit without leaving the page. It's useful when you have to check multiple edits of the same page, you don't have to reload the page again.

importScriptPage('MediaWiki:AjaxPatrol/code.js', 'dev' );

Improve "div" system
Allows you to see the edits without leaving Wikia Activity. VERY useful. Here's my screenshot.

 importArticles({type: 'script', articles: ['u:dev:QuickDiff/code.js']}); 

Customise the Top Navigation "On the Wiki"
You can change the links here. First, copy/paste these lines:

 importArticles({type: 'script', articles: ['u:dev:MediaWiki:Wikimarks/code.js']}); 

Then, you have to click on "Wikimarks" that appears instead of "On the Wiki". It redirects you on another page from the Dev Wikia, go to the classic editor, and copy paste this:


 * Wiki Activity
 * Images
 * Maintenance
 * Stubs
 * Delete
 * Missing picture
 * Clean-up
 * All activities
 * [/wiki/Special:WhatLinksHere?target={$wgPageName} What links here]
 * Broken Redirects
 * Double Redirects

It should provide you a first sight of what I use the most. You can add or remove as much links as you wants! Even *** to another sub-sub-category.

I hope you will enjoy those quick tips!