From: Roan Kattouw Date: Sun, 24 Jan 2010 10:10:00 +0000 (+0000) Subject: API: Document the behavior added in r61447 X-Git-Tag: 1.31.0-rc.0~38119 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/recherche.php?a=commitdiff_plain;h=39a50765c54948937fc1fe00e3ef5fa6796ed9e2;p=lhc%2Fweb%2Fwiklou.git API: Document the behavior added in r61447 --- diff --git a/includes/api/ApiQueryBacklinks.php b/includes/api/ApiQueryBacklinks.php index 88f417d486..438f8d75a2 100644 --- a/includes/api/ApiQueryBacklinks.php +++ b/includes/api/ApiQueryBacklinks.php @@ -427,15 +427,16 @@ class ApiQueryBacklinks extends ApiQueryGeneratorBase { 'title' => 'Title to search.', 'continue' => 'When more results are available, use this to continue.', 'namespace' => 'The namespace to enumerate.', - 'filterredir' => 'How to filter for redirects' ); if ( $this->getModuleName() != 'embeddedin' ) return array_merge( $retval, array( 'redirect' => 'If linking page is a redirect, find all pages that link to that redirect as well. Maximum limit is halved.', + 'filterredir' => "How to filter for redirects. If set to nonredirects when {$this->bl_code}redirect is enabled, this is only applied to the second level", 'limit' => "How many total pages to return. If {$this->bl_code}redirect is enabled, limit applies to each level separately (which means you may get up to 2 * limit results)." ) ); return array_merge( $retval, array( - 'limit' => "How many total pages to return." + 'filterredir' => 'How to filter for redirects', + 'limit' => 'How many total pages to return.' ) ); }