Index: trunk/phase3/includes/specials/SpecialContributions.php |
— | — | @@ -301,8 +301,12 @@ |
302 | 302 | $this->feedTitle(), |
303 | 303 | wfMsg( 'tagline' ), |
304 | 304 | $this->getTitle()->getFullUrl() ); |
305 | | - |
306 | | - $pager = new ContribsPager( $this->opts['target'], $this->opts['namespace'], |
| 305 | + |
| 306 | + // Already valid title |
| 307 | + $nt = Title::makeTitleSafe( NS_USER, $this->opts['target'] ); |
| 308 | + $target = $this->opts['target'] == 'newbies' ? 'newbies' : $nt->getText(); |
| 309 | + |
| 310 | + $pager = new ContribsPager( $target, $this->opts['namespace'], |
307 | 311 | $this->opts['year'], $this->opts['month'] ); |
308 | 312 | |
309 | 313 | $pager->mLimit = min( $this->opts['limit'], $wgFeedLimit ); |