dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MessageCache: Avoid 'contributions' replicas
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiQuery.php
diff --git
a/includes/api/ApiQuery.php
b/includes/api/ApiQuery.php
index
5395bf0
..
e6f3fc4
100644
(file)
--- a/
includes/api/ApiQuery.php
+++ b/
includes/api/ApiQuery.php
@@
-24,6
+24,8
@@
* @file
*/
* @file
*/
+use Wikimedia\Rdbms\IDatabase;
+
/**
* This is the main query class. It behaves similar to ApiMain: based on the
* parameters given, it will create a list of titles to work on (an ApiPageSet
/**
* This is the main query class. It behaves similar to ApiMain: based on the
* parameters given, it will create a list of titles to work on (an ApiPageSet
@@
-168,7
+170,7
@@
class ApiQuery extends ApiBase {
* @param string $name Name to assign to the database connection
* @param int $db One of the DB_* constants
* @param array $groups Query groups
* @param string $name Name to assign to the database connection
* @param int $db One of the DB_* constants
* @param array $groups Query groups
- * @return Database
+ * @return
I
Database
*/
public function getNamedDB( $name, $db, $groups ) {
if ( !array_key_exists( $name, $this->mNamedDB ) ) {
*/
public function getNamedDB( $name, $db, $groups ) {
if ( !array_key_exists( $name, $this->mNamedDB ) ) {