Table of Contents
Help:Category http://meta.wikimedia.org/wiki/Help:Category
Extension:CategoryTree http://www.mediawiki.org/wiki/Extension:CategoryTree
For all those people that are new to wiki category concept and CategoryTree, like me, here is a *nix command line script to build a test category hierarchy for you (tested under Bash):
# category id ctid=0 echo "[[Category:Test P$ctid]]" > "Category:Test P$((ctid+1))".txt php maintenance/importTextFile.php !$ ctid=$((ctid+1))
Basically, you initial the category id variable and then, import the generated file into wiki, increase the category id variable, then loop the procedure to whatever depth you want.
documented on: 2007.04.19