Index: trunk/phase3/includes/api/ApiQueryBacklinks.php |
— | — | @@ -263,9 +263,9 @@ |
264 | 264 | if (!is_null($this->params['continue'])) |
265 | 265 | $this->parseContinueParam(); |
266 | 266 | else { |
267 | | - $title = $this->params['title']; |
| 267 | + $title = Title::newFromText( $this->params['title'] ); |
268 | 268 | if ( $title ) { |
269 | | - $this->rootTitle = Title::newFromText($title); |
| 269 | + $this->rootTitle = $title; |
270 | 270 | } else { |
271 | 271 | $this->dieUsageMsg(array('missingparam', 'title')); |
272 | 272 | } |