From cecb985bee3bdd252e1b8dc0bd500b37cd52be01 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Wed, 16 May 2007 20:58:53 +0000 Subject: Aktualisierung auf MediaWiki 1.10.0 Plugins angepasst und verbessert kleine Korrekturen am Design --- includes/LinkBatch.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'includes/LinkBatch.php') diff --git a/includes/LinkBatch.php b/includes/LinkBatch.php index 61e1c040..065c540a 100644 --- a/includes/LinkBatch.php +++ b/includes/LinkBatch.php @@ -4,8 +4,7 @@ * Class representing a list of titles * The execute() method checks them all for existence and adds them to a LinkCache object + - * @package MediaWiki - * @subpackage Cache + * @addtogroup Cache */ class LinkBatch { /** @@ -13,7 +12,7 @@ class LinkBatch { */ var $data = array(); - function LinkBatch( $arr = array() ) { + function __construct( $arr = array() ) { foreach( $arr as $item ) { $this->addObj( $item ); } @@ -120,7 +119,7 @@ class LinkBatch { // Construct query // This is very similar to Parser::replaceLinkHolders - $dbr =& wfGetDB( DB_SLAVE ); + $dbr = wfGetDB( DB_SLAVE ); $page = $dbr->tableName( 'page' ); $set = $this->constructSet( 'page', $dbr ); if ( $set === false ) { -- cgit v1.2.2