From b083e07a5ddef6b1b5c97bda2e1c08bb154caffa Mon Sep 17 00:00:00 2001 From: "James D. Forrester" Date: Wed, 17 Jan 2018 11:07:46 -0800 Subject: [PATCH] Use wgEditSubmitButtonLabelPublish from upstream Change-Id: I772a21025771f82cdb7260e53996c2c6fd6fa718 Depends-On: I065f733bd8b27bda68023cd1b718e257fd135aa2 --- VisualEditor.hooks.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/VisualEditor.hooks.php b/VisualEditor.hooks.php index ebd7463ce8..efb3660c67 100644 --- a/VisualEditor.hooks.php +++ b/VisualEditor.hooks.php @@ -68,10 +68,6 @@ class VisualEditorHooks { $output->addJsConfigVars( 'wgVisualEditorToolbarScrollOffset', $toolbarScrollOffset ); $output->addJsConfigVars( 'wgVisualEditorUnsupportedEditParams', self::$unsupportedEditParams ); - $output->addJsConfigVars( - 'wgEditSubmitButtonLabelPublish', - $veConfig->get( 'EditSubmitButtonLabelPublish' ) - ); return true; }