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 "Don't cast SpecialPageFactory::$list to an object"
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiQueryExternalLinks.php
diff --git
a/includes/api/ApiQueryExternalLinks.php
b/includes/api/ApiQueryExternalLinks.php
index
e3a7be3
..
9566635
100644
(file)
--- a/
includes/api/ApiQueryExternalLinks.php
+++ b/
includes/api/ApiQueryExternalLinks.php
@@
-141,24
+141,10
@@
class ApiQueryExternalLinks extends ApiQueryBase {
);
}
);
}
- public function getResultProperties() {
- return array(
- '' => array(
- '*' => 'string'
- )
- );
- }
-
public function getDescription() {
return 'Returns all external URLs (not interwikis) from the given page(s).';
}
public function getDescription() {
return 'Returns all external URLs (not interwikis) from the given page(s).';
}
- public function getPossibleErrors() {
- return array_merge( parent::getPossibleErrors(), array(
- array( 'code' => 'bad_query', 'info' => 'Invalid query' ),
- ) );
- }
-
public function getExamples() {
return array(
'api.php?action=query&prop=extlinks&titles=Main%20Page'
public function getExamples() {
return array(
'api.php?action=query&prop=extlinks&titles=Main%20Page'