Файловый менеджер - Редактировать - /var/www/html/mediawiki-1.43.1/includes/skins/Hook/SkinEditSectionLinksHook.php
Ðазад
<?php namespace MediaWiki\Hook; use MediaWiki\Language\Language; use MediaWiki\Title\Title; use Skin; /** * This is a hook handler interface, see docs/Hooks.md. * Use the hook name "SkinEditSectionLinks" to register handlers implementing this interface. * * @stable to implement * @ingroup Hooks */ interface SkinEditSectionLinksHook { /** * Use this hook to modify section edit links. * * @since 1.35 * * @param Skin $skin Skin object rendering the UI * @param Title $title Title being linked to (may not be the same as the page title, * if the section is included from a template) * @param string $section Designation of the section being pointed to, to be included in * the link, like "§ion=$section" * @param string $sectionTitle Section title, used in the default tooltip. Escape before using. * By default, this is wrapped in the 'editsectionhint' message. * @param array &$result Array containing all link detail arrays. Each link detail array should * contain the following keys: * - `targetTitle`: Target Title object * - `text`: String for the text * - `attribs`: Array of attributes * - `query`: Array of query parameters to add to the URL * @param Language $lang Language to use for the link in the wfMessage function * @return bool|void True or no return value to continue or false to abort */ public function onSkinEditSectionLinks( $skin, $title, $section, $sectionTitle, &$result, $lang ); }
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка