HomePhabricator

Updated mediawiki/core Project: mediawiki/extensions/MobileFrontend…

Authored by Krenair.

Description

Updated mediawiki/core Project: mediawiki/extensions/MobileFrontend 980a2bae358efe75f247bfd0a41a39fc420669e9

Fix EventLogging schema dependencies

Fixes Iba22cb40

The first two entries in the getEventLoggingSchemas() returned array would
be ignored, because of how PHP array addition works:

var_dump( array(
'mobile.startup',
'mobile.settings'
) + array(
'MobileWebBrowse',
'MobileWebDiffClickTracking',
'MobileWebMainMenuClickTracking'
) );

Result:
array(3) {

[0]=>
string(14) "mobile.startup"
[1]=>
string(15) "mobile.settings"
[2]=>
string(30) "MobileWebMainMenuClickTracking"

}

Isn't PHP great?

Bug: T110272
Change-Id: I623f6182c2012fa5a16b1e18b9083517ba50ebae
(cherry picked from commit 17238d9ece590e59d1513a1d2ba362750cee24a8)

Event Timeline