Index: trunk/phase3/includes/specials/SpecialUserrights.php |
— | — | @@ -96,11 +96,18 @@ |
97 | 97 | // save settings |
98 | 98 | if( $wgRequest->getCheck( 'saveusergroups' ) ) { |
99 | 99 | $reason = $wgRequest->getVal( 'user-reason' ); |
100 | | - if( $wgUser->matchEditToken( $wgRequest->getVal( 'wpEditToken' ), $this->mTarget ) ) { |
| 100 | + $tok = $wgRequest->getVal( 'wpEditToken' ); |
| 101 | + if( $wgUser->matchEditToken( $tok, $this->mTarget ) ) { |
101 | 102 | $this->saveUserGroups( |
102 | 103 | $this->mTarget, |
103 | 104 | $reason |
104 | 105 | ); |
| 106 | + |
| 107 | + global $wgOut; |
| 108 | + |
| 109 | + $url = $this->getTitle( $this->mTarget )->getFullURL(); |
| 110 | + $wgOut->redirect( $url ); |
| 111 | + return; |
105 | 112 | } |
106 | 113 | } |
107 | 114 | } |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -257,6 +257,7 @@ |
258 | 258 | * (bug 17751) The message for bad titles in WantedPages is now localized |
259 | 259 | * (bug 17860) Moving a page in the "MediaWiki" namespace using SuppressRedirect |
260 | 260 | no longer corrupts the message cache |
| 261 | +* (bug 17900) Fixed User Groups interface log display after saving groups. |
261 | 262 | |
262 | 263 | == API changes in 1.15 == |
263 | 264 | * (bug 16858) Revamped list=deletedrevs to make listing deleted contributions |