http://www.mediawiki.org/wiki/Special:Code/MediaWiki/88167

Revision: 88167
Author:   platonides
Date:     2011-05-15 12:37:50 +0000 (Sun, 15 May 2011)
Log Message:
-----------
Move $wgContLang out of the switch

Modified Paths:
--------------
    trunk/phase3/includes/media/FormatMetadata.php

Modified: trunk/phase3/includes/media/FormatMetadata.php
===================================================================
--- trunk/phase3/includes/media/FormatMetadata.php      2011-05-15 12:36:21 UTC 
(rev 88166)
+++ trunk/phase3/includes/media/FormatMetadata.php      2011-05-15 12:37:50 UTC 
(rev 88167)
@@ -847,9 +847,9 @@
                * 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.


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to