HomePhabricator

Handle more cases in convertExtensionToRegistration.php

Description

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

Details

Provenance
LegoktmAuthored on
Jdforrester-WMFCommitted on Jan 13 2015, 2:05 AM
Parents
rMWe1425750faa8: registration: Add ConfigRegistry to the extension.json schema
Branches
Unknown
Tags
Unknown
ChangeId
I9434f6634fd6e460a5c2f6dac95c9065da35a51a