Remove last remnants of pre-1.16 live preview
authorDerk-Jan Hartman <hartman.wiki@gmail.com>
Mon, 30 Mar 2015 19:29:09 +0000 (21:29 +0200)
committerDerk-Jan Hartman <hartman.wiki@gmail.com>
Mon, 26 Sep 2016 14:03:46 +0000 (16:03 +0200)
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

index 406673d..2321bde 100644 (file)
@@ -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',