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=
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=
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
SpecialVersion: clean up and simplify | mediawiki/core | master | +76 -98 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T259960 Inject services into API modules and special pages | |||
Open | None | T265201 Make SpecialVersion a real special page and move all helper function to own service |
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