From 0ec26ef23b01c2595129dd6ff918f19903ba09be Mon Sep 17 00:00:00 2001 From: "C. Scott Ananian" Date: Wed, 30 Sep 2015 10:31:05 -0400 Subject: [PATCH] Rename RESTBase1/Parsoid3 `bodyOnly` parameter to `body_only` The old `bodyOnly` name was deprecated on 2015-09-09. Bug: T114185 Change-Id: Ic7b71acdbf56366cd4bd0172f06f75babf45edb7 --- ApiVisualEditor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ApiVisualEditor.php b/ApiVisualEditor.php index 55e908e352..469f64790a 100644 --- a/ApiVisualEditor.php +++ b/ApiVisualEditor.php @@ -183,7 +183,7 @@ class ApiVisualEditor extends ApiBase { 'transform/wikitext/to/html/' . urlencode( $title->getPrefixedDBkey() ), array( 'wikitext' => $wikitext, - 'bodyOnly' => 1, + 'body_only' => 1, ) ); }