Файловый менеджер - Редактировать - /var/www/html/mediawiki-1.43.1/extensions/BounceHandler/includes/EchoBounceHandlerPresentationModel.php
Ðазад
<?php namespace MediaWiki\Extension\BounceHandler; use MediaWiki\Extension\Notifications\Formatters\EchoEventPresentationModel; use MediaWiki\SpecialPage\SpecialPage; class EchoBounceHandlerPresentationModel extends EchoEventPresentationModel { /** * @inheritDoc */ public function getIconType() { return 'placeholder'; } /** * @inheritDoc */ public function getPrimaryLink() { return [ 'url' => SpecialPage::getTitleFor( 'Confirmemail' )->getFullURL(), 'label' => $this->msg( 'notification-link-text-change-email' )->text(), ]; } /** * @inheritDoc */ public function getHeaderMessage() { $msg = parent::getHeaderMessage(); // params 1 & 2 are automatically added by parent, but for this // notification they'll always be null & won't be used in any message; // below messages with be param 3 & 4 $msg->params( $this->event->getExtraParam( 'failed-email' ) ); $msg->params( $this->getViewingUserForGender() ); return $msg; } }
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка