From 39a50765c54948937fc1fe00e3ef5fa6796ed9e2 Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Sun, 24 Jan 2010 10:10:00 +0000 Subject: [PATCH] API: Document the behavior added in r61447 --- includes/api/ApiQueryBacklinks.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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.' ) ); } -- 2.20.1