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 "Add .gitignore to the /skins directory"
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiQueryLangLinks.php
diff --git
a/includes/api/ApiQueryLangLinks.php
b/includes/api/ApiQueryLangLinks.php
index
aa796e3
..
a20b855
100644
(file)
--- a/
includes/api/ApiQueryLangLinks.php
+++ b/
includes/api/ApiQueryLangLinks.php
@@
-86,9
+86,9
@@
class ApiQueryLangLinks extends ApiQueryBase {
$this->addOption( 'ORDER BY', 'll_lang' . $sort );
} else {
$this->addOption( 'ORDER BY', array(
$this->addOption( 'ORDER BY', 'll_lang' . $sort );
} else {
$this->addOption( 'ORDER BY', array(
-
'll_from' . $sort,
-
'll_lang' . $sort
- ));
+ 'll_from' . $sort,
+ 'll_lang' . $sort
+ )
);
}
}
}
}
@@
-182,7
+182,8
@@
class ApiQueryLangLinks extends ApiQueryBase {
public function getExamples() {
return array(
public function getExamples() {
return array(
- 'api.php?action=query&prop=langlinks&titles=Main%20Page&redirects=' => 'Get interlanguage links from the [[Main Page]]',
+ 'api.php?action=query&prop=langlinks&titles=Main%20Page&redirects='
+ => 'Get interlanguage links from the [[Main Page]]',
);
}
);
}