Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3948
fix.diff
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 9:47 PM
2014-11-21 21:47:59 (UTC+0)
Size
547 B
Referenced Files
None
Subscribers
None
fix.diff
View Options
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
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3514
Default Alt Text
fix.diff (547 B)
Attached To
Mode
T12316: javascript variable "skin" defined twice, breaks with &useskin=
Attached
Detach File
Event Timeline
Log In to Comment