MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onInterwikiLoadPrefix ( $prefix, &$iwData) | |
This hook is called when resolving whether a given prefix is an interwiki or not. | |
Stable to implement.
Definition at line 9 of file InterwikiLoadPrefixHook.php.
MediaWiki\Interwiki\Hook\InterwikiLoadPrefixHook::onInterwikiLoadPrefix | ( | $prefix, | |
& | $iwData | ||
) |
This hook is called when resolving whether a given prefix is an interwiki or not.
string | $prefix | Interwiki prefix we are looking for |
array | &$iwData | Output array describing the interwiki with keys iw_url, iw_local, iw_trans and optionally iw_api and iw_wikiid |
Implemented in MediaWiki\HookContainer\HookRunner.