HomePhabricator

Updated mediawiki/extensions Project: mediawiki/extensions/Gather…

Authored by jenkins-bot.

Description

Updated mediawiki/extensions Project: mediawiki/extensions/Gather fdb6cc0d307d5465d583612fc3241cbb8ca94db1

Register schemas using hooks not via globals

... and not via a combination of both.

As in the solution to T102708, always register the ext.gather.schema
module but add the required schemas as dependencies when the
EventLogging extension is loaded.

As the EventLogging extension currently isn't loaded using the
ExtensionRegistry, i.e. via the wfLoadExtension function, we have to
reuse a test from the MobileFrontend [0] extension.

[0] https://github.com/wikimedia/mediawiki-extensions-MobileFrontend/blob/master/includes/MobileFrontend.body.php#L21

Bug: T106759
Bug: T102708
Change-Id: I6b13c0bf4b89648d8b8879d3e41ae05ea41ab33a

Event Timeline

Gerrit Code Review <gerrit@wikimedia.org> committed rMEXT5bdf6c1a9da7: Updated mediawiki/extensions Project: mediawiki/extensions/Gather… (authored by jenkins-bot <jenkins-bot@gerrit.wikimedia.org>).Sep 10 2015, 10:31 PM