Jump to content

User:Haza-w/User portlets

From Wikipedia, the free encyclopedia
User page | Talk page | Contributions | .JS | .CSS | E-mail

For severe sufferers of editcountitis...

This tool is simply a script to add a link to your edit count (using Interiot's "Wannabe Kate" edit counter) and Mathbot edit usage summary to your user options portlet. It works in any of the skins in the list below.

Screenshot of the Interiot and Mathbot portlet links, using the Modern skin. Click to enlarge.


Installation

To install the tool, open your personal JS subpage. This depends on your MediaWiki skin, and can be found from the list below.

Skin Personal JS
Chick (preview) User:<username>/chick.js
Modern (preview) User:<username>/modern.js
MonoBook (preview) User:<username>/monobook.js
MySkin (preview) User:<username>/myskin.js
Simple (preview) User:<username>/simple.js

Add the following line:

{{subst:js|User:Haza-w/interiot.js}}

This script used to be much more complex, back in the days before wikibits.js existed. Now, it's just really a couple of lines of code, so feel free to borrow or steal from it if you wish! If you have any feedback, then please leave a message on my user talk page.