Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F4018
blockLogLinks.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Authored By
•
bzimport
Nov 21 2014, 9:49 PM
2014-11-21 21:49:29 (UTC+0)
Size
1 KB
Referenced Files
None
Subscribers
None
blockLogLinks.patch
View Options
Index: includes/LogPage.php
===================================================================
--- includes/LogPage.php (revision 24312)
+++ includes/LogPage.php (working copy)
@@ -139,7 +139,7 @@
* @static
*/
static function actionText( $type, $action, $title = NULL, $skin = NULL, $params = array(), $filterWikilinks=false, $translate=false ) {
- global $wgLang, $wgContLang, $wgLogActions;
+ global $wgLang, $wgContLang, $wgLogActions, $wgOut;
$key = "$type/$action";
@@ -161,8 +161,7 @@
if( substr( $title->getText(), 0, 1 ) == '#' ) {
$titleLink = $title->getText();
} else {
- $titleLink = $skin->makeLinkObj( $title, $title->getText() );
- $titleLink .= ' (' . $skin->makeKnownLinkObj( SpecialPage::getTitleFor( 'Contributions', $title->getDBkey() ), wfMsg( 'contribslink' ) ) . ')';
+ $titleLink = wfMsgExt("blockloguserlinks", 'parseinline', $title->getText() );
}
break;
case 'rights':
Index: languages/messages/MessagesEn.php
===================================================================
--- languages/messages/MessagesEn.php (revision 24312)
+++ languages/messages/MessagesEn.php (working copy)
@@ -1304,6 +1304,9 @@
'rightslogentry' => 'changed group membership for $1 from $2 to $3',
'rightsnone' => '(none)',
+# Block log
+'blockloguserlinks' => '[[{{ns:user}}:$1|$1]] ([[{{ns:user_talk}}:$1|talk]] | [[Special:Contributions/$1|contribs]])',
+
# Recent changes
'nchanges' => '$1 {{PLURAL:$1|change|changes}}',
'recentchanges' => 'Recent changes',
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3584
Default Alt Text
blockLogLinks.patch (1 KB)
Attached To
Mode
T12655: Link to talk page in block log message
Attached
Detach File
Event Timeline
Log In to Comment