for debugging
authorTim Starling <tstarling@users.mediawiki.org>
Sun, 12 Dec 2004 06:25:08 +0000 (06:25 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Sun, 12 Dec 2004 06:25:08 +0000 (06:25 +0000)
maintenance/dumpRev.php [new file with mode: 0644]

diff --git a/maintenance/dumpRev.php b/maintenance/dumpRev.php
new file mode 100644 (file)
index 0000000..e42b90a
--- /dev/null
@@ -0,0 +1,8 @@
+<?
+require_once( 'commandLine.inc' );
+$dbr =& wfGetDB( DB_SLAVE );
+$row = $dbr->selectRow( 'old', array( 'old_flags', 'old_text' ), array( 'old_id' => 52 ) );
+$obj = unserialize( $row->old_text );
+print_r( array_keys( $obj->mItems ) );
+
+?>