Manual:Hooks/Collation::factory

Details

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