As @Krenair and I recently learned, any array using integer keys (e.g. namespace ids) that is merged will have the keys reset due to the usage of array_merge. We need to use += in those cases.
Description
Description
Details
Details
Project | Branch | Lines +/- | Subject | |
---|---|---|---|---|
mediawiki/core | REL1_25 | +159 -23 | registration: Overhaul merging of globals | |
mediawiki/core | master | +149 -23 | registration: Overhaul merging of globals |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Krenair | T104898 Replace wgVisualEditorNamespaces with a 2D array of namespace => enabled state | |||
Resolved | Legoktm | T107646 Merging anything using integer keys in extension registration is broken |
Event Timeline
Comment Actions
Change 228450 had a related patch set uploaded (by Legoktm):
registration: Overhaul merging of globals
Comment Actions
Change 237971 had a related patch set uploaded (by Legoktm):
registration: Overhaul merging of globals