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

Public Member Functions | |
| onInterwikiLoadPrefix ( $prefix, &$iwData) | |
| This hook is called when resolving whether a given prefix is an interwiki or not. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "InterwikiLoadPrefix" to register handlers implementing this interface.
Definition at line 14 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.