We need a way for MediaWiki to know/display the "package version" which may be different from MW_VERSION.
In the case of the 1.35.5 release, the security fixes were backported into the 1.35.4 Debian packages, but MW_VERSION wasn't bumped as it is not 1.35.5 as we know it
Debian is using 1:1.35.4-1+deb11u2.
It would be useful if we could allow packages to set a version somewhere, and if it exists, use that to override the version display on Special:Version, the siteinfo API etc to prevent false positive security reports that an installation may be vulnerable to know/open/fixed exploits.
We can't just use the Debian version in MW_VERSION as it is not valid semver.