diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2007-05-16 20:58:53 +0000 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2007-05-16 20:58:53 +0000 |
commit | cecb985bee3bdd252e1b8dc0bd500b37cd52be01 (patch) | |
tree | 17266aa237742640aabee7856f0202317a45d540 /maintenance/dumpReplayLog.php | |
parent | 0bac06c301f2a83edb0236e4c2434da16848d549 (diff) |
Aktualisierung auf MediaWiki 1.10.0
Plugins angepasst und verbessert
kleine Korrekturen am Design
Diffstat (limited to 'maintenance/dumpReplayLog.php')
-rw-r--r-- | maintenance/dumpReplayLog.php | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/maintenance/dumpReplayLog.php b/maintenance/dumpReplayLog.php index aa1d5b9a..07749f41 100644 --- a/maintenance/dumpReplayLog.php +++ b/maintenance/dumpReplayLog.php @@ -1,7 +1,6 @@ <?php /** - * @package MediaWiki - * @subpackage Maintenance + * @addtogroup Maintenance */ error_reporting(E_ALL); @@ -11,7 +10,7 @@ require_once( 'includes/SpecialExport.php' ); /** */ function dumpReplayLog( $start ) { - $dbw =& wfGetDB( DB_MASTER ); + $dbw = wfGetDB( DB_MASTER ); $recentchanges = $dbw->tableName( 'recentchanges' ); $result =& $dbw->safeQuery( "SELECT * FROM $recentchanges WHERE rc_timestamp >= " . $dbw->timestamp( $start ) . ' ORDER BY rc_timestamp'); @@ -34,7 +33,7 @@ function dumpReplayEntry( $row ) { case RC_EDIT: case RC_NEW: # Edit - $dbr =& wfGetDB( DB_MASTER ); + $dbr = wfGetDB( DB_MASTER ); $out = " <edit>\n"; $out .= " <title>" . xmlsafe( $title->getPrefixedText() ) . "</title>\n"; @@ -65,7 +64,7 @@ function dumpReplayEntry( $row ) { $out .= " </edit>\n"; break; case RC_LOG: - $dbr =& wfGetDB( DB_MASTER ); + $dbr = wfGetDB( DB_MASTER ); $s = $dbr->selectRow( 'logging', array( 'log_type', 'log_action', 'log_timestamp', 'log_user', 'log_namespace', 'log_title', 'log_comment' ), |