Svoboda | Graniru | BBC Russia | Golosameriki | Facebook
BBC RussianHomePhabricator
Log In
Maniphest T87941

Convert Math to use extension registration
Closed, ResolvedPublic

Description

The Math extension needs to be converted to use the new extension registration system. More details are available on T87875.

The proposed patch replaces integer constants with strings but maintains backwards compatibility. Note that this changes the cache key and could therefore generate a load spike. Therefore operations was added in the Projects field.

Event Timeline

Physikerwelt updated the task description. (Show Details)
Physikerwelt set Security to None.
gerritbot subscribed.

Change 187654 had a related patch set uploaded (by Physikerwelt):
WIP: DO NOT SUBMIT (Extension registration)

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

Patch-For-Review

Extension.json can be approved any time just please recommend do sql file manually for time being since web updater broken for extension.json.

Physikerwelt added a subscriber: Whyameri.

@Whyameri I finally implmented the missing part by myself. Thank you for your help. @Paladox Can you tell me how to tests the web updater?

@Physikerwelt you can do it the normal way as you would in php. You go to mw-config/ on your website then you follow steps once you get to upgrade database or install click next and a upgrade log should show and if you look through it math should be said somewhere in there if not then it wasent added or updated. But that is a known problem in mediawiki core with extension registration system please see T100414 there is currently a patch waiting for review. I tested the patch and web updater works with that. I would add the a note to the extension temporarily that advises users that the new extension registration system does not yet work properly work with web update please upload the sql file manually to your database.

...mh it seems that there are several problems with the web updater... I chose a unsupported language and got Class undefined: DT_LanguageEn

Hum I am not sure if that is a problem with extension registration. Does it work with supported languages.

Change 187654 merged by jenkins-bot:
Use extension.json, empty PHP entry point

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