Manual:Hooks/EnhancedChangesList::getLogText

Category:MediaWiki hooks#EnhancedChangesList::getLogText Category:Hooks added in MediaWiki 1.25.0#EnhancedChangesList::getLogText
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": "MediaWiki\\Extension\\MyExtension\\Hooks::onEnhancedChangesListgetLogText"
	}
}
Called from: File(s): changes/EnhancedChangesList.phpCategory:MediaWiki hooks included in EnhancedChangesList.php#EnhancedChangesList::getLogText
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
Category:Hooks added in MediaWiki 1.25.0 Category:MediaWiki hooks Category:MediaWiki hooks included in EnhancedChangesList.php