No code uses this parameter:
https://codesearch.wmflabs.org/search/?q=getEditToolbar
I suggest to skip any deprecation because of this.
It might be worth mentioning this in the release notes anyway, or is
it?
Change-Id: I5d47c22fa741df5f9c248e4e1bff2d6e97aca6a7
}
if ( !$this->mTitle->isUserConfigPage() ) {
- $out->addHTML( self::getEditToolbar( $this->mTitle ) );
+ $out->addHTML( self::getEditToolbar() );
}
if ( $this->blankArticle ) {
/**
* Allow extensions to provide a toolbar.
*
- * @param Title|null $title Title object for the page being edited (optional)
* @return string|null
*/
- public static function getEditToolbar( $title = null ) {
+ public static function getEditToolbar() {
$startingToolbar = '<div id="toolbar"></div>';
$toolbar = $startingToolbar;