User:Dalek/HotCat.js

/* Script: User:TheDJ/Gadget-HotCat.js * HotCat: Adds an easy way to add, modify and remove categories * Documentation: User:TheDJ/HotCat * Originally written by: Magnus Manske *  * This version was forked from http://commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-HotCat.js&oldid=10204404 * In sync with version: http://commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-HotCat.js&oldid=19600669 * Major changes: *  - all code for the uploadForm has been removed *  - autocommit is disabled *  - will be enabled on pages without categories so that you can easily add them *  - uses javascript:void as a dummy value for href in order to avoid a conflict with popups. *  - checks for  and removes it if a category is added *  - does not use JSconfig for configuration options like its Commons original *  - tries to detect other categories and if possible, add to the end of them. *  - fixes a bug in the suggestion list with titles containing : character *  - Uses opensearch API to look for categories. Allows for case insensitive search. *  - Postfix blacklisting in addition to prefix blacklisting. * User:TheDJ 2009-04-18 */