MediaWiki  master
MediaWiki\Hook\Collation__factoryHook Interface Reference

Stable for implementation. 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. More...
 

Detailed Description

Stable for implementation.

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: