Page MenuHomePhabricator

Proposal to remove all version numbers from all WMDE maintained extensions
Open, LowPublic

Description

Have a look at https://de.wikipedia.org/wiki/Spezial:Version#mw-version-ext. Notice that the "Version" field for many extensions shows a dash (–), followed by a commit ID and a timestamp. More and more extensions do this, especially the most recent, actively developed ones.

The version number does not serve much of a purpose any more since we switched to weekly deployments and branches that can essentially be cut any time, without the developers consciously tagging a version-numbered release. The only place where the version number still appears is on Special:Version, and possibly mediawiki.org (or not, as you can see). That's basically it. It does not mean anything any more. Instead, the relevant information is now the commit ID and timestamp, describing where the branch was cut, and when.

A version number can still be meaningful, but only if it is actively used as a tool for communication. For example, it would have been possible to announce the big rewrite of the Two-Column-Edit-Conflict-Merge interface as a "version 2", and mark it as that on Special:Version. But I doubt we are using version numbers like this. Currently, we show "version 1.0.0" basically "forever". This is meaningless. Furthermore, for pretty much all extensions we develop I would not even know when to increase their version number. What do we count as a major release? What do we count as a new feature that needs an +0.1 increase? Which of the uncountable bugfix patches we do would need to increase the number by +0.0.1?

Proposal: Remove all version numbers from all extensions we develop(ed).

Current state:

Related: The author field of some WMDE extension does not mention Wikimedia Deutschland, nor the WMDE-Technical-Wishes-Team.

Event Timeline

This is something we definitely should talk about. Maybe in a bigger round with PM(s) involved. - For me this could also be a matter of how we want to support different MW versions. Currently we have the release branches on extensions that mirror the branches for core. So that's some kind of versioning but pretty artificial in that case.

Sure, this absolutely is for PM (and COM) to decide. :-)

So with wikibase we have a "version number", something like 0.5/6/7 right now, but we don't really use it.
The version for compatibility is simply the REL branch that is made while mediawiki releases are created.

Seems you missed the patch that removed all Wikidata version numbers from https://www.wikidata.org/wiki/Special:Version#sv-credits-wikibase. ;-) Some of the original "0.5 alpha" are still i the code as PHP constants, but not shown anywhere anymore.

Seems you missed the patch that removed all Wikidata version numbers from https://www.wikidata.org/wiki/Special:Version#sv-credits-wikibase. ;-) Some of the original "0.5 alpha" are still i the code as PHP constants, but not shown anywhere anymore.

Oh yes, 💃
In which case I full support getting rid of the version numbers in all of the rest of our extensions.

@Lea_WMDE, what do you think about making this a Wikimedia-Hackathon-2019 (Newcomer friendly) task? If I remember correctly, @JStrodt_WMDE was fine with this from a COM perspective, as these numbers are really never used in any communication.

Change 563577 had a related patch set uploaded (by Thiemo Kreuz (WMDE); owner: Thiemo Kreuz (WMDE)):
[mediawiki/extensions/Cite@master] Remove misleading version number 1.0.0

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

Change 563577 merged by jenkins-bot:
[mediawiki/extensions/Cite@master] Remove misleading version number 1.0.0

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

Change 567955 had a related patch set uploaded (by Thiemo Kreuz (WMDE); owner: Thiemo Kreuz (WMDE)):
[mediawiki/extensions/AdvancedSearch@master] Remove misleading version number 0.1 from extension.json

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

Change 567956 had a related patch set uploaded (by Thiemo Kreuz (WMDE); owner: Thiemo Kreuz (WMDE)):
[mediawiki/extensions/Cognate@master] Remove misleading version number 1.0 from extension.json

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

Change 567959 had a related patch set uploaded (by Thiemo Kreuz (WMDE); owner: Thiemo Kreuz (WMDE)):
[mediawiki/extensions/ElectronPdfService@master] Remove misleading version number 1.0 from extension.json

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

Change 567960 had a related patch set uploaded (by Thiemo Kreuz (WMDE); owner: Thiemo Kreuz (WMDE)):
[mediawiki/extensions/InterwikiSorting@master] Remove misleading version number 1.0 from extension.json

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

Change 567961 had a related patch set uploaded (by Thiemo Kreuz (WMDE); owner: Thiemo Kreuz (WMDE)):
[mediawiki/extensions/FileExporter@master] Remove misleading version number 1.0 from extension.json

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

Change 567962 had a related patch set uploaded (by Thiemo Kreuz (WMDE); owner: Thiemo Kreuz (WMDE)):
[mediawiki/extensions/FileImporter@master] Remove misleading version number 1.0 from extension.json

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

Change 567963 had a related patch set uploaded (by Thiemo Kreuz (WMDE); owner: Thiemo Kreuz (WMDE)):
[mediawiki/extensions/RevisionSlider@master] Remove misleading version number 1.0 from extension.json

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

Change 567964 had a related patch set uploaded (by Thiemo Kreuz (WMDE); owner: Thiemo Kreuz (WMDE)):
[mediawiki/extensions/TwoColConflict@master] Remove misleading version number 1.0 from extension.json

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

thiemowmde moved this task from Incoming to TechDebt on the User-thiemowmde board.Jan 28 2020, 2:55 PM

Change 567955 merged by jenkins-bot:
[mediawiki/extensions/AdvancedSearch@master] Remove misleading version number 0.1 from extension.json

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

Change 567962 merged by jenkins-bot:
[mediawiki/extensions/FileImporter@master] Remove misleading version number 1.0 from extension.json

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

Change 567963 merged by jenkins-bot:
[mediawiki/extensions/RevisionSlider@master] Remove misleading version number 1.0 from extension.json

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

Change 567964 merged by jenkins-bot:
[mediawiki/extensions/TwoColConflict@master] Remove misleading version number 1.0 from extension.json

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

Change 567961 merged by jenkins-bot:
[mediawiki/extensions/FileExporter@master] Remove misleading version number 1.0 from extension.json

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

Change 567959 merged by jenkins-bot:
[mediawiki/extensions/ElectronPdfService@master] Remove misleading version number 1.0 from extension.json

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

Change 567960 merged by jenkins-bot:
[mediawiki/extensions/InterwikiSorting@master] Remove misleading version number 1.0 from extension.json

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

Change 567956 merged by jenkins-bot:
[mediawiki/extensions/Cognate@master] Remove misleading version number 1.0 from extension.json

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

thiemowmde updated the task description. (Show Details)Jan 30 2020, 10:38 AM

Change 568950 had a related patch set uploaded (by Thiemo Kreuz (WMDE); owner: Thiemo Kreuz (WMDE)):
[mediawiki/extensions/WikimediaBadges@master] Remove misleading version number 1.0 from extension.json

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

Change 568950 merged by jenkins-bot:
[mediawiki/extensions/WikimediaBadges@master] Remove misleading version number 1.0 from extension.json

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

Is this done now? :0 (looking at the description and the last merged patch)

For what I personally care about, this is done. \o/ However, there are still a few Wikibase- and Wikidata-related codebases listed here: https://codesearch.wmflabs.org/search/?q=%22version%22%3A%20%22%5B01.%5D*%22&files=extension%5C.json. Do you think we should remove these version numbers as well?

@Addshore, should I leave this ticket open for you, or is a separate ticket for the Wikibase codebases better?