Aude has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/97214


Change subject: Replace usage of deprecated Linker::makeKnownLinkObj function
......................................................................

Replace usage of deprecated Linker::makeKnownLinkObj function

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


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

diff --git a/frontend/specialpages/SpecialMWOAuthManageConsumers.php 
b/frontend/specialpages/SpecialMWOAuthManageConsumers.php
index e81b0b6..3805ac0 100644
--- a/frontend/specialpages/SpecialMWOAuthManageConsumers.php
+++ b/frontend/specialpages/SpecialMWOAuthManageConsumers.php
@@ -163,7 +163,7 @@
                        $out->addHTML(
                                '<li>' .
                                "<$tag>" .
-                               Linker::makeKnownLinkObj(
+                               Linker::linkKnown(
                                        $this->getTitle( $stageKey ),
                                        // Messages: 
mwoauthmanageconsumers-q-proposed, mwoauthmanageconsumers-q-rejected,
                                        // mwoauthmanageconsumers-q-expired
@@ -180,7 +180,7 @@
                foreach ( $keyStageMapL as $stageKey => $stage ) {
                        $out->addHTML(
                                '<li>' .
-                               Linker::makeKnownLinkObj(
+                               Linker::linkKnown(
                                        $this->getTitle( $stageKey ),
                                        // Messages: 
mwoauthmanageconsumers-l-approved, mwoauthmanageconsumers-l-disabled
                                        $this->msg( 'mwoauthmanageconsumers-l-' 
. $stageKey )->escaped()

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

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

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

Reply via email to