Paul Littlefield
Paul Littlefield

Reputation: 183

How to disable "Your edit was saved" popup?

When using the MediaWiki software, how do you disable the popup saying "Your edit was saved." from appearing?

Upvotes: 1

Views: 176

Answers (1)

Rainer Rillke
Rainer Rillke

Reputation: 1321

This feature has been created after A/B testing to provide users a feedback that their edit indeed has been saved. The module providing this functionality was unconditionally loaded, while now it's only loaded if a cookie, was set in EditPage.php. It will trigger a label/popup on the next page loading with action=view (the default action). There was an HTML snippet, while now, HTML is generated by JavaScript mediawiki.action.view.postEdit.js.

2 ways to get rid of it:

  • As a server administrator (and you'll have to remember to re-install this hack after upgrading): Remove the line loading the module mediawiki.action.view.postEdit - this will possibly save you a few bytes bandwidth, too.
  • As a site administrator: Hide the message by adding the following to MediaWiki:Common.css:
.postedit {
      display: none;
}

Upvotes: 2

Related Questions