Smuggli has uploaded a new change for review.

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

Change subject: Removed use of deprecated method
......................................................................

Removed use of deprecated method

Change-Id: I9dec1558199f1d21c4fbac8fb14a02c38dda983c
---
M RSSStandards/RSSStandards.class.php
1 file changed, 11 insertions(+), 2 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BlueSpiceExtensions 
refs/changes/00/158600/1

diff --git a/RSSStandards/RSSStandards.class.php 
b/RSSStandards/RSSStandards.class.php
index b7a889d..e32d64a 100644
--- a/RSSStandards/RSSStandards.class.php
+++ b/RSSStandards/RSSStandards.class.php
@@ -353,8 +353,17 @@
                        $_hash = $wgRequest->getVal( 'h', '' );
                        if ( !( $user && $_hash == md5( 
$_user.$user->getToken().$user->getId() ) ) || $user->isAnon() ) {
                                $wgOut->setPageTitle( wfMessage( 
'bs-rssstandards-watchnologin' )->plain() );
-                               $llink = $skin->makeKnownLinkObj( 
SpecialPage::getTitleFor( 'Userlogin' ), wfMessage( 'loginreqlink' )->plain(), 
'returnto=' . $specialTitle->getPrefixedUrl() );
-                               $wgOut->addHtml( wfMessage( 
'watchlistanontext', $llink )->plain() );
+
+                               $oTitle = SpecialPage::getTitleFor( 'Userlogin' 
);
+                               $sLink = Linker::link(
+                                       $oTitle,
+                                       wfMessage( 'loginreqlink' )->plain(),
+                                       array(),
+                                       array(
+                                               'returnto' => 
$specialTitle->getPrefixedUrl()
+                                       )
+                               );
+                               $wgOut->addHtml( wfMessage( 
'watchlistanontext', $sLink )->plain() );
                                return;
                        }
                } else {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9dec1558199f1d21c4fbac8fb14a02c38dda983c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions
Gerrit-Branch: master
Gerrit-Owner: Smuggli <mug...@hallowelt.biz>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to