[Mediawiki-l] Creating subcategories, articles directly in category

Rob Church robchur at gmail.com
Tue Mar 28 14:20:09 UTC 2006

On 28/03/06, Bronislav Klucka <konference at pro2-soft.com> wrote:
> Hi,
> I'm looking for the ability to create subcategory or articke directli in
> category.

MediaWiki deals with categorisation in a bottom-up manner. Articles
and categories specify their parent categories, not the other way
round, so this is not a simple problem.

One solution might be to use the edit form's preload option which,
when used, inserts a template containing the [[Category:Foo]] entry
into the edit form; to make the interface a little prettier, one could
use the InputBox extension. See
http://meta.wikimedia.org/wiki/Inputbox_extension for more details.

Rob Church

More information about the MediaWiki-l mailing list