}
}
- function getScriptParams( $params ) {
+ protected function getScriptParams( $params ) {
return [ 'width' => $params['width'] ];
}
* @param File $file
* @return string
*/
- function getLongDesc( $file ) {
+ public function getLongDesc( $file ) {
global $wgLang;
$pages = $file->pageCount();
$size = htmlspecialchars( $wgLang->formatSize( $file->getSize() ) );