From 4853491d0478fb00d34df711bdd024bc3f6f8d0b Mon Sep 17 00:00:00 2001 From: Derk-Jan Hartman Date: Mon, 30 Mar 2015 21:29:09 +0200 Subject: [PATCH] Remove last remnants of pre-1.16 live preview This breaks the unmaintained extension ForcePreview. We left this in back then, but it doesn't seem it has found a maintainer since then and has been broken since that time. Change-Id: Icecfb3d70fadde0f5886438d85b736a0adad9798 --- includes/EditPage.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/includes/EditPage.php b/includes/EditPage.php index 406673dee2..2321bdea01 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -4121,7 +4121,7 @@ HTML /** * Returns an array of html code of the following buttons: - * save, diff, preview and live + * save, diff and preview * * @param int $tabindex Current tabindex * @@ -4155,7 +4155,6 @@ HTML ] + Linker::tooltipAndAccesskeyAttribs( 'preview' ); $buttons['preview'] = Html::submitButton( $this->context->msg( 'showpreview' )->text(), $attribs ); - $buttons['live'] = ''; $attribs = [ 'id' => 'wpDiff', -- 2.20.1