* Indonesian (id) localisation updates.
[lhc/web/wiklou.git] / maintenance / storage / dumpRev.php
1 <?php
2
3 require_once( dirname(__FILE__) . '/../commandLine.inc' );
4
5 $dbr = wfGetDB( DB_SLAVE );
6 $row = $dbr->selectRow( 'text', array( 'old_flags', 'old_text' ), array( 'old_id' => $args[0] ) );
7 $obj = unserialize( $row->old_text );
8
9 if ( get_class( $obj ) == 'concatenatedgziphistoryblob' ) {
10 print_r( array_keys( $obj->mItems ) );
11 } else {
12 var_dump( $obj );
13 }
14
15 ?>