load.php5 support for r72349
This commit is contained in:
parent
1f0fe78c1f
commit
967541fdc7
3 changed files with 4 additions and 3 deletions
|
|
@ -2285,9 +2285,9 @@ class OutputPage {
|
|||
);
|
||||
// Automatically select style/script elements
|
||||
if ( $only === 'styles' ) {
|
||||
return Html::linkedStyle( wfAppendQuery( $wgScriptPath . '/load.php', $query ) );
|
||||
return Html::linkedStyle( wfAppendQuery( wfScript( 'load' ), $query ) );
|
||||
} else {
|
||||
return Html::linkedScript( wfAppendQuery( $wgScriptPath . '/load.php', $query ) );
|
||||
return Html::linkedScript( wfAppendQuery( wfScript( 'load' ), $query ) );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@
|
|||
* ) );
|
||||
* @example
|
||||
* // Responds to a resource loading request
|
||||
* ResourceLoader::respond( $wgRequest, $wgServer . $wgScriptPath . '/load.php' );
|
||||
* ResourceLoader::respond( $wgRequest, $wgServer . wfScript( 'load' ) );
|
||||
*/
|
||||
class ResourceLoader {
|
||||
/* Protected Static Members */
|
||||
|
|
|
|||
1
load.php5
Normal file
1
load.php5
Normal file
|
|
@ -0,0 +1 @@
|
|||
<?php require './load.php';
|
||||
Loading…
Reference in a new issue