X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiComparePages.php;h=93c35d3d236886bd1b3b5252b4b8934782ce28ab;hb=36892fe2a2ded77fba98a6619c63348a1740a9ee;hp=375fc189362c226581e2e755d4daaca4a17d63c5;hpb=35b9d17334941d8b77d811a1e5be56684566f273;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiComparePages.php b/includes/api/ApiComparePages.php index 375fc18936..93c35d3d23 100644 --- a/includes/api/ApiComparePages.php +++ b/includes/api/ApiComparePages.php @@ -397,7 +397,7 @@ class ApiComparePages extends ApiBase { if ( $rev ) { $title = $rev->getTitle(); if ( isset( $this->props['ids'] ) ) { - $vals["{$prefix}id"] = $title->getArticleId(); + $vals["{$prefix}id"] = $title->getArticleID(); $vals["{$prefix}revid"] = $rev->getId(); } if ( isset( $this->props['title'] ) ) {