r96430 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r96429‎ | r96430 | r96431 >
Date:13:35, 7 September 2011
Author:siebrand
Status:ok
Tags:
Comment:
Follow-up r96420: correct casing for special page to prevent "PHP Notice: Found alias defined for Emailuser when searching for special page aliases for EmailUser. Case mismatch?".
Modified paths:
  • /trunk/phase3/includes/Linker.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Linker.php
@@ -1019,7 +1019,7 @@
10201020 * @private
10211021 */
10221022 static function emailLink( $userId, $userText ) {
1023 - $emailPage = SpecialPage::getTitleFor( 'EmailUser', $userText );
 1023+ $emailPage = SpecialPage::getTitleFor( 'Emailuser', $userText );
10241024 $emailLink = self::link( $emailPage, wfMsgHtml( 'emaillink' ) );
10251025 return $emailLink;
10261026 }

Follow-up revisions

RevisionCommit summaryAuthorDate
r968581.17wmf1: MFT r96430, r96449, r96773reedy16:25, 12 September 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r96420Add constant Linker::TOOL_LINKS_EMAIL to allow adding a "send e-mail" link fr...siebrand12:12, 7 September 2011

Status & tagging log