From: Platonides Date: Sun, 15 May 2011 12:37:50 +0000 (+0000) Subject: Move $wgContLang out of the switch X-Git-Tag: 1.31.0-rc.0~30157 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=e97891c16201b67ef42872db5df8afc4ec023c1d;p=lhc%2Fweb%2Fwiklou.git Move $wgContLang out of the switch --- diff --git a/includes/media/FormatMetadata.php b/includes/media/FormatMetadata.php index 296d0e92a3..bce13a00a0 100644 --- a/includes/media/FormatMetadata.php +++ b/includes/media/FormatMetadata.php @@ -847,9 +847,9 @@ class FormatMetadata { * languages, we don't want to show them all by default */ else { + global $wgContLang; switch( $type ) { case 'lang': - global $wgContLang; // Display default, followed by ContLang, // followed by the rest in no particular // order.