mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-12 09:09:25 +00:00
ApiVisualEditorEdit: Remove use of deprecated 'modulescripts'
It's unused and always empty, as of MediaWiki 1.33 (c6f34408). Change-Id: I7997e8dcc5ce7221cf5586173dbb0fe62f9a7953
This commit is contained in:
parent
d6de945517
commit
6d254de92e
|
@ -113,7 +113,6 @@ class ApiVisualEditorEdit extends ApiVisualEditor {
|
|||
$timestamp = $revision ? $revision->getTimestamp() : wfTimestampNow();
|
||||
$displaytitle = $result['parse']['displaytitle'] ?? false;
|
||||
$modules = array_merge(
|
||||
$result['parse']['modulescripts'] ?? [],
|
||||
$result['parse']['modules'] ?? [],
|
||||
$result['parse']['modulestyles'] ?? []
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue