Index: trunk/phase3/includes/api/ApiQueryBacklinks.php |
— | — | @@ -206,6 +206,7 @@ |
207 | 207 | $this->extractRowInfo($row); |
208 | 208 | else |
209 | 209 | { |
| 210 | + $this->pageMap[$row->page_namespace][$row->page_title] = $row->page_id; |
210 | 211 | if($row->page_is_redirect) |
211 | 212 | $this->redirTitles[] = Title::makeTitle($row->page_namespace, $row->page_title); |
212 | 213 | $resultPageSet->processDbRow($row); |
— | — | @@ -229,7 +230,7 @@ |
230 | 231 | $parentID = $this->pageMap[$row->{$this->bl_ns}][$row->{$this->bl_title}]; |
231 | 232 | else |
232 | 233 | $parentID = $this->pageMap[NS_IMAGE][$row->{$this->bl_title}]; |
233 | | - $this->continueStr = $this->getContinueRedirStr($parentID, $row->page_id); |
| 234 | + $this->continueStr = $this->getContinueRedirStr($parentID, $row->page_id); |
234 | 235 | break; |
235 | 236 | } |
236 | 237 | |
— | — | @@ -408,7 +409,7 @@ |
409 | 410 | |
410 | 411 | public function getParamDescription() { |
411 | 412 | $retval = array ( |
412 | | - 'title' => 'Title to search. If null, titles= parameter will be used instead, but will be obsolete soon.', |
| 413 | + 'title' => 'Title to search.', |
413 | 414 | 'continue' => 'When more results are available, use this to continue.', |
414 | 415 | 'namespace' => 'The namespace to enumerate.', |
415 | 416 | 'filterredir' => 'How to filter for redirects' |
— | — | @@ -416,7 +417,7 @@ |
417 | 418 | if($this->getModuleName() != 'embeddedin') |
418 | 419 | return array_merge($retval, array( |
419 | 420 | 'redirect' => 'If linking page is a redirect, find all pages that link to that redirect as well. Maximum limit is halved.', |
420 | | - 'limit' => "How many total pages to return. If {$this->bl_code}redirect is enabled, limit applies to each level separately." |
| 421 | + '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)." |
421 | 422 | )); |
422 | 423 | return array_merge($retval, array( |
423 | 424 | 'limit' => "How many total pages to return." |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -435,7 +435,8 @@ |
436 | 436 | * (bug 18546) Added timestamp of new revision to action=edit output |
437 | 437 | * (bug 18554) Also list hidden revisions in list=usercontribs for privileged |
438 | 438 | users |
439 | | -* (bug 13049) "API must be accessed from the primary script entry point" error |
| 439 | +* (bug 13049) "API must be accessed from the primary script entry point" error |
| 440 | +* (bug 18601) generator=backlinks returns invalid continue parameter |
440 | 441 | |
441 | 442 | === Languages updated in 1.15 === |
442 | 443 | |