r61593 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r61592‎ | r61593 | r61594 >
Date:19:18, 27 January 2010
Author:catrope
Status:ok
Tags:
Comment:
wmf-deployment: UsabilityInitiative_alpha: Hack paths
Modified paths:
  • /branches/wmf-deployment/extensions/UsabilityInitiative_alpha/UsabilityInitiative.hooks.php (modified) (history)

Diff [purge]

Index: branches/wmf-deployment/extensions/UsabilityInitiative_alpha/UsabilityInitiative.hooks.php
@@ -146,7 +146,7 @@
147147 $src = "$wgScriptPath{$script['src']}";
148148 } else {
149149 // Path is relative to $wgExtensionAssetsPath
150 - $src = "$wgExtensionAssetsPath/UsabilityInitiative/{$script['src']}";
 150+ $src = "$wgExtensionAssetsPath/UsabilityInitiative_alpha/{$script['src']}";
151151 }
152152 $version = isset( $script['version'] ) ? $script['version'] : $wgStyleVersion;
153153 $out->addScriptFile( $src, $version );
@@ -176,7 +176,7 @@
177177 'rel' => 'stylesheet',
178178 'type' => 'text/css',
179179 'href' => $wgExtensionAssetsPath .
180 - "/UsabilityInitiative/" .
 180+ "/UsabilityInitiative_alpha/" .
181181 "{$style['src']}?{$style['version']}",
182182 )
183183 );

Status & tagging log