< Manual:Hooks
| EnhancedChangesList::getLogText | |
|---|---|
| Available from version 1.25.0 (Gerrit change 193091) allows altering, removing or adding to the links of a group of changes in EnhancedChangesList. | |
| Define function: | public static function onEnhancedChangesList_getLogText( EnhancedChangesList $changesList, array &$links, array $cachedEntries ) { ... }
|
| Attach hook: | In extension.json:
{
"Hooks": {
"EnhancedChangesList::getLogText": "MyExtensionHooks::onEnhancedChangesListgetLogText"
}
}
|
| Called from: | File(s): changes/EnhancedChangesList.php Function(s): getLogText |
| Interface: | EnhancedChangesList__getLogTextHook.php |
For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:EnhancedChangesList::getLogText extensions.
Details
Hook subscribers can return false to omit this line from Special:RecentChanges.
$changesList: EnhancedChangesList object&$links: The links that were generated by EnhancedChangesList$cachedEntries: Array of RCCacheEntry objects
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.