X-Git-Url: http://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fapi%2FApiQueryLangBacklinks.php;h=2e19783cedd0cb5a35dad77617d7ee7534637e8e;hp=fd67d7c464fc9fc14f1cc72647c5ffed9e8518fd;hb=f2b621be73632b17d7e647b10959a0ed7dae9284;hpb=d5a7166771613dfe4ed9fb75fa5efeced6134bd1 diff --git a/includes/api/ApiQueryLangBacklinks.php b/includes/api/ApiQueryLangBacklinks.php index fd67d7c464..2e19783ced 100644 --- a/includes/api/ApiQueryLangBacklinks.php +++ b/includes/api/ApiQueryLangBacklinks.php @@ -2,8 +2,6 @@ /** * API for MediaWiki 1.17+ * - * Created on May 14, 2011 - * * Copyright © 2011 Sam Reed * Copyright © 2006 Yuri Astrakhan "@gmail.com" * @@ -132,7 +130,7 @@ class ApiQueryLangBacklinks extends ApiQueryGeneratorBase { if ( !is_null( $resultPageSet ) ) { $pages[] = Title::newFromRow( $row ); } else { - $entry = [ 'pageid' => $row->page_id ]; + $entry = [ 'pageid' => (int)$row->page_id ]; $title = Title::makeTitle( $row->page_namespace, $row->page_title ); ApiQueryBase::addTitleInfo( $entry, $title );