On 9/5/07, Andreas Rindler <mediawiki(a)jenandi.com> wrote:
And I don't want the parent categories. I have
found
$wgParentCats = $wgPageTitle->getParentCategories();
but it lists all the parent categories as well.
Looking at the code, it doesn't LOOK like it gets all the parent
categories, too.
$sql = "SELECT * FROM $categorylinks"
." WHERE cl_from='$titlekey'"
." AND cl_from <> '0'"
." ORDER BY cl_sortkey";
Correct me if I'm wrong..
--
Andrew Garrett