From 04854a4b41720d5ff9d9e8b8bddb7464664d3bb9 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Tue, 3 Dec 2013 15:46:51 +0100 Subject: [PATCH] Localise brackets in log entry Change-Id: Idd9eff2f09f8764dbc8cc958a0165f1a94983cc6 --- includes/logging/LogPage.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/includes/logging/LogPage.php b/includes/logging/LogPage.php index 35fb7cc26c..7f87dc24fc 100644 --- a/includes/logging/LogPage.php +++ b/includes/logging/LogPage.php @@ -289,7 +289,11 @@ class LogPage { // Cascading flag... if ( $params[2] ) { - $details .= ' [' . wfMessage( 'protect-summary-cascade' )->inLanguage( $langObj )->text() . ']'; + $text = wfMessage( 'protect-summary-cascade' ) + ->inLanguage( $langObj )->text(); + $details .= ' '; + $details .= wfMessage( 'brackets', $text )->inLanguage( $langObj )->text(); + } } -- 2.20.1