r106672 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r106671‎ | r106672 | r106673 >
Date:19:07, 19 December 2011
Author:reedy
Status:ok
Tags:
Comment:
Followup r106619, mark said method public due to callers
Modified paths:
  • /trunk/phase3/includes/context/RequestContext.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/context/RequestContext.php
@@ -149,7 +149,7 @@
150150 * @param $code string
151151 * @return string
152152 */
153 - static function sanitizeLangCode( $code ) {
 153+ public static function sanitizeLangCode( $code ) {
154154 global $wgLanguageCode;
155155
156156 // BCP 47 - letter case MUST NOT carry meaning

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r106619@private is a lie, based on usage, it'd need to be at least protected...reedy01:07, 19 December 2011

Status & tagging log