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
Merge "Refactor: Use local variables for editsections in Parser"
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiQueryLinks.php
diff --git
a/includes/api/ApiQueryLinks.php
b/includes/api/ApiQueryLinks.php
index
dd816cf
..
71329c4
100644
(file)
--- a/
includes/api/ApiQueryLinks.php
+++ b/
includes/api/ApiQueryLinks.php
@@
-36,7
+36,7
@@
class ApiQueryLinks extends ApiQueryGeneratorBase {
private $table, $prefix, $description, $helpUrl;
private $table, $prefix, $description, $helpUrl;
- public function __construct( $query, $moduleName ) {
+ public function __construct(
ApiQuery
$query, $moduleName ) {
switch ( $moduleName ) {
case self::LINKS:
$this->table = 'pagelinks';
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).";
}
public function getDescription() {
return "Returns all {$this->description}s from the given page(s).";
}