MediaWiki master
JsonValidateSaveHook.php
Go to the documentation of this file.
1<?php
2
4
8
29 public function onJsonValidateSave( JsonContent $content, PageIdentity $pageIdentity, StatusValue $status );
30}
JSON text content that can be viewed and edit directly by users.
Generic operation result class Has warning/error list, boolean status and arbitrary value.
This is a hook handler interface, see docs/Hooks.md.
onJsonValidateSave(JsonContent $content, PageIdentity $pageIdentity, StatusValue $status)
Use this hook to add additional validations for JSON content pages.
Interface for objects (potentially) representing an editable wiki page.