User:Lionelt/LocalSettings.php

$wgCategoryTreeMaxDepth = array(CT_MODE_PAGES => 9, CT_MODE_ALL => 9, CT_MODE_CATEGORIES => 10);