Proof this method is really not called from anywhere else, except the
ImageHandler class itself, and one subclass:
https://codesearch.wmflabs.org/search/?q=%5CSgetScriptParams&i=1
Change-Id: I57e75ce0cb7c9e52d545b8e8226610bcc6e06c44
* @param array $params
* @return array
*/
- function getScriptParams( $params ) {
+ protected function getScriptParams( $params ) {
return [
'width' => $params['width'],
'page' => $params['page'],
}
}
- function getScriptParams( $params ) {
+ protected function getScriptParams( $params ) {
return [ 'width' => $params['width'] ];
}
return $res;
}
- function getScriptParams( $params ) {
+ protected function getScriptParams( $params ) {
$res = parent::getScriptParams( $params );
if ( isset( $params['quality'] ) ) {
$res['quality'] = $params['quality'];
* @param array $params
* @return array
*/
- function getScriptParams( $params ) {
+ protected function getScriptParams( $params ) {
$scriptParams = [ 'width' => $params['width'] ];
if ( isset( $params['lang'] ) ) {
$scriptParams['lang'] = $params['lang'];