Index: trunk/phase3/includes/OutputPage.php |
— | — | @@ -2285,9 +2285,9 @@ |
2286 | 2286 | ); |
2287 | 2287 | // Automatically select style/script elements |
2288 | 2288 | if ( $only === 'styles' ) { |
2289 | | - return Html::linkedStyle( wfAppendQuery( $wgScriptPath . '/load.php', $query ) ); |
| 2289 | + return Html::linkedStyle( wfAppendQuery( wfScript( 'load' ), $query ) ); |
2290 | 2290 | } else { |
2291 | | - return Html::linkedScript( wfAppendQuery( $wgScriptPath . '/load.php', $query ) ); |
| 2291 | + return Html::linkedScript( wfAppendQuery( wfScript( 'load' ), $query ) ); |
2292 | 2292 | } |
2293 | 2293 | } |
2294 | 2294 | |
Index: trunk/phase3/includes/ResourceLoader.php |
— | — | @@ -58,7 +58,7 @@ |
59 | 59 | * ) ); |
60 | 60 | * @example |
61 | 61 | * // Responds to a resource loading request |
62 | | - * ResourceLoader::respond( $wgRequest, $wgServer . $wgScriptPath . '/load.php' ); |
| 62 | + * ResourceLoader::respond( $wgRequest, $wgServer . wfScript( 'load' ) ); |
63 | 63 | */ |
64 | 64 | class ResourceLoader { |
65 | 65 | /* Protected Static Members */ |
Index: trunk/phase3/load.php5 |
— | — | @@ -0,0 +1 @@ |
| 2 | +<?php require './load.php'; |
\ No newline at end of file |
Property changes on: trunk/phase3/load.php5 |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 3 | + native |