Page MenuHomePhabricator
Authored By
bzimport
Nov 21 2014, 9:47 PM
Size
547 B
Referenced Files
None
Subscribers
None

fix.diff

Index: Skin.php
===================================================================
--- Skin.php (wersja 23693)
+++ Skin.php (kopia robocza)
@@ -413,7 +413,7 @@
global $wgStylePath;
$s = "/* generated javascript */\n";
- $s .= "var skin = '{$this->skinname}';\nvar stylepath = '{$wgStylePath}';";
+ $s .= "if (!window.skin) { var skin = '{$this->skinname}';\nvar stylepath = '{$wgStylePath}'; }";
$s .= "\n\n/* MediaWiki:Common.js */\n";
$commonJs = wfMsgForContent('common.js');
if ( !wfEmptyMsg ( 'common.js', $commonJs ) ) {

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3514
Default Alt Text
fix.diff (547 B)

Event Timeline