X-Git-Url: http://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fapi%2FApiQueryIWBacklinks.php;h=83801c73cbe93d17cb0ecd53c80722277baea051;hp=6e2fb67b8d99802ce434924e3f99f18b779ba858;hb=f1907d3f012cf3ae4b56e256fb71cc04b5ec33ee;hpb=b8da5c83743ea31c6f73c063508384f114748537 diff --git a/includes/api/ApiQueryIWBacklinks.php b/includes/api/ApiQueryIWBacklinks.php index 6e2fb67b8d..83801c73cb 100644 --- a/includes/api/ApiQueryIWBacklinks.php +++ b/includes/api/ApiQueryIWBacklinks.php @@ -2,8 +2,6 @@ /** * API for MediaWiki 1.17+ * - * Created on May 14, 2010 - * * Copyright © 2010 Sam Reed * Copyright © 2006 Yuri Astrakhan "@gmail.com" * @@ -133,7 +131,7 @@ class ApiQueryIWBacklinks 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 ); @@ -215,6 +213,6 @@ class ApiQueryIWBacklinks extends ApiQueryGeneratorBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Iwbacklinks'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Iwbacklinks'; } }