From ea02cda0d6953dbfc4f8349e11616a56b12713d7 Mon Sep 17 00:00:00 2001 From: Ebrahim Byagowi Date: Sat, 20 Jul 2013 00:09:02 +0000 Subject: [PATCH] Tweak Special:Log/block for supporting RTL wikis dir="ltr" was added to make block durations on Special:Log/block readable for non-local admins, While removing it, I used a solution to keep block duration on title readable for non-local admins and making inner text readable for local users Change-Id: I31aef50196319be7355ad14657e67ca23fc15e20 --- includes/logging/LogPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/logging/LogPage.php b/includes/logging/LogPage.php index 521cb8a48f..cc473c18fc 100644 --- a/includes/logging/LogPage.php +++ b/includes/logging/LogPage.php @@ -262,7 +262,7 @@ class LogPage { // User suppression if ( preg_match( '/^(block|suppress)\/(block|reblock)$/', $key ) ) { if ( $skin ) { - $params[1] = '' . + $params[1] = '' . $wgLang->translateBlockExpiry( $params[1] ) . ''; } else { $params[1] = $wgContLang->translateBlockExpiry( $params[1] ); -- 2.20.1