Andrew Garrett wrote:
On 9/5/07, Andreas Rindler 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..
It's working. He answered on mediawiki-l (such crosspostings...) http://permalink.gmane.org/gmane.org.wikimedia.mediawiki/23224