Extension:MsCatSelect

What can this extension do?
With the MsCatSelect extension you can:


 * Add a page to categories by selecting in a dropdown on the edit page.
 * Remove categories easily from a page.
 * Define a custom list of categories.
 * Set a specific Sortkey for each category.

Furthermore:


 * If you select a category in the dropdown another dropdown is created with all subcategories.
 * The selected categories are directly read from the database and not extracted from the text.
 * MsCatSelect includes Mootools

Download instructions
Please cut and paste the code found below and place it in. Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

Installation
To install this extension, add the following to LocalSettings.php:

$wgWarnNoCat
Defines if you want to get warned if there is no category defined for this page.

$wgMainCategories
Is an array filled with categories which should be loaded in the first dropdown. If this array is nonexistend all main categories (categories which are not a subcategory) of the wiki are loaded automaticaly.