mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
5e1b299c0b
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
|
||
---|---|---|
.. | ||
ApiParsoidTrait.php | ||
ApiVisualEditor.php | ||
ApiVisualEditorEdit.php | ||
SpecialCollabPad.php | ||
VisualEditorDataModule.php | ||
VisualEditorDesktopArticleTargetInitModule.php | ||
VisualEditorHooks.php |