Page MenuHomePhabricator

Setup EventLogging schemas the new cool way.
Closed, ResolvedPublic

Description

To include a schema these days all you need to do is:

$wgEventLoggingSchemas[ 'MobileWebEditing' ] = 8599025;

We should move to this method.


Version: unspecified
Severity: normal

Details

Reference
bz66055

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:25 AM
bzimport set Reference to bz66055.

Change 165124 had a related patch set uploaded by Phuedx:
Register EventLogging schemas the cool new way

https://gerrit.wikimedia.org/r/165124

I'll admit that writing out the map of schema to revision was nice.

165124 is complicated by supporting the admin not having the EventLogging extension installed as well as handling the ResourceLoaderRegisterModules and EventLoggingRegisterSchemas hooks firing independently.

Change 165124 merged by jenkins-bot:
Register EventLogging schemas the cool new way

https://gerrit.wikimedia.org/r/165124