< Manual:Hooks
ImportLogInterwikiLink | |
---|---|
Available from version 1.27.0 (Gerrit change 264452) Hook to change the interwiki link used in log entries and edit summaries for transwiki imports. | |
Define function: | public static function onImportLogInterwikiLink( string &$fullInterwikiPrefix, string &$pageTitle ) { ... }
|
Attach hook: | In extension.json:
{
"Hooks": {
"ImportLogInterwikiLink": "MyExtensionHooks::onImportLogInterwikiLink"
}
}
|
Called from: | File(s): specials/helpers/ImportReporter.php |
Interface: | ImportLogInterwikiLinkHook.php |
For more information about attaching hooks, see Manual:Hooks
For examples of extensions using this hook, see Category:ImportLogInterwikiLink extensions.
Details
- &$fullInterwikiPrefix - Interwiki prefix, may contain colons.
- &$pageTitle - String that contains page title.
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.