resourceloader: Remove deprecated ResourceLoader::makeLoaderURL()
Deprecated since MediaWiki 1.24. Not used anywhere in Wikimedia Git. Change-Id: I9d9b356fd61f13112e85cbe659b337ecb3c92088
This commit is contained in:
parent
0124c6ce75
commit
c57d68a38d
2 changed files with 2 additions and 29 deletions
|
|
@ -70,6 +70,7 @@ changes to languages because of Phabricator reports.
|
|||
* SiteConfiguration::isLocalVHost() was removed (deprecated since 1.25).
|
||||
* The 'UserLoginComplete' hook has a new parameter to differentiate between actual
|
||||
login and visiting the login page while already logged in.
|
||||
* ResourceLoader::makeLoaderURL() was removed (deprecated since 1.24).
|
||||
|
||||
== Compatibility ==
|
||||
|
||||
|
|
|
|||
|
|
@ -1468,34 +1468,6 @@ MESSAGE;
|
|||
return wfAppendQuery( $script, $query );
|
||||
}
|
||||
|
||||
/**
|
||||
* Build a load.php URL
|
||||
* @deprecated since 1.24 Use createLoaderURL() instead
|
||||
* @param array $modules Array of module names (strings)
|
||||
* @param string $lang Language code
|
||||
* @param string $skin Skin name
|
||||
* @param string|null $user User name. If null, the &user= parameter is omitted
|
||||
* @param string|null $version Versioning timestamp
|
||||
* @param bool $debug Whether the request should be in debug mode
|
||||
* @param string|null $only &only= parameter
|
||||
* @param bool $printable Printable mode
|
||||
* @param bool $handheld Handheld mode
|
||||
* @param array $extraQuery Extra query parameters to add
|
||||
* @return string URL to load.php. May be protocol-relative if $wgLoadScript is, too.
|
||||
*/
|
||||
public static function makeLoaderURL( $modules, $lang, $skin, $user = null,
|
||||
$version = null, $debug = false, $only = null, $printable = false,
|
||||
$handheld = false, $extraQuery = []
|
||||
) {
|
||||
global $wgLoadScript;
|
||||
|
||||
$query = self::makeLoaderQuery( $modules, $lang, $skin, $user, $version, $debug,
|
||||
$only, $printable, $handheld, $extraQuery
|
||||
);
|
||||
|
||||
return wfAppendQuery( $wgLoadScript, $query );
|
||||
}
|
||||
|
||||
/**
|
||||
* Helper for createLoaderURL()
|
||||
*
|
||||
|
|
@ -1522,7 +1494,7 @@ MESSAGE;
|
|||
|
||||
/**
|
||||
* Build a query array (array representation of query string) for load.php. Helper
|
||||
* function for makeLoaderURL().
|
||||
* function for createLoaderURL().
|
||||
*
|
||||
* @param array $modules
|
||||
* @param string $lang
|
||||
|
|
|
|||
Loading…
Reference in a new issue