Merge "API: Use message-per-value for apihelp-query+usercontribs-param-prop"
[lhc/web/wiklou.git] / includes / api / ApiParse.php
index 577b525..1b8f6d9 100644 (file)
@@ -260,6 +260,7 @@ class ApiParse extends ApiBase {
                $result_array = array();
 
                $result_array['title'] = $titleObj->getPrefixedText();
+               $result_array['pageid'] = $pageid ? $pageid : $pageObj->getId();
 
                if ( !is_null( $oldid ) ) {
                        $result_array['revid'] = intval( $oldid );