r24636 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24635‎ | r24636 | r24637 >
Date:22:34, 6 August 2007
Author:raymond
Status:old
Tags:
Comment:
Message 'alreadyloggedin' since a long time not used in MediaWiki core, only 1 usage the in OpenID extension.
Moving message to OpenID and rename it to stick with the naming convention.
Modified paths:
  • /trunk/extensions/OpenID/Consumer.php (modified) (history)
  • /trunk/extensions/OpenID/OpenID.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesEn.php (modified) (history)
  • /trunk/phase3/maintenance/language/messages.inc (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/language/messages.inc
@@ -340,7 +340,6 @@
341341 'yourdomainname',
342342 'externaldberror',
343343 'loginproblem',
344 - 'alreadyloggedin',
345344 'login',
346345 'loginprompt',
347346 'userlogin',
Index: trunk/phase3/languages/messages/MessagesEn.php
@@ -811,7 +811,6 @@
812812 'yourdomainname' => 'Your domain:',
813813 'externaldberror' => 'There was either an external authentication database error or you are not allowed to update your external account.',
814814 'loginproblem' => '<b>There has been a problem with your login.</b><br />Try again!',
815 -'alreadyloggedin' => '<strong>User $1, you are already logged in!</strong><br />',
816815 'login' => 'Log in',
817816 'loginprompt' => 'You must have cookies enabled to log in to {{SITENAME}}.',
818817 'userlogin' => 'Log in / create account',
Index: trunk/extensions/OpenID/Consumer.php
@@ -631,7 +631,7 @@
632632 $wgOut->setPageTitle( wfMsg( 'openiderror' ) );
633633 $wgOut->setRobotpolicy( 'noindex,nofollow' );
634634 $wgOut->setArticleRelated( false );
635 - $wgOut->addWikiText( wfMsg( 'alreadyloggedin', $wgUser->getName() ) );
 635+ $wgOut->addWikiText( wfMsg( 'openidalreadyloggedin', $wgUser->getName() ) );
636636 $wgOut->returnToMain( $auto );
637637 }
638638
Index: trunk/extensions/OpenID/OpenID.php
@@ -87,6 +87,8 @@
8888 'openidconvertsuccesstext' => 'You have successfully converted your OpenID to $1.',
8989 'openidconvertyourstext' => 'That is already your OpenID.',
9090 'openidconvertothertext' => 'That is someone else\'s OpenID.',
 91+ 'openidalreadyloggedin' => '<strong>User $1, you are already logged in!</strong>',
 92+
9193 ));
9294
9395 SpecialPage::AddPage(new UnlistedSpecialPage('OpenIDLogin'));

Follow-up revisions

RevisionCommit summaryAuthorDate
r24705Merged revisions 24632-24693 via svnmerge from...david19:15, 9 August 2007

Status & tagging log