Preferences: Use session data instead of URL parameter for success
authorFomafix <fomafix@googlemail.com>
Sat, 9 Jan 2016 22:41:46 +0000 (22:41 +0000)
committer[[mw:User:Fomafix]] <gerritpatchuploader@gmail.com>
Sat, 9 Jan 2016 22:41:46 +0000 (22:41 +0000)
commit486bc2073a09adfa6f6ff8279a31bc4b87eb452d
tree8ad1e74fe99b4e0a8b6ae096f72ee3480fc87764
parent381a6ce691840437c6a449fe52bfd6dacb80af2d
Preferences: Use session data instead of URL parameter for success

The session data gets set in the POST and gets deleted in the GET.

This change avoids changing the URL for the success message.
A reload of the page does not show the success message again.

The URL manipulation in mediawiki.special.preferences.js is superfluous.

Bug: T26700
Change-Id: I1c2b011e7a66b2b9379dd4a3fdcc6f978dd43b52
includes/Preferences.php
includes/specials/SpecialPreferences.php
resources/src/mediawiki.special/mediawiki.special.preferences.js