* installer: cleanly outputbuffer when dieing out
* Add $wgReservedUsernames configuration directive to block account creation/use
* (bug 5576) Remove debugging hack in session check
-
+* (bug 5426) Lowercase treatment of titles in rights log leads to broken links on Special:Log
== Compatibility ==
* @static
*/
function actionText( $type, $action, $title = NULL, $skin = NULL, $params = array(), $filterWikilinks=false, $translate=false ) {
- global $wgLang;
+ global $wgLang, $wgContLang;
+ wfDebug( "LogPage::actionText called with title = {$title}, action = {$action}\n" );
static $actions = array(
'block/block' => 'blocklogentry',
'block/unblock' => 'unblocklogentry',
$titleLink .= ' (' . $skin->makeKnownLinkObj( Title::makeTitle( NS_SPECIAL, 'Contributions/' . $title->getDBkey() ), wfMsg( 'contribslink' ) ) . ')';
}
break;
+ case 'rights':
+ $text = $wgContLang->ucfirst( $title->getText() );
+ $titleLink = $skin->makeLinkObj( Title::makeTitle( NS_USER, $text ) );
+ break;
default:
$titleLink = $skin->makeLinkObj( $title );
}
'setstewardflag' => 'Set steward flag',
'bureaucratlog' => 'Bureaucrat_log',
'rightslogtext' => 'This is a log of changes to user rights.',
-'bureaucratlogentry' => "Changed group membership for $1 from $2 to $3",
+'bureaucratlogentry' => 'changed group membership for $1 from $2 to $3',
'rights' => 'Rights:',
'set_user_rights' => 'Set user rights',
'user_rights_set' => "<b>User rights for \"$1\" updated</b>",