mediawiki-extensions-Visual.../includes
Ed Sanders 5e1b299c0b ApiVisualEditor: Return notices as an associative array
A couple of things make this quite a simple change:
* Most messages are generated from a single message key
* $title->getEditNotices() already returns an array
  keyed in the same way, we just currently flatten it.
* The VE client already flattens the array immediately
  in ArticleTarget#parseMetadata, so no change required.
* PHP preserves the order in which keys are added, not
  that notice order is particularly important.

This partially undoes c824dc383a,
which changed the format from a mixed array to an indexed array.

Bug: T272188
Change-Id: I646667fe2513e371e0c8270761553253d1abe2b6
2021-01-18 23:35:56 +00:00
..
ApiParsoidTrait.php Remove non-helpful lines of documentation 2020-10-07 15:24:50 +02:00
ApiVisualEditor.php ApiVisualEditor: Return notices as an associative array 2021-01-18 23:35:56 +00:00
ApiVisualEditorEdit.php Prefer UserIdentity::isRegistered over isAnon 2021-01-07 17:01:22 +01:00
SpecialCollabPad.php Make import button progressive (but not primary) 2020-07-31 16:10:05 +01:00
VisualEditorDataModule.php doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
VisualEditorDesktopArticleTargetInitModule.php doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
VisualEditorHooks.php Prefer UserIdentity::isRegistered over isAnon 2021-01-07 17:01:22 +01:00