Handle more cases in convertExtensionToRegistration.php
authorKunal Mehta <legoktm@gmail.com>
Sun, 11 Jan 2015 04:17:36 +0000 (20:17 -0800)
committerJforrester <jforrester@wikimedia.org>
Tue, 13 Jan 2015 02:05:33 +0000 (02:05 +0000)
commitf6cc92c74b99449d31f1fce6f0ed48ec81760756
tree7c2766800ebf076c052fb283501e011a339ac7ae
parente1425750faa845bee12569d768a1aefc6c40c08f
Handle more cases in convertExtensionToRegistration.php

* Handle constructs like $wgResourceModules += array(...)
* Support $wgMessagesDirs['FooBar'] = array(...)
* Handle stripping paths where it is the current directory
* Use FormatJson::ALL_OK when writing the file

Bug: T86311
Change-Id: I9434f6634fd6e460a5c2f6dac95c9065da35a51a
maintenance/convertExtensionToRegistration.php