Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F2754
1.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 9:12 PM
2014-11-21 21:12:24 (UTC+0)
Size
857 B
Referenced Files
None
Subscribers
None
1.patch
View Options
Index: includes/LogPage.php
===================================================================
--- includes/LogPage.php (revision 13665)
+++ includes/LogPage.php (working copy)
@@ -202,13 +202,17 @@
$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 {
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2328
Default Alt Text
1.patch (857 B)
Attached To
Mode
T7592: Set the logs fixed text in Recent Changes as the site language, not the user's one
Attached
Detach File
Event Timeline
Log In to Comment