Index: trunk/phase3/includes/SkinLegacy.php |
— | — | @@ -432,7 +432,7 @@ |
433 | 433 | function specialPagesList() { |
434 | 434 | global $wgContLang, $wgServer, $wgRedirectScript; |
435 | 435 | |
436 | | - $pages = array_merge( SpecialPage::getRegularPages(), SpecialPage::getRestrictedPages() ); |
| 436 | + $pages = SpecialPage::getUsablePages(); |
437 | 437 | |
438 | 438 | foreach ( $pages as $name => $page ) { |
439 | 439 | $pages[$name] = $page->getDescription(); |
Index: trunk/phase3/includes/specials/SpecialNewpages.php |
— | — | @@ -400,8 +400,7 @@ |
401 | 401 | |
402 | 402 | protected function feedTitle() { |
403 | 403 | global $wgLanguageCode, $wgSitename; |
404 | | - $page = SpecialPage::getPage( 'Newpages' ); |
405 | | - $desc = $page->getDescription(); |
| 404 | + $desc = $this->getDescription(); |
406 | 405 | return "$wgSitename - $desc [$wgLanguageCode]"; |
407 | 406 | } |
408 | 407 | |
Index: trunk/phase3/includes/specials/SpecialContributions.php |
— | — | @@ -450,8 +450,7 @@ |
451 | 451 | |
452 | 452 | protected function feedTitle() { |
453 | 453 | global $wgLanguageCode, $wgSitename; |
454 | | - $page = SpecialPage::getPage( 'Contributions' ); |
455 | | - $desc = $page->getDescription(); |
| 454 | + $desc = $this->getDescription(); |
456 | 455 | return "$wgSitename - $desc [$wgLanguageCode]"; |
457 | 456 | } |
458 | 457 | |
Index: trunk/phase3/includes/QueryPage.php |
— | — | @@ -687,8 +687,7 @@ |
688 | 688 | |
689 | 689 | function feedTitle() { |
690 | 690 | global $wgLanguageCode, $wgSitename; |
691 | | - $page = SpecialPage::getPage( $this->getName() ); |
692 | | - $desc = $page->getDescription(); |
| 691 | + $desc = $this->getDescription(); |
693 | 692 | return "$wgSitename - $desc [$wgLanguageCode]"; |
694 | 693 | } |
695 | 694 | |
— | — | @@ -697,8 +696,7 @@ |
698 | 697 | } |
699 | 698 | |
700 | 699 | function feedUrl() { |
701 | | - $title = SpecialPage::getTitleFor( $this->getName() ); |
702 | | - return $title->getFullURL(); |
| 700 | + return $this->getTitle()->getFullURL(); |
703 | 701 | } |
704 | 702 | } |
705 | 703 | |