Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4148931
GitViewersHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
610 B
Referenced Files
None
Subscribers
None
GitViewersHook.php
View Options
<?php
namespace
MediaWiki\Hook
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "GitViewers" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
GitViewersHook
{
/**
* This hook is called when generating the list of git viewers for Special:Version,
* allowing you to modify the list.
*
* @since 1.35
*
* @param string[] &$extTypes Associative array of repo URLS to viewer URLs
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onGitViewers
(
&
$extTypes
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 19 2026, 18:59 (6 w, 4 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
b0/2a/e40f536d5c3c7117f2bc94b6df11
Default Alt Text
GitViewersHook.php (610 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment