edits up to a certain edit, and not just the latest edit..
* Made MessageRo.php more general
* (bug 5640) Indonesian localisation improvements
+* (bug 5592) Actions are logged with the default language for the
+ wiki, not the language of the user performing the operation.
== Compatibility ==
$titleLink = $title->getPrefixedText();
}
if( count( $params ) == 0 ) {
- $rv = wfMsg( $actions[$key], $titleLink );
+ if ( $skin ) {
+ $rv = wfMsg( $actions[$key], $titleLink );
+ } else {
+ $rv = wfMsgForContent( $actions[$key], $titleLink );
+ }
} else {
array_unshift( $params, $titleLink );
if ( $translate && $key == 'block/block' ) {
$params[1] = $wgLang->translateBlockExpiry($params[1]);
}
- $rv = wfMsgReal( $actions[$key], $params, true, false ); // FIXME: use wfMsgForContent() ?
+ $rv = wfMsgReal( $actions[$key], $params, true, !$skin );
}
}
} else {