X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryLangLinks.php;h=aa796e31094216f75436534680210ae795f16ce8;hb=f88e17f2717d1d3060408f816ca79c2275a3d4a1;hp=e6b02d79d99bdae3992f941cdfb02d7f031c1fde;hpb=893ff1ed77d6f0f3deba85ba240a74e16ed8cd02;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryLangLinks.php b/includes/api/ApiQueryLangLinks.php index e6b02d79d9..aa796e3109 100644 --- 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' : '' );