mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-12 09:09:25 +00:00
Rename RESTBase1/Parsoid3 bodyOnly
parameter to body_only
The old `bodyOnly` name was deprecated on 2015-09-09. Bug: T114185 Change-Id: Ic7b71acdbf56366cd4bd0172f06f75babf45edb7
This commit is contained in:
parent
c1f26c0922
commit
0ec26ef23b
|
@ -183,7 +183,7 @@ class ApiVisualEditor extends ApiBase {
|
|||
'transform/wikitext/to/html/' . urlencode( $title->getPrefixedDBkey() ),
|
||||
array(
|
||||
'wikitext' => $wikitext,
|
||||
'bodyOnly' => 1,
|
||||
'body_only' => 1,
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue