r92137 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r92136‎ | r92137 | r92138 >
Date:02:01, 14 July 2011
Author:robin
Status:deferred
Tags:
Comment:
merge r92131 as this bug is also present in 1.18
Modified paths:
  • /branches/REL1_18/phase3/includes/specials/SpecialUserlogin.php (modified) (history)

Diff [purge]

Index: branches/REL1_18/phase3/includes/specials/SpecialUserlogin.php
@@ -1156,7 +1156,7 @@
11571157 $lang = trim( $lang, '* ' );
11581158 $parts = explode( '|', $lang );
11591159 if ( count( $parts ) >= 2 ) {
1160 - $links[] = $this->makeLanguageSelectorLink( $parts[0], $parts[1] );
 1160+ $links[] = $this->makeLanguageSelectorLink( $parts[0], trim( $parts[1] ) );
11611161 }
11621162 }
11631163 return count( $links ) > 0 ? wfMsgHtml( 'loginlanguagelabel', $wgLang->pipeList( $links ) ) : '';

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r92131* Fix r80248: login language links included a newline in the URL (%0D) so the...robin01:13, 14 July 2011

Status & tagging log