HomePhabricator

Handle more cases in convertExtensionToRegistration.php

Authored by Legoktm.

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