r97775 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r97774‎ | r97775 | r97776 >
Date:00:38, 22 September 2011
Author:aaron
Status:ok
Tags:
Comment:
Fixed wtf from r97771
Modified paths:
  • /branches/wmf/1.18wmf1/includes/resourceloader/ResourceLoaderFileModule.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.18wmf1/includes/resourceloader/ResourceLoaderFileModule.php
@@ -150,10 +150,10 @@
151151 {
152152 global $IP, $wgScriptPath, $wgResourceBasePath;
153153 $this->localBasePath = $localBasePath === null ? $IP : $localBasePath;
154 - if ( $wgResourceBasePath !== null ) {
155 - $this->remoteBasePath = $wgResourceBasePath;
 154+ if ( $remoteBasePath !== null ) {
 155+ $this->remoteBasePath = $remoteBasePath;
156156 } else {
157 - $this->remoteBasePath = $remoteBasePath === null ? $wgScriptPath : $remoteBasePath;
 157+ $this->remoteBasePath = $wgResourceBasePath === null ? $wgScriptPath : $wgResourceBasePath;
158158 }
159159
160160 if ( isset( $options['remoteExtPath'] ) ) {

Follow-up revisions

RevisionCommit summaryAuthorDate
r98760Merge r97771, r97775reedy13:37, 3 October 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r97771Hacked in $wgResourceBasePath variable for setting the default base path for ...aaron00:06, 22 September 2011

Status & tagging log