Move MediaHandler defaults out of global scope
authorKunal Mehta <legoktm@member.fsf.org>
Tue, 26 Jul 2016 02:56:16 +0000 (19:56 -0700)
committerKunal Mehta <legoktm@member.fsf.org>
Wed, 3 Aug 2016 23:47:46 +0000 (16:47 -0700)
The defaults that were in $wgMediaHandlers are now listed in
MediaHandlerFactory.

The main advantage of doing this is we get O(1) replacement when
extensions set a media handler in their extension.json.

Bug: T141305
Change-Id: I05771a673837ab8d6331eedc24eb707be7f3a250


No differences found