$wgLang -> $wgContLang. Thanks siebrand.
authorChad Horohoe <demon@users.mediawiki.org>
Tue, 27 Jan 2009 20:35:44 +0000 (20:35 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Tue, 27 Jan 2009 20:35:44 +0000 (20:35 +0000)
includes/filerepo/File.php

index 1b0fb71..4ea9c28 100644 (file)
@@ -1068,7 +1068,7 @@ abstract class File {
         * Get the HTML text of the description page, if available
         */
        function getDescriptionText() {
-               global $wgMemc, $wgLang;
+               global $wgMemc, $wgContLang;
                if ( !$this->repo->fetchDescription ) {
                        return false;
                }