r67642 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r67641‎ | r67642 | r67643 >
Date:17:39, 8 June 2010
Author:yaron
Status:deferred
Tags:
Comment:
Added necessary declaration for $wgLanguageCode global variable
Modified paths:
  • /trunk/extensions/SemanticForms/specials/SF_UploadWindow2.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/specials/SF_UploadWindow2.php
@@ -949,8 +949,9 @@
950950 // body created by the form, plus the necessary Javascript files,
951951 // and turning them into an HTML page
952952 global $wgOut, $wgUser, $wgTitle, $wgJsMimeType,
953 - $wgStylePath, $wgStyleVersion,
 953+ $wgLanguageCode, $wgStylePath, $wgStyleVersion,
954954 $wgXhtmlDefaultNamespace, $wgXhtmlNamespaces, $wgContLang;
 955+
955956 $wgOut->disable();
956957 $sk = $wgUser->getSkin();
957958 $sk->initPage( $wgOut ); // need to call this to set skin name correctly

Status & tagging log