BryanDavis has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/404909 )

Change subject: Move status to the start of the management screen
......................................................................

Move status to the start of the management screen

Make the current status easier to see by presenting it as the first
information in the management screen. I often read through a whole
application only to find out that it has already been approved by
another administrator, and I'm lazy so I'd like to have those 60 seconds
back.

Change-Id: I5355c2d9ebd5071c10e6ff6d744cc734721dfc6e
---
M frontend/specialpages/SpecialMWOAuthManageConsumers.php
1 file changed, 7 insertions(+), 7 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/OAuth 
refs/changes/09/404909/1

diff --git a/frontend/specialpages/SpecialMWOAuthManageConsumers.php 
b/frontend/specialpages/SpecialMWOAuthManageConsumers.php
index 73463e1..f305f6c 100644
--- a/frontend/specialpages/SpecialMWOAuthManageConsumers.php
+++ b/frontend/specialpages/SpecialMWOAuthManageConsumers.php
@@ -257,6 +257,13 @@
                                        'type' => 'info',
                                        'raw' => true,
                                        'default' => 
MWOAuthUIUtils::generateInfoTable( [
+                                               // Messages: 
mwoauth-consumer-stage-proposed, mwoauth-consumer-stage-rejected,
+                                               // 
mwoauth-consumer-stage-expired, mwoauth-consumer-stage-approved,
+                                               // 
mwoauth-consumer-stage-disabled
+                                               'mwoauth-consumer-stage' => 
$cmr->get( 'deleted' )
+                                                       ? $this->msg( 
'mwoauth-consumer-stage-suppressed' )
+                                                       : $this->msg( 
'mwoauth-consumer-stage-' .
+                                                               
MWOAuthConsumer::$stageNames[$cmr->get( 'stage' )] ),
                                                'mwoauth-consumer-key' => 
$cmr->get( 'consumerKey' ),
                                                'mwoauth-consumer-name' => new 
HtmlSnippet( $cmr->get( 'name', function ( $s ) {
                                                        $link = 
\Linker::linkKnown(
@@ -287,13 +294,6 @@
                                                
'mwoauth-consumer-restrictions-json' => $restrictions instanceof 
\MWRestrictions ?
                                                        $restrictions->toJson( 
true ) : $restrictions,
                                                'mwoauth-consumer-rsakey' => 
$cmr->get( 'rsaKey' ),
-                                               // Messages: 
mwoauth-consumer-stage-proposed, mwoauth-consumer-stage-rejected,
-                                               // 
mwoauth-consumer-stage-expired, mwoauth-consumer-stage-approved,
-                                               // 
mwoauth-consumer-stage-disabled
-                                               'mwoauth-consumer-stage' => 
$cmr->get( 'deleted' )
-                                                       ? $this->msg( 
'mwoauth-consumer-stage-suppressed' )
-                                                       : $this->msg( 
'mwoauth-consumer-stage-' .
-                                                               
MWOAuthConsumer::$stageNames[$cmr->get( 'stage' )] ),
                                        ], $this->getContext() ),
                                ],
                                'action' => [

-- 
To view, visit https://gerrit.wikimedia.org/r/404909
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5355c2d9ebd5071c10e6ff6d744cc734721dfc6e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/OAuth
Gerrit-Branch: master
Gerrit-Owner: BryanDavis <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to