From 7268330aa2abcdb1e868947ce1cf4d9eb0e13c44 Mon Sep 17 00:00:00 2001 From: umherirrender Date: Wed, 31 Oct 2012 19:44:48 +0100 Subject: [PATCH] Add 'contentmodel' to resultproperties in prop=revisions Change-Id: Ied3ad1b5088821fbb6c51fd91a5eac09e900fd96 --- includes/api/ApiQueryRevisions.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/includes/api/ApiQueryRevisions.php b/includes/api/ApiQueryRevisions.php index 5c3b33be7f..d159f2d5cb 100644 --- a/includes/api/ApiQueryRevisions.php +++ b/includes/api/ApiQueryRevisions.php @@ -783,7 +783,10 @@ class ApiQueryRevisions extends ApiQueryBase { ApiBase::PROP_NULLABLE => true ), 'texthidden' => 'boolean' - ) + ), + 'contentmodel' => array( + 'contentmodel' => 'string' + ), ); self::addTokenProperties( $props, $this->getTokenFunctions() ); -- 2.20.1