jenkins-bot has submitted this change and it was merged.

Change subject: Fix typo in special page name
......................................................................


Fix typo in special page name

Userlogin is referenced via an alias, not its real name. This causes
a warning which can break the authentication process on a development
wiki where warnings result in HTML tables with error messages
prepended to the response.

Change-Id: I2dbe82a0d61e52671307d325c3fbdb328e1a7a25
---
M frontend/specialpages/SpecialMWOAuth.php
1 file changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/frontend/specialpages/SpecialMWOAuth.php 
b/frontend/specialpages/SpecialMWOAuth.php
index 31e07b6..b72fe7e 100644
--- a/frontend/specialpages/SpecialMWOAuth.php
+++ b/frontend/specialpages/SpecialMWOAuth.php
@@ -78,7 +78,7 @@
                                                        'oauth_token'        => 
$requestToken,
                                                        'oauth_consumer_key' => 
$consumerKey
                                                ) );
-                                               $loginPage = 
\SpecialPage::getTitleFor( 'UserLogin' );
+                                               $loginPage = 
\SpecialPage::getTitleFor( 'Userlogin' );
                                                $url = $loginPage->getLocalURL( 
$query );
                                                $this->getOutput()->redirect( 
$url );
                                        } else {

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I2dbe82a0d61e52671307d325c3fbdb328e1a7a25
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/OAuth
Gerrit-Branch: master
Gerrit-Owner: GergÅ‘ Tisza <[email protected]>
Gerrit-Reviewer: Anomie <[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