Every once in awhile I've found an idea for a service which would for one reason or another need to know what releases of MediaWiki exist and which ones are obsolete.
As far as I know, we don't have any sort of API or machine readable metadata at all declaring this information for services to use.
I'd like to see a change to the release workflow made that would support this use case. Some time ago I thought we should do this with an api, but now I think we can probably cover this by publishing a simple json file at either one of these urls: https://www.mediawiki.org/releases.json https://releases.wikimedia.org/mediawiki/releases.json
The file will need to be updated every time a new release is made or an old one becomes obsolete.
What does everyone and the release managers think?
On 9/18/14, Daniel Friesen daniel@nadir-seen-fire.com wrote:
Every once in awhile I've found an idea for a service which would for one reason or another need to know what releases of MediaWiki exist and which ones are obsolete.
As far as I know, we don't have any sort of API or machine readable metadata at all declaring this information for services to use.
Once upon a time we did: https://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/MWReleases/?path... (I believe that was actually deployed around 1.17-ish).
I guess you could still just fetch https://www.mediawiki.org/wiki/Template:MW_stable_release_number to get the info, but having a json file somewhere sounds like a good idea provided there's actually people wanting to use it and it wouldn't inconvenience whomever is charged with updating it too much.
--bawolff
Hi Brian,
on mediawiki-enterprise-l, Derric Atzrott suggested we use the respective WikiData item for up-to-date MediaWiki version information:
https://www.wikidata.org/wiki/Q83
It's machine readable, could easily be queried and probably converted into other formats as needed. It is also very easy to include updating this item into our release workflow.
Do you think this fits your needs?
Best, Markus
-----Ursprüngliche Nachricht----- Von: wikitech-l-bounces@lists.wikimedia.org [mailto:wikitech-l-bounces@lists.wikimedia.org] Im Auftrag von Brian Wolff Gesendet: Freitag, 19. September 2014 00:54 An: Wikimedia developers Betreff: Re: [Wikitech-l] [Release workflow recommendation] A public releases JSON file.
On 9/18/14, Daniel Friesen daniel@nadir-seen-fire.com wrote:
Every once in awhile I've found an idea for a service which would for one reason or another need to know what releases of MediaWiki exist and which ones are obsolete.
As far as I know, we don't have any sort of API or machine readable metadata at all declaring this information for services to use.
Once upon a time we did: https://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/MWReleases/?path... (I believe that was actually deployed around 1.17-ish).
I guess you could still just fetch https://www.mediawiki.org/wiki/Template:MW_stable_release_number to get the info, but having a json file somewhere sounds like a good idea provided there's actually people wanting to use it and it wouldn't inconvenience whomever is charged with updating it too much.
--bawolff
_______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
On 09/18/2014 07:25 PM, Markus Glaser wrote:
https://www.wikidata.org/wiki/Q83
It's machine readable, could easily be queried and probably converted into other formats as needed. It is also very easy to include updating this item into our release workflow.
I think that's fine, as long as the references it cites are updated first (per https://www.wikidata.org/wiki/Wikidata:Verifiability).
Matt Flaschen
The WikiData item doesn't contain enough information, it only lists the stable version number. All the situations I've come up with require the kind of detailed information we have on https://www.mediawiki.org/wiki/Version_lifecycle
- Major release numbers - Minor release numbers - What ones are current, legacy, and obsolete - Is a release LTS or in development
For example, my current idea is making http://shorturls.redwerks.org/ display a warning reminding about obsolete wiki and missing security updates when it sees a meta[generator] for an old release. For that I need to know what release is current, what are legacy, what are LTS, and what the current point release for each current and legacy release is.
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/]
On 2014-09-18 4:25 PM, Markus Glaser wrote:
Hi Brian,
on mediawiki-enterprise-l, Derric Atzrott suggested we use the respective WikiData item for up-to-date MediaWiki version information:
https://www.wikidata.org/wiki/Q83
It's machine readable, could easily be queried and probably converted into other formats as needed. It is also very easy to include updating this item into our release workflow.
Do you think this fits your needs?
Best, Markus
-----Ursprüngliche Nachricht----- Von: wikitech-l-bounces@lists.wikimedia.org [mailto:wikitech-l-bounces@lists.wikimedia.org] Im Auftrag von Brian Wolff Gesendet: Freitag, 19. September 2014 00:54 An: Wikimedia developers Betreff: Re: [Wikitech-l] [Release workflow recommendation] A public releases JSON file.
On 9/18/14, Daniel Friesen daniel@nadir-seen-fire.com wrote:
Every once in awhile I've found an idea for a service which would for one reason or another need to know what releases of MediaWiki exist and which ones are obsolete.
As far as I know, we don't have any sort of API or machine readable metadata at all declaring this information for services to use.
Once upon a time we did: https://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/MWReleases/?path... (I believe that was actually deployed around 1.17-ish).
I guess you could still just fetch https://www.mediawiki.org/wiki/Template:MW_stable_release_number to get the info, but having a json file somewhere sounds like a good idea provided there's actually people wanting to use it and it wouldn't inconvenience whomever is charged with updating it too much.
--bawolff
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
On Fri, Sep 19, 2014 at 9:42 AM, Daniel Friesen daniel@nadir-seen-fire.com wrote:
The WikiData item doesn't contain enough information, it only lists the stable version number. All the situations I've come up with require the kind of detailed information we have on https://www.mediawiki.org/wiki/Version_lifecycle
- Major release numbers
- Minor release numbers
- What ones are current, legacy, and obsolete
- Is a release LTS or in development
I think I've added all that information to the Wikidata item. Anything else you need or want?
On Thu, Sep 18, 2014 at 3:54 PM, Brian Wolff bawolff@gmail.com wrote:
On 9/18/14, Daniel Friesen daniel@nadir-seen-fire.com wrote:
Every once in awhile I've found an idea for a service which would for one reason or another need to know what releases of MediaWiki exist and which ones are obsolete.
As far as I know, we don't have any sort of API or machine readable metadata at all declaring this information for services to use.
Once upon a time we did:
https://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/MWReleases/?path... (I believe that was actually deployed around 1.17-ish).
Omg I forgot all about that old thing. Good times!
-Chad
wikitech-l@lists.wikimedia.org