Extension:Auto Create Category Pages

Auto Create Category Pages (what a mouthful!) automatically creates stub pages for non-existent categories as soon as they are linked to, avoiding the confusing default behavior of "There is currently no text in this page..." or redirecting to the edit page.

Configuration
Auto Create Category Pages has the following 3 messages in the Mediawiki namespace, which can be changed to accommodate your preferences:

The text of 'autocreatecategorypages-stub' can also be overridden using $wgAutoCreateCategoryStub. This can contain wikitext as well.

Compatibility
Tested with MediaWiki 1.21.x and MediaWiki 1.22alpha.

Caveats
This extension is currently not recommended for use on large wikis, as it doesn't implement any caching of its database queries (for retrieving the list of existing category pages).

Credits
Auto Create Category Pages was originally created as "Uniwiki Auto Create Category Pages" by Merrick Schaefer, Mark Johnston, Evan Wheeler & Adam Mckaig, as part of the Uniwiki project for UNICEF (see Category:Uniwiki).

As Uniwiki extensions for MediaWiki are not maintained by the original developers anymore, according to an e-mail by Mark Johnston from Nov 9, 2012, the maintenance of this one extension was taken up by Dror S.

Changelog

 * Version 0.2, 28-Oct-2013: updated to work with MW 1.21.x & MW 1.22alpha.
 * Version 0.1, 01-Aug-2008: original release.