From 866ec67de998c2de7f7b6c6821bc51331f18aa6c Mon Sep 17 00:00:00 2001 From: Rotem Liss Date: Mon, 29 Oct 2007 18:46:03 +0000 Subject: [PATCH] Adding direction mark in Special:Protectedpages, between the page name and the size. --- includes/SpecialProtectedpages.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/SpecialProtectedpages.php b/includes/SpecialProtectedpages.php index 122ca8fc98..60a8d6027f 100644 --- a/includes/SpecialProtectedpages.php +++ b/includes/SpecialProtectedpages.php @@ -52,7 +52,7 @@ class ProtectedPagesForm { * Callback function to output a restriction */ function formatRow( $row ) { - global $wgUser, $wgLang; + global $wgUser, $wgLang, $wgContLang; wfProfileIn( __METHOD__ ); @@ -89,6 +89,7 @@ class ProtectedPagesForm { $stxt = ' ' . wfMsgHtml('historyempty') . ''; else $stxt = ' ' . wfMsgHtml('historysize', $wgLang->formatNum( $size ) ) . ''; + $stxt = $wgContLang->getDirMark() . $stxt; } wfProfileOut( __METHOD__ ); -- 2.20.1