From: umherirrender Date: Sat, 5 May 2012 14:08:47 +0000 (+0200) Subject: Use right case for Title::makeTitle X-Git-Tag: 1.31.0-rc.0~23722 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/ajouter.php?a=commitdiff_plain;h=d2baedfa56eb1235f92bf8e85a2aa7e5ba822169;p=lhc%2Fweb%2Fwiklou.git Use right case for Title::makeTitle Change-Id: Ia91b3679f03eefb9970a790c784a92ea6fb0c274 --- 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();