mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-23 23:44:53 +00:00
Move EchoOOUI namespace to MediaWiki\Extension\Notifications\OOUI
Bug: T305667 Change-Id: Ibd9bb70b714acfb34ae89960c0e1e44ead5d997d
This commit is contained in:
parent
f9c1a0fedb
commit
3555ea1089
|
@ -1160,7 +1160,6 @@
|
|||
"EchoUpdatePerUserBlacklist": "maintenance/updatePerUserBlacklist.php"
|
||||
},
|
||||
"AutoloadNamespaces": {
|
||||
"EchoOOUI\\": "includes/ooui/",
|
||||
"EchoPush\\": "includes/Push/",
|
||||
"EchoPush\\Api\\": "includes/api/Push/",
|
||||
"MediaWiki\\Extension\\Notifications\\": "includes/"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace EchoOOUI;
|
||||
namespace MediaWiki\Extension\Notifications\OOUI;
|
||||
|
||||
use OOUI\IconElement;
|
||||
use OOUI\LabelElement;
|
|
@ -1,5 +1,7 @@
|
|||
<?php
|
||||
|
||||
use MediaWiki\Extension\Notifications\OOUI\LabelIconWidget;
|
||||
|
||||
class SpecialNotifications extends SpecialPage {
|
||||
|
||||
/**
|
||||
|
@ -125,7 +127,7 @@ class SpecialNotifications extends SpecialPage {
|
|||
$markReadSpecialPage->setContext( $this->getContext() );
|
||||
|
||||
$markAllAsReadText = $this->msg( 'echo-mark-all-as-read' )->text();
|
||||
$markAllAsReadLabelIcon = new EchoOOUI\LabelIconWidget( [
|
||||
$markAllAsReadLabelIcon = new LabelIconWidget( [
|
||||
'label' => $markAllAsReadText,
|
||||
'icon' => 'checkAll',
|
||||
] );
|
||||
|
@ -167,7 +169,7 @@ class SpecialNotifications extends SpecialPage {
|
|||
$out->addJsConfigVars( 'wgEchoReadState', 'unread' );
|
||||
|
||||
$markReadSectionText = $this->msg( 'echo-specialpage-section-markread' )->text();
|
||||
$markAsReadLabelIcon = new EchoOOUI\LabelIconWidget( [
|
||||
$markAsReadLabelIcon = new LabelIconWidget( [
|
||||
'label' => $markReadSectionText,
|
||||
'icon' => 'checkAll',
|
||||
] );
|
||||
|
|
Loading…
Reference in a new issue