* (bug 17751) The message for bad titles in WantedPages is now localized
* (bug 17860) Moving a page in the "MediaWiki" namespace using SuppressRedirect
no longer corrupts the message cache
+* (bug 17900) Fixed User Groups interface log display after saving groups.
== API changes in 1.15 ==
* (bug 16858) Revamped list=deletedrevs to make listing deleted contributions
// save settings
if( $wgRequest->getCheck( 'saveusergroups' ) ) {
$reason = $wgRequest->getVal( 'user-reason' );
- if( $wgUser->matchEditToken( $wgRequest->getVal( 'wpEditToken' ), $this->mTarget ) ) {
+ $tok = $wgRequest->getVal( 'wpEditToken' );
+ if( $wgUser->matchEditToken( $tok, $this->mTarget ) ) {
$this->saveUserGroups(
$this->mTarget,
$reason
);
+
+ global $wgOut;
+
+ $url = $this->getTitle( $this->mTarget )->getFullURL();
+ $wgOut->redirect( $url );
+ return;
}
}
}