MediaWiki  master
MediaWiki\Hook\GitViewersHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inheritance diagram for MediaWiki\Hook\GitViewersHook:

Public Member Functions

 onGitViewers (&$extTypes)
 This hook is called when generating the list of git viewers for Special:Version, allowing you to modify the list. More...
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "GitViewers" to register handlers implementing this interface.

Stable to implement

Definition at line 12 of file GitViewersHook.php.

Member Function Documentation

◆ onGitViewers()

MediaWiki\Hook\GitViewersHook::onGitViewers ( $extTypes)

This hook is called when generating the list of git viewers for Special:Version, allowing you to modify the list.

Since
1.35
Parameters
string[]&$extTypesAssociative array of repo URLS to viewer URLs
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: