MediaWiki REL1_35
MediaWiki\Hook\Collation__factoryHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\Collation__factoryHook:

Public Member Functions

 onCollation__factory ( $collationName, &$collationObject)
 This hook is called if $wgCategoryCollation is an unknown collation.
 

Detailed Description

Stable to implement.

Definition at line 12 of file Collation__factoryHook.php.

Member Function Documentation

◆ onCollation__factory()

MediaWiki\Hook\Collation__factoryHook::onCollation__factory (   $collationName,
$collationObject 
)

This hook is called if $wgCategoryCollation is an unknown collation.

Since
1.35
Parameters
string$collationNameName of the collation in question
Collation | null&$collationObjectNull. Replace with a subclass of the Collation class that implements the collation given in $collationName.
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: