From 6c507f38c0cd10cc75825a83759bc284009f0748 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Mon, 19 Dec 2011 19:07:18 +0000 Subject: [PATCH] Followup r106619, mark said method public due to callers --- includes/context/RequestContext.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/context/RequestContext.php b/includes/context/RequestContext.php index c57399ded6..15280e6e5a 100644 --- a/includes/context/RequestContext.php +++ b/includes/context/RequestContext.php @@ -149,7 +149,7 @@ class RequestContext implements IContextSource { * @param $code string * @return string */ - static function sanitizeLangCode( $code ) { + public static function sanitizeLangCode( $code ) { global $wgLanguageCode; // BCP 47 - letter case MUST NOT carry meaning -- 2.20.1