From mediawiki.org
This page is a translated version of the page Manual:Hooks/MovePageCheckPermissions and the translation is 25% complete.
Erhältlich ab Version 1.25.0
Specify whether the user is allowed to move the page.
Funktion definieren:
public static function onMovePageCheckPermissions( Title $oldTitle, Title $newTitle, User $user, $reason, Status $status ) { ... }
Haken anbringen: In extension.json:
	"Hooks": {
		"MovePageCheckPermissions": "MyExtensionHooks::onMovePageCheckPermissions"
Angerufen von: Datei(en): MovePage.php
Interface: MovePageCheckPermissionsHook.php

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


  • $oldTitle: Title object of the current (old) location
  • $newTitle: Title object of the new location
  • $user: User making the move
  • $reason: string of the reason provided by the user
  • $status: Status object to pass error messages to