jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/364127 )

Change subject: Replace a Linker::link call in SpecialArticleFeedbackv5.php
......................................................................


Replace a Linker::link call in SpecialArticleFeedbackv5.php

This raises MediaWiki version requirement to 1.28.0 and bumps the
version number to 5.2.5.

Bug: T149346
Change-Id: I9308f9d410a834cb0c5e70c53614ba3578202f33
---
M SpecialArticleFeedbackv5.php
M extension.json
2 files changed, 6 insertions(+), 3 deletions(-)

Approvals:
  Legoktm: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/SpecialArticleFeedbackv5.php b/SpecialArticleFeedbackv5.php
index 91d95ab..2f447f8 100644
--- a/SpecialArticleFeedbackv5.php
+++ b/SpecialArticleFeedbackv5.php
@@ -493,9 +493,9 @@
                // admins can change settings at page protection
                if ( $this->getUser()->isAllowed( 'aft-administrator' ) ) {
                        $title = Title::newFromID( $this->pageId );
-                       $link = Linker::linkKnown(
+                       $link = $this->getLinkRenderer()->makeKnownLink(
                                $title,
-                               $this->msg( 
'articlefeedbackv5-disabled-admin-button-text' )->escaped(),
+                               $this->msg( 
'articlefeedbackv5-disabled-admin-button-text' )->text(),
                                array( 'class' => 
'articlefeedbackv5-enable-button' ),
                                array( 'action' => 'protect' )
                        );
diff --git a/extension.json b/extension.json
index 1d4ab22..4ed275a 100644
--- a/extension.json
+++ b/extension.json
@@ -1,6 +1,6 @@
 {
        "name": "Article Feedback",
-       "version": "5.2.4",
+       "version": "5.2.5",
        "author": [
                "Greg Chiasson",
                "Reha Sterbin",
@@ -19,6 +19,9 @@
                "Jack Phoenix"
        ],
        "license-name": "GPL-2.0+",
+       "requires": {
+               "MediaWiki": ">= 1.28.0"
+       },
        "url": "https://www.mediawiki.org/wiki/Extension:ArticleFeedbackv5";,
        "descriptionmsg": "articlefeedbackv5-desc",
        "type": "other",

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I9308f9d410a834cb0c5e70c53614ba3578202f33
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/extensions/ArticleFeedbackv5
Gerrit-Branch: master
Gerrit-Owner: Matěj Suchánek <[email protected]>
Gerrit-Reviewer: Jack Phoenix <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to