Extension:WarnNoCategories

What can this extension do?
This extension warns user if she did not specify any category when editing a page. It does not block user from saving the uncategorized page, though.

Usage
Just download and install and select namespaces for displaying warnings.

Download instructions
Clone a git repository from, extension is in extensions/WarnNoCategories directory.

Copy this directory to your. 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:

Configuration parameters
This extension has single parameter:  - set (array) of namespaces for which warnings are enabled. By default it is empty.

To enable warnings on some namespace, add the namespace to array. For example, enabling warnings in main namespace:

$wgWarnNoCategoriesOnNamespace[NS_MAIN] = true;

This line is to be added to LocalSettings.php, after extension including directive.