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 /includes/LinkBatch.php | |
parent | 0bac06c301f2a83edb0236e4c2434da16848d549 (diff) |
Aktualisierung auf MediaWiki 1.10.0
Plugins angepasst und verbessert
kleine Korrekturen am Design
Diffstat (limited to 'includes/LinkBatch.php')
-rw-r--r-- | includes/LinkBatch.php | 7 |
1 files changed, 3 insertions, 4 deletions
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 ) { |