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/orphans.php | |
parent | 0bac06c301f2a83edb0236e4c2434da16848d549 (diff) |
Aktualisierung auf MediaWiki 1.10.0
Plugins angepasst und verbessert
kleine Korrekturen am Design
Diffstat (limited to 'maintenance/orphans.php')
-rw-r--r-- | maintenance/orphans.php | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/maintenance/orphans.php b/maintenance/orphans.php index 3bfa79f5..0729a239 100644 --- a/maintenance/orphans.php +++ b/maintenance/orphans.php @@ -24,8 +24,7 @@ * Man this is depressing. * * @author <brion@pobox.com> - * @package MediaWiki - * @subpackage Maintenance + * @addtogroup Maintenance */ $options = array( 'fix' ); @@ -41,7 +40,7 @@ checkSeparation( isset( $options['fix'] ) ); # ------ function checkOrphans( $fix ) { - $dbw =& wfGetDB( DB_MASTER ); + $dbw = wfGetDB( DB_MASTER ); $page = $dbw->tableName( 'page' ); $revision = $dbw->tableName( 'revision' ); @@ -92,7 +91,7 @@ function checkOrphans( $fix ) { * but valid revisions do exist) */ function checkWidows( $fix ) { - $dbw =& wfGetDB( DB_MASTER ); + $dbw = wfGetDB( DB_MASTER ); $page = $dbw->tableName( 'page' ); $revision = $dbw->tableName( 'revision' ); @@ -135,7 +134,7 @@ function checkWidows( $fix ) { function checkSeparation( $fix ) { - $dbw =& wfGetDB( DB_MASTER ); + $dbw = wfGetDB( DB_MASTER ); $page = $dbw->tableName( 'page' ); $revision = $dbw->tableName( 'revision' ); $text = $dbw->tableName( 'text' ); |