Don't show the "permissions error" page after a user self-removes rights
authorAlexandre Emsenhuber <ialex.wiki@gmail.com>
Mon, 3 Jun 2013 06:40:54 +0000 (08:40 +0200)
committerAaron Schulz <aschulz@wikimedia.org>
Mon, 10 Jun 2013 21:24:43 +0000 (21:24 +0000)
commit360fc1ffe364b7ef39fc55f584464ccbcedaa05e
treece29de6ac48233e24430b0e41c1967b244f190ac
parent41bd1fee921eeb802ed2cea9431be479eb51a0ba
Don't show the "permissions error" page after a user self-removes rights

- Instead show a message saying that it will no longer be able to access this page
- Added a "success=1" parameter to URL the user is redirected to after making changes
  on that page to catch those cases

bug: 48609
Change-Id: I4f42713ccec647b1d6ff11c2714d645973750579
includes/specials/SpecialUserrights.php
languages/messages/MessagesEn.php
languages/messages/MessagesQqq.php
maintenance/language/messages.inc