r64352 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r64351‎ | r64352 | r64353 >
Date:18:48, 29 March 2010
Author:demon
Status:ok
Tags:
Comment:
Use $wgStylePath instead of hardcoding /skins. Still getting escaped though.
Modified paths:
  • /branches/new-installer/phase3/includes/installer/Installer.php (modified) (history)

Diff [purge]

Index: branches/new-installer/phase3/includes/installer/Installer.php
@@ -178,15 +178,15 @@
179179 ),
180180 'pd' => array(
181181 'url' => 'http://creativecommons.org/licenses/publicdomain/',
182 - 'icon' => '${wgScriptPath}/skins/common/images/public-domain.png',
 182+ 'icon' => '{$wgStylePath}/common/images/public-domain.png',
183183 ),
184184 'gfdl-old' => array(
185185 'url' => 'http://www.gnu.org/licenses/old-licenses/fdl-1.2.html',
186 - 'icon' => '${wgScriptPath}/skins/common/images/gnu-fdl.png',
 186+ 'icon' => '{$wgStylePath}/common/images/gnu-fdl.png',
187187 ),
188188 'gfdl-current' => array(
189189 'url' => 'http://www.gnu.org/copyleft/fdl.html',
190 - 'icon' => '${wgScriptPath}/skins/common/images/gnu-fdl.png',
 190+ 'icon' => '{$wgStylePath}/common/images/gnu-fdl.png',
191191 ),
192192 'cc-choose' => array(
193193 // details will be filled in by the selector

Status & tagging log