r57388 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r57387‎ | r57388 | r57389 >
Date:15:34, 5 October 2009
Author:werdna
Status:ok
Tags:
Comment:
Include wgScriptExtension in exported JS vars
Modified paths:
  • /trunk/phase3/includes/Skin.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Skin.php
@@ -355,7 +355,7 @@
356356 # Weird back-compat stuff.
357357 $skinName = $skinName['skinname'];
358358 }
359 - global $wgScript, $wgTitle, $wgStylePath, $wgUser;
 359+ global $wgScript, $wgTitle, $wgStylePath, $wgUser, $wgScriptExtension;
360360 global $wgArticlePath, $wgScriptPath, $wgServer, $wgContLang, $wgLang;
361361 global $wgCanonicalNamespaceNames, $wgOut, $wgArticle;
362362 global $wgBreakFrames, $wgRequest, $wgVariantArticlePath, $wgActionPaths;
@@ -385,6 +385,7 @@
386386 'stylepath' => $wgStylePath,
387387 'wgArticlePath' => $wgArticlePath,
388388 'wgScriptPath' => $wgScriptPath,
 389+ 'wgScriptExtension' => $wgScriptExtension,
389390 'wgScript' => $wgScript,
390391 'wgVariantArticlePath' => $wgVariantArticlePath,
391392 'wgActionPaths' => (object)$wgActionPaths,

Follow-up revisions

RevisionCommit summaryAuthorDate
r57395Merge r57388 and r57389 (LiquidThreads AJAX watching)werdna19:35, 5 October 2009

Status & tagging log