HomePhabricator

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

Authored by jenkins-bot.

Description

Updated mediawiki/extensions Project: mediawiki/extensions/MobileFrontend 4dbe5558c4fafafd37d241e82545c2e0f402da01

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

Event Timeline

Gerrit Code Review <gerrit@wikimedia.org> committed rMEXT619ec2bcc831: Updated mediawiki/extensions Project: mediawiki/extensions/MobileFrontend… (authored by jenkins-bot <jenkins-bot@gerrit.wikimedia.org>).Sep 7 2015, 3:29 PM