From 42efc39812a2f3ce9bf29a78fa7b6023df35046f Mon Sep 17 00:00:00 2001 From: Sergey Kharchenko Date: Fri, 28 May 2021 15:18:02 +0300 Subject: [PATCH 1/2] Updated oauth2-client version from 2.0.0 to 2.6.0 --- vendors/oauth2-client | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendors/oauth2-client b/vendors/oauth2-client index 0b32264..badb01e 160000 --- a/vendors/oauth2-client +++ b/vendors/oauth2-client @@ -1 +1 @@ -Subproject commit 0b3226498c87a737366211b1a5b745d73a5717e2 +Subproject commit badb01e62383430706433191b82506b6df24ad98 From 1f0cc6836b301112566a0129300dba11367802b6 Mon Sep 17 00:00:00 2001 From: Dominic Hock Date: Sat, 3 Jun 2023 23:06:05 +0200 Subject: [PATCH 2/2] chore: apply getPageTitle('redirect') fix Signed-off-by: Dominic Hock --- SpecialOAuth2Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SpecialOAuth2Client.php b/SpecialOAuth2Client.php index e9a263d..0d3e0a9 100644 --- a/SpecialOAuth2Client.php +++ b/SpecialOAuth2Client.php @@ -142,7 +142,7 @@ private function _default(){ $wgOut->setPagetitle( wfMessage( 'oauth2client-login-header', $service_name)->text() ); if ( !$wgUser->isLoggedIn() ) { $wgOut->addWikiMsg( 'oauth2client-you-can-login-to-this-wiki-with-oauth2', $service_name ); - $wgOut->addWikiMsg( 'oauth2client-login-with-oauth2', $this->getTitle( 'redirect' )->getPrefixedURL(), $service_name ); + $wgOut->addWikiMsg( 'oauth2client-login-with-oauth2', $this->getPageTitle('redirect')->getPrefixedURL(), $service_name ); } else { $wgOut->addWikiMsg( 'oauth2client-youre-already-loggedin' );