A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.mediawiki.org/wiki/Manual:Hooks/MovePageCheckPermissions below:

Manual:Hooks/MovePageCheckPermissions - MediaWiki

MovePageCheckPermissions Available from version 1.25.0
Specify whether the user is allowed to move the page.
Define function:
public static function onMovePageCheckPermissions( Title $oldTitle, Title $newTitle, User $user, $reason, Status $status ) { ... }
Attach hook: In extension.json:
{
	"Hooks": {
		"MovePageCheckPermissions": "MediaWiki\\Extension\\MyExtension\\Hooks::onMovePageCheckPermissions"
	}
}
Called from: File(s): MovePage.php Interface: MovePageCheckPermissionsHook.php

For more information about attaching hooks, see Manual:Hooks .
For examples of extensions using this hook, see Category:MovePageCheckPermissions extensions.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4