Index: trunk/phase3/includes/api/ApiQueryBacklinks.php |
— | — | @@ -260,20 +260,14 @@ |
261 | 261 | } |
262 | 262 | |
263 | 263 | protected function processContinue() { |
264 | | - $pageSet = $this->getPageSet(); |
265 | | - $count = $pageSet->getTitleCount(); |
266 | | - |
267 | 264 | if (!is_null($this->params['continue'])) |
268 | 265 | $this->parseContinueParam(); |
269 | 266 | else { |
270 | 267 | $title = $this->params['title']; |
271 | 268 | if (!is_null($title)) { |
272 | 269 | $this->rootTitle = Title :: newFromText($title); |
273 | | - } else { // This case is obsolete. Will support this for a while |
274 | | - if ($count !== 1) |
275 | | - $this->dieUsage("The {$this->getModuleName()} query requires one title to start", 'bad_title_count'); |
276 | | - $this->rootTitle = current($pageSet->getTitles()); // only one title there |
277 | | - $this->setWarning('Using titles parameter is obsolete for this list. Use ' . $this->encodeParamName('title') . ' instead.'); |
| 270 | + } else { |
| 271 | + $this->dieUsageMsg(array('missingparam', "title")); |
278 | 272 | } |
279 | 273 | } |
280 | 274 | |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -326,6 +326,7 @@ |
327 | 327 | * (bug 14013) Added rcshow=patrolled to list=recentchanges |
328 | 328 | * (bug 14028) Added language attribute to interwiki map in meta=siteinfo |
329 | 329 | * (bug 14022) Added usprop=registration and auprop=blockinfo |
| 330 | +* (bug 14021) Removed titles= support from list=backlinks (has been obsolete for ages) |
330 | 331 | |
331 | 332 | === Languages updated in 1.13 === |
332 | 333 | |