X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryLinks.php;h=71329c4d4134c9f7af0a903cc69cea1a50a38ae5;hb=3df54a1ae005ee6f101ae964fc2c8fd9709b4a1e;hp=dd816cfee5bbbef86a9415ef81a73311c66050c5;hpb=97a4ad455f836f779a056a4a53e57227b3ad0d1e;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryLinks.php b/includes/api/ApiQueryLinks.php index dd816cfee5..71329c4d41 100644 --- a/includes/api/ApiQueryLinks.php +++ b/includes/api/ApiQueryLinks.php @@ -36,7 +36,7 @@ class ApiQueryLinks extends ApiQueryGeneratorBase { private $table, $prefix, $description, $helpUrl; - public function __construct( $query, $moduleName ) { + public function __construct( ApiQuery $query, $moduleName ) { switch ( $moduleName ) { case self::LINKS: $this->table = 'pagelinks'; @@ -223,15 +223,6 @@ class ApiQueryLinks extends ApiQueryGeneratorBase { ); } - public function getResultProperties() { - return array( - '' => array( - 'ns' => 'namespace', - 'title' => 'string' - ) - ); - } - public function getDescription() { return "Returns all {$this->description}s from the given page(s)."; }