mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-27 15:50:29 +00:00
35320775e3
Why: ApiVisualEditorEdit passes most of its params down to action=edit. However, $params contains parsed version of the params. Using it with tags results in the param validator logic on ApiEdit's end receiving a PHP array, which it does not expect (neither it should; it is impossible to pass one via an actual API call). This feature will be used in DiscussionTools, which itself reuses ApiVisualEditorEdit. What: Use WebRequest::getText() to get the unparsed value for 'tags', which makes the parameter forwarding actually work. Bug: T343339 Change-Id: I0ac60ca8473fe28461b2da60f9911baac4994388 |
||
---|---|---|
.. | ||
ApiParsoidTrait.php | ||
ApiVisualEditor.php | ||
ApiVisualEditorEdit.php | ||
DirectParsoidClient.php | ||
DualParsoidClient.php | ||
Hooks.php | ||
ParsoidClient.php | ||
ServiceWiring.php | ||
SpecialCollabPad.php | ||
VisualEditorApiVisualEditorEditPostSaveHook.php | ||
VisualEditorApiVisualEditorEditPreSaveHook.php | ||
VisualEditorBeforeEditorHook.php | ||
VisualEditorDataModule.php | ||
VisualEditorDesktopArticleTargetInitModule.php | ||
VisualEditorHookRunner.php | ||
VisualEditorParsoidClientFactory.php | ||
VRSParsoidClient.php |