Use wgEditSubmitButtonLabelPublish from upstream

Change-Id: I772a21025771f82cdb7260e53996c2c6fd6fa718
Depends-On: I065f733bd8b27bda68023cd1b718e257fd135aa2
This commit is contained in:
James D. Forrester 2018-01-17 11:07:46 -08:00
parent 31e7006610
commit b083e07a5d

View file

@ -68,10 +68,6 @@ class VisualEditorHooks {
$output->addJsConfigVars( 'wgVisualEditorToolbarScrollOffset', $toolbarScrollOffset ); $output->addJsConfigVars( 'wgVisualEditorToolbarScrollOffset', $toolbarScrollOffset );
$output->addJsConfigVars( 'wgVisualEditorUnsupportedEditParams', self::$unsupportedEditParams ); $output->addJsConfigVars( 'wgVisualEditorUnsupportedEditParams', self::$unsupportedEditParams );
$output->addJsConfigVars(
'wgEditSubmitButtonLabelPublish',
$veConfig->get( 'EditSubmitButtonLabelPublish' )
);
return true; return true;
} }