Файловый менеджер - Редактировать - /var/www/html/mediawiki-1.43.1/includes/widget/NamespacesMultiselectWidget.php
Ðазад
<?php namespace MediaWiki\Widget; /** * Widget to select multiple namespaces. * * @copyright 2017 MediaWiki Widgets Team and others; see AUTHORS.txt * @license MIT */ class NamespacesMultiselectWidget extends TagMultiselectWidget { /** @var bool|null */ protected $allowEditTags = null; /** * @param array $config Configuration options * - bool $config['allowEditTags'] Allow editing of the tags by clicking them */ public function __construct( array $config = [] ) { parent::__construct( $config ); if ( isset( $config['allowEditTags'] ) ) { $this->allowEditTags = $config['allowEditTags']; } $this->addClasses( [ 'mw-widgets-namespacesMultiselectWidget' ] ); } protected function getJavaScriptClassName() { return 'mw.widgets.NamespacesMultiselectWidget'; } public function getConfig( &$config ) { if ( $this->allowEditTags !== null ) { $config['allowEditTags'] = $this->allowEditTags; } return parent::getConfig( $config ); } }
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка