Page MenuHomePhabricator

Make SpecialVersion a real special page and move all helper function to own service
Open, Needs TriagePublic

Description

The class SpecialVersion has many static function to share code with api, installer or parser.

Move it to a new service?

Or it is safe to use static functions here?

https://codesearch.wmcloud.org/search/?q=SpecialVersion&i=nope&files=&repos=

Event Timeline

Maybe create a VersionInfo service, analogous to GitInfo (not yet a service though itself), but they should all be.

Change 676052 had a related patch set uploaded (by DannyS712; author: DannyS712):

[mediawiki/core@master] SpecialVersion: clean up and simplify

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