* (bug 14763) Child classes of Database (DatabasePostgres and DatabaseOracle)
had stict standards issues with setFakeSlaveLag() and setFakeMaster().
* (bug 451) Improve the phrase mappings of the Chinese converter arrays.
+* (bug 12487) Rights log is not fully internationalized
=== API changes in 1.13 ===
if( $key == 'rights/rights' ) {
if ($skin) {
$rightsnone = wfMsg( 'rightsnone' );
+ foreach ( $params as &$param ) {
+ $groupArray = array_map( 'trim', explode( ',', $param ) );
+ $groupArray = array_map( array( 'User', 'getGroupName' ), $groupArray );
+ $param = $wgLang->listToText( $groupArray );
+ }
} else {
$rightsnone = wfMsgForContent( 'rightsnone' );
}
* @param $groups Array: Array of groups the user is in
*/
protected function showEditUserGroupsForm( $user, $groups ) {
- global $wgOut, $wgUser;
+ global $wgOut, $wgUser, $wgLang;
list( $addable, $removable ) = $this->splitGroups( $groups );
$grouplist = '';
if( count( $list ) > 0 ) {
- $grouplist = Xml::tags( 'p', null, wfMsgHtml( 'userrights-groupsmember' ) . ' ' . implode( ', ', $list ) );
+ $grouplist = wfMsgHtml( 'userrights-groupsmember' );
+ $grouplist = '<p>' . $grouplist . ' ' . $wgLang->listToText( $list ) . '</p>';
}
$wgOut->addHTML(
Xml::openElement( 'form', array( 'method' => 'post', 'action' => $this->getTitle()->getLocalURL(), 'name' => 'editGroup', 'id' => 'mw-userrights-form2' ) ) .