Gergő Tisza has uploaded a new change for review.

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

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

Fix typo in special page name

Userlogin is references 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(-)


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

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

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

Reply via email to