blob: 4d0ccb5853af810208b2362ebd586126c1866591 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<?php
require_once( 'commandLine.inc' );
$dbr =& wfGetDB( DB_SLAVE );
$row = $dbr->selectRow( 'old', array( 'old_flags', 'old_text' ), array( 'old_id' => $args[0] ) );
$obj = unserialize( $row->old_text );
if ( get_class( $obj ) == 'concatenatedgziphistoryblob' ) {
print_r( array_keys( $obj->mItems ) );
} else {
var_dump( $obj );
}
?>
|