From d2baedfa56eb1235f92bf8e85a2aa7e5ba822169 Mon Sep 17 00:00:00 2001 From: umherirrender Date: Sat, 5 May 2012 16:08:47 +0200 Subject: [PATCH] Use right case for Title::makeTitle Change-Id: Ia91b3679f03eefb9970a790c784a92ea6fb0c274 --- includes/QueryPage.php | 2 +- includes/api/ApiFeedContributions.php | 2 +- includes/specials/SpecialAllpages.php | 2 +- includes/specials/SpecialNewpages.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/QueryPage.php b/includes/QueryPage.php index 151cc76250..55f56f7d79 100644 --- a/includes/QueryPage.php +++ b/includes/QueryPage.php @@ -671,7 +671,7 @@ abstract class QueryPage extends SpecialPage { if ( !isset( $row->title ) ) { return null; } - $title = Title::MakeTitle( intval( $row->namespace ), $row->title ); + $title = Title::makeTitle( intval( $row->namespace ), $row->title ); if ( $title ) { $date = isset( $row->timestamp ) ? $row->timestamp : ''; $comments = ''; diff --git a/includes/api/ApiFeedContributions.php b/includes/api/ApiFeedContributions.php index 5df1ff6e19..d808075680 100644 --- a/includes/api/ApiFeedContributions.php +++ b/includes/api/ApiFeedContributions.php @@ -96,7 +96,7 @@ class ApiFeedContributions extends ApiBase { } protected function feedItem( $row ) { - $title = Title::MakeTitle( intval( $row->page_namespace ), $row->page_title ); + $title = Title::makeTitle( intval( $row->page_namespace ), $row->page_title ); if( $title ) { $date = $row->rev_timestamp; $comments = $title->getTalkPage()->getFullURL(); diff --git a/includes/specials/SpecialAllpages.php b/includes/specials/SpecialAllpages.php index 31a3994448..0f8b25570a 100644 --- a/includes/specials/SpecialAllpages.php +++ b/includes/specials/SpecialAllpages.php @@ -477,7 +477,7 @@ class SpecialAllpages extends IncludableSpecialPage { if( $n == $this->maxPerPage && $s = $res->fetchObject() ) { # $s is the first link of the next chunk - $t = Title::MakeTitle($namespace, $s->page_title); + $t = Title::makeTitle($namespace, $s->page_title); $query = array( 'from' => $t->getText() ); if( $namespace ) diff --git a/includes/specials/SpecialNewpages.php b/includes/specials/SpecialNewpages.php index 1bcbac7935..44097c8145 100644 --- a/includes/specials/SpecialNewpages.php +++ b/includes/specials/SpecialNewpages.php @@ -432,7 +432,7 @@ class SpecialNewpages extends IncludableSpecialPage { } protected function feedItem( $row ) { - $title = Title::MakeTitle( intval( $row->rc_namespace ), $row->rc_title ); + $title = Title::makeTitle( intval( $row->rc_namespace ), $row->rc_title ); if( $title ) { $date = $row->rc_timestamp; $comments = $title->getTalkPage()->getFullURL(); -- 2.20.1