Manual:Hooks/ChangesListInitRows
Appearance
ChangesListInitRows | |
---|---|
Available from version 1.23.0 (Gerrit change 121121) Batch process change list rows prior to rendering. | |
Define function: | public static function onChangesListInitRows( ChangesList $changesList, $rows ) { ... }
|
Attach hook: | In extension.json:
{
"Hooks": {
"ChangesListInitRows": "MediaWiki\\Extension\\MyExtension\\Hooks::onChangesListInitRows"
}
}
|
Called from: | File(s): changes/ChangesList.php Function(s): initChangesListRows |
Interface: | ChangesListInitRowsHook.php |
For more information about attaching hooks, see Manual:Hooks .
For examples of extensions using this hook, see Category:ChangesListInitRows extensions.
Details
[edit]$changesList
: ChangesList instance$rows
: The data that will be rendered. May be a ResultWrapper instance or an array.