mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
Use wgEditSubmitButtonLabelPublish from upstream
Change-Id: I772a21025771f82cdb7260e53996c2c6fd6fa718 Depends-On: I065f733bd8b27bda68023cd1b718e257fd135aa2
This commit is contained in:
parent
31e7006610
commit
b083e07a5d
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue