From: Derk-Jan Hartman Date: Mon, 30 Mar 2015 19:29:09 +0000 (+0200) Subject: Remove last remnants of pre-1.16 live preview X-Git-Tag: 1.31.0-rc.0~4817^2 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=4853491d0478fb00d34df711bdd024bc3f6f8d0b;p=lhc%2Fweb%2Fwiklou.git 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 --- 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',