r27022 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r27021‎ | r27022 | r27023 >
Date:18:46, 29 October 2007
Author:rotem
Status:old
Tags:
Comment:
Adding direction mark in Special:Protectedpages, between the page name and the size.
Modified paths:
  • /trunk/phase3/includes/SpecialProtectedpages.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialProtectedpages.php
@@ -52,7 +52,7 @@
5353 * Callback function to output a restriction
5454 */
5555 function formatRow( $row ) {
56 - global $wgUser, $wgLang;
 56+ global $wgUser, $wgLang, $wgContLang;
5757
5858 wfProfileIn( __METHOD__ );
5959
@@ -89,6 +89,7 @@
9090 $stxt = ' <small>' . wfMsgHtml('historyempty') . '</small>';
9191 else
9292 $stxt = ' <small>' . wfMsgHtml('historysize', $wgLang->formatNum( $size ) ) . '</small>';
 93+ $stxt = $wgContLang->getDirMark() . $stxt;
9394 }
9495 wfProfileOut( __METHOD__ );
9596

Status & tagging log