mediawiki-extensions-Visual.../includes
Martin Urbanec 35320775e3 ApiVisualEditorEdit: Make tags param actually work
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
2023-08-02 17:52:11 +02:00
..
ApiParsoidTrait.php Stop collecting stats per wiki 2023-06-19 21:19:35 +00:00
ApiVisualEditor.php Always use the strict equality flag when using in_array 2023-06-07 13:26:10 +01:00
ApiVisualEditorEdit.php ApiVisualEditorEdit: Make tags param actually work 2023-08-02 17:52:11 +02:00
DirectParsoidClient.php Bump requested Parsoid HTML version to 2.8.0 2023-05-31 12:12:59 -04:00
DualParsoidClient.php Pick ParsoidClient implementation based on etag. 2022-10-20 08:52:20 +00:00
Hooks.php Add tag when reference added to the page 2023-07-03 15:09:12 +00:00
ParsoidClient.php ParsoidClient: Improve return type documentation for Phan 2022-12-15 00:00:41 +01:00
ServiceWiring.php Use PageRestHelperFactory 2022-11-19 21:21:11 +00:00
SpecialCollabPad.php Namespace rest of the extension 2022-03-14 22:27:15 +00:00
VisualEditorApiVisualEditorEditPostSaveHook.php Introduce VisualEditorApiVisualEditorPostSaveHook 2021-04-30 20:50:01 +02:00
VisualEditorApiVisualEditorEditPreSaveHook.php Allow hook implementations to modify params 2022-03-29 11:31:30 +00:00
VisualEditorBeforeEditorHook.php Remove 'Hook' from new hook's method name 2022-02-14 23:26:05 +00:00
VisualEditorDataModule.php Use new ResourceLoader namespace 2022-05-24 22:59:39 +00:00
VisualEditorDesktopArticleTargetInitModule.php Fix tab messages being changed wrong by JavaScript 2022-06-13 20:21:32 +02:00
VisualEditorHookRunner.php Allow hook implementations to modify params 2022-03-29 11:31:30 +00:00
VisualEditorParsoidClientFactory.php Remove some redundant PHPDoc comments 2023-04-24 21:11:26 +02:00
VRSParsoidClient.php ParsoidClient: Fix getPageHtml() $targetLanguage param inconsistencies 2022-09-26 22:52:31 +02:00