Page MenuHomePhabricator

Create a conversion utility to update extension manifest v1 to v2.
Open, Needs TriagePublic

Description

I needed to update a bunch of extensions with many config entries each. This utility will update an extension's manifest to version 2. There is still some manual work that has to be done afterwards such as marking settings public. By default it is marking "path" and "public" to false on each config setting. It also generates a descriptionmsg key that can be added to the i18n file.

I have looked over the extension manifest documentation and I believe I hit all the necessary conversions.

https://gerrit.wikimedia.org/r/#/c/356954/

Event Timeline

Alexia created this task.Jun 2 2017, 9:38 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJun 2 2017, 9:38 PM

Change 356954 had a related patch set uploaded (by Zppix; owner: Alexia):
[mediawiki/core@master] Extension Manifest Converter for v1 to v2.

https://gerrit.wikimedia.org/r/356954

Reedy added a subscriber: Reedy.Jun 16 2017, 3:57 AM

As was mentioned on gerrit... https://github.com/wikimedia/mediawiki/blob/master/maintenance/updateExtensionJsonSchema.php already exists for this

Your improvements in your script should be merged into that :)

Change 356954 abandoned by Alexia:
Extension Manifest Converter for v1 to v2.

https://gerrit.wikimedia.org/r/356954