User:RayAYang/hotcat.js

/* Script: User:TheDJ/Gadget-HotCat.js -- modified to insert desired comment * 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 * Major changes: *  - blacklist code is disabled. *  - 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 * User:TheDJ 2008-03-12 */