MediaWiki master
MediaWiki\Hook\ImportLogInterwikiLinkHook Interface Reference

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

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onImportLogInterwikiLink (&$fullInterwikiPrefix, &$pageTitle)
 Use this hook to change interwiki links in log entries and edit summaries for transwiki imports.
 

Detailed Description

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

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

Stability: stable
to implement

Definition at line 12 of file ImportLogInterwikiLinkHook.php.

Member Function Documentation

◆ onImportLogInterwikiLink()

MediaWiki\Hook\ImportLogInterwikiLinkHook::onImportLogInterwikiLink ( $fullInterwikiPrefix,
$pageTitle 
)

Use this hook to change interwiki links in log entries and edit summaries for transwiki imports.

Since
1.35
Parameters
string&$fullInterwikiPrefixInterwiki prefix, may contain colons.
string&$pageTitleString that contains page title.
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: