summaryrefslogtreecommitdiff
path: root/maintenance/updateArticleCount.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2007-05-16 20:58:53 +0000
committerPierre Schmitz <pierre@archlinux.de>2007-05-16 20:58:53 +0000
commitcecb985bee3bdd252e1b8dc0bd500b37cd52be01 (patch)
tree17266aa237742640aabee7856f0202317a45d540 /maintenance/updateArticleCount.php
parent0bac06c301f2a83edb0236e4c2434da16848d549 (diff)
Aktualisierung auf MediaWiki 1.10.0
Plugins angepasst und verbessert kleine Korrekturen am Design
Diffstat (limited to 'maintenance/updateArticleCount.php')
-rw-r--r--maintenance/updateArticleCount.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/maintenance/updateArticleCount.php b/maintenance/updateArticleCount.php
index 112274d2..03c7939c 100644
--- a/maintenance/updateArticleCount.php
+++ b/maintenance/updateArticleCount.php
@@ -4,8 +4,7 @@
* Maintenance script to provide a better count of the number of articles
* and update the site statistics table, if desired
*
- * @package MediaWiki
- * @subpackage Maintenance
+ * @addtogroup Maintenance
* @author Rob Church <robchur@gmail.com>
*/
@@ -28,7 +27,7 @@ if( $result !== false ) {
echo( "found {$result}.\n" );
if( isset( $options['update'] ) && $options['update'] ) {
echo( "Updating site statistics table... " );
- $dbw =& wfGetDB( DB_MASTER );
+ $dbw = wfGetDB( DB_MASTER );
$dbw->update( 'site_stats', array( 'ss_good_articles' => $result ), array( 'ss_row_id' => 1 ), __METHOD__ );
echo( "done.\n" );
} else {