mAllowedRedirectParams = array( 'width', 'height' ); } // implement by redirecting through Special:Redirect/file function getRedirect( $par ) { return SpecialPage::getSafeTitleFor( 'Redirect', 'file/' . $par ); } protected function getGroupName() { return 'media'; } }