Файловый менеджер - Редактировать - /var/www/html/mediawiki-1.43.1/includes/content/Hook/JsonValidateSaveHook.php
Ðазад
<?php namespace MediaWiki\Content\Hook; use MediaWiki\Content\JsonContent; use MediaWiki\Page\PageIdentity; use StatusValue; /** * This is a hook handler interface, see docs/Hooks.md. * Use the hook name "JsonValidateSaveHook" to register handlers implementing this interface. * * @stable to implement * @ingroup Hooks */ interface JsonValidateSaveHook { /** * Use this hook to add additional validations for JSON content pages. * This hook is only called if JSON syntax validity and other contentmodel-specific validations * are passing. * * @since 1.39 * * @param JsonContent $content * @param PageIdentity $pageIdentity * @param StatusValue $status Fatal errors only would trigger validation failure as $status is checked with isOK() * @return bool|void True or no return value to continue */ public function onJsonValidateSave( JsonContent $content, PageIdentity $pageIdentity, StatusValue $status ); }
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка