MediaWiki REL1_35
MediaWiki\Hook\GitViewersHook Interface Reference

Stable to implement. 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.
 

Detailed Description

Stable to implement.

Definition at line 9 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: