r11937 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r11936‎ | r11937 | r11938 >
Date:00:00, 4 December 2005
Author:hashar
Status:old
Tags:
Comment:
better history
Modified paths:
  • /trunk/phase3/maintenance/mcc.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/mcc.php
@@ -138,7 +138,9 @@
139139
140140 case 'history':
141141 if ( function_exists( 'readline_list_history' ) ) {
142 - print_r(readline_list_history());
 142+ foreach( readline_list_history() as $num => $line) {
 143+ print "$num: $line\n";
 144+ }
143145 } else {
144146 print "readline_list_history() not available\n";
145147 }

Status & tagging log