diff options
Diffstat (limited to 'maintenance/attribute.php')
-rw-r--r-- | maintenance/attribute.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/maintenance/attribute.php b/maintenance/attribute.php index 3326180c..4f575cba 100644 --- a/maintenance/attribute.php +++ b/maintenance/attribute.php @@ -2,8 +2,7 @@ /** * Script for re-attributing edits * - * @package MediaWiki - * @subpackage Maintenance + * @addtogroup Maintenance */ /** */ @@ -23,7 +22,7 @@ if ( count( $args ) < 2 ) { $source = $args[0]; $dest = $args[1]; -$dbr =& wfGetDB( DB_SLAVE ); +$dbr = wfGetDB( DB_SLAVE ); extract( $dbr->tableNames( 'page', 'revision','user' )); $eSource = $dbr->strencode( $source ); $eDest = $dbr->strencode( $dest ); |