https://www.mediawiki.org/beacon with basic information about the local
MediaWiki installation. This data includes, for example, the type of system,
PHP version, and chosen database backend. This behavior is off by default.
-* When $wgEditButtonPublishNotSave is true, MediaWiki will label the button to
- store-to-database-and-show-to-others as "Publish page"/"Publish changes"; if
- false, the default, they will be "Save page"/"Save changes".
+* When $EditSubmitButtonLabelPublish is true, MediaWiki will label the button
+ to store-to-database-and-show-to-others as "Publish page"/"Publish changes";
+ if false, the default, they will be "Save page"/"Save changes".
=== New features in 1.28 ===
* User::isBot() method for checking if an account is a bot role account.
public function getEditButtons( &$tabindex ) {
$buttons = [];
- $labelAsPublish = $this->mArticle->getContext()->getConfig()->get( 'EditButtonPublishNotSave' );
+ $labelAsPublish =
+ $this->mArticle->getContext()->getConfig()->get( 'EditSubmitButtonLabelPublish' );
+
// Can't use $this->isNew as that's also true if we're adding a new section to an extant page
if ( $labelAsPublish ) {
$buttonLabelKey = !$this->mTitle->exists() ? 'publishpage' : 'publishchanges';