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 "Setting tooltip gravity to 's' so that the tooltip shows above"
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiQueryLangLinks.php
diff --git
a/includes/api/ApiQueryLangLinks.php
b/includes/api/ApiQueryLangLinks.php
index
e6b02d7
..
aa796e3
100644
(file)
--- a/
includes/api/ApiQueryLangLinks.php
+++ b/
includes/api/ApiQueryLangLinks.php
@@
-67,6
+67,10
@@
class ApiQueryLangLinks extends ApiQueryBase {
);
}
);
}
+ //FIXME: (follow-up) To allow extensions to add to the language links, we need
+ // to load them all, add the extra links, then apply paging.
+ // Should not be terrible, it's not going to be more than a few hundred links.
+
// Note that, since (ll_from, ll_lang) is a unique key, we don't need
// to sort by ll_title to ensure deterministic ordering.
$sort = ( $params['dir'] == 'descending' ? ' DESC' : '' );
// Note that, since (ll_from, ll_lang) is a unique key, we don't need
// to sort by ll_title to ensure deterministic ordering.
$sort = ( $params['dir'] == 'descending' ? ' DESC' : '' );