X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=includes%2FEditPage.php;h=7908fcc585088a9566b901588abe64e322af353f;hb=81c91fd493fd52926b454826d621c60b7818503f;hp=2d5b9e20b585cf57020feb354d571d22afa507e2;hpb=2e1ac38485b9c78890944413cba074474c06bd34;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/EditPage.php b/includes/EditPage.php index 2d5b9e20b5..7908fcc585 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -2934,7 +2934,7 @@ ERROR; } if ( !$this->mTitle->isUserConfigPage() ) { - $out->addHTML( self::getEditToolbar( $this->mTitle ) ); + $out->addHTML( self::getEditToolbar() ); } if ( $this->blankArticle ) { @@ -4101,10 +4101,9 @@ ERROR; /** * 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 = '
'; $toolbar = $startingToolbar; @@ -4360,33 +4359,6 @@ ERROR; $out->addReturnTo( $this->getContextTitle(), [ 'action' => 'edit' ] ); } - /** - * Filter an input field through a Unicode de-armoring process if it - * came from an old browser with known broken Unicode editing issues. - * - * @deprecated since 1.30, does nothing - * - * @param WebRequest $request - * @param string $field - * @return string - */ - protected function safeUnicodeInput( $request, $field ) { - return rtrim( $request->getText( $field ) ); - } - - /** - * Filter an output field through a Unicode armoring process if it is - * going to an old browser with known broken Unicode editing issues. - * - * @deprecated since 1.30, does nothing - * - * @param string $text - * @return string - */ - protected function safeUnicodeOutput( $text ) { - return $text; - } - /** * @since 1.29 */