Manual:Hooks/Collation::factory

Details

 * $categoryName: A (string) name of the collation requested. What would go in $wgCategoryCollation
 * &$categoryObj: Replace this with an instance of a Collation class that corresponds to $categoryName, if your extension supports the collation given in $categoryName.