Is there a way to programmatically get a download link for an extension if you have the extension name and version of MediaWiki? E.g. for Wikispeech and MW 1.39 this would (currently) be https://extdist.wmflabs.org/dist/extensions/Wikispeech-REL1_39-5dc08c9.tar.g.... It's the hash(?) a the end that makes it tricky.
*Sebastian Berlin* Utvecklare/*Developer* Wikimedia Sverige (WMSE)
E-post/*E-Mail*: sebastian.berlin@wikimedia.se Telefon/*Phone*: (+46) 0707 - 92 03 84
Using a Git checkout would be easiest
On Mon, Oct 2, 2023 at 8:48 AM Sebastian Berlin < sebastian.berlin@wikimedia.se> wrote:
Is there a way to programmatically get a download link for an extension if you have the extension name and version of MediaWiki? E.g. for Wikispeech and MW 1.39 this would (currently) be https://extdist.wmflabs.org/dist/extensions/Wikispeech-REL1_39-5dc08c9.tar.g.... It's the hash(?) a the end that makes it tricky.
*Sebastian Berlin* Utvecklare/*Developer* Wikimedia Sverige (WMSE)
E-post/*E-Mail*: sebastian.berlin@wikimedia.se Telefon/*Phone*: (+46) 0707 - 92 03 84 _______________________________________________ MediaWiki-l mailing list -- mediawiki-l@lists.wikimedia.org To unsubscribe send an email to mediawiki-l-leave@lists.wikimedia.org
https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/
The ExtensionDistributor https://www.mediawiki.org/wiki/Extension:ExtensionDistributor API can get you download URLs, e.g. this:
https://www.mediawiki.org/wiki/Special:ApiSandbox#action=query&format=js... https://www.mediawiki.org/wiki/Special:ApiSandbox#action=query&format=json&list=extdistbranches&formatversion=2&edbexts=WikiEditor
returns this sort of thing:
"REL1_39": "https://extdist.wmflabs.org/dist/extensions/WikiEditor-REL1_39-76d9ffd.tar.g...", "REL1_40": "https://extdist.wmflabs.org/dist/extensions/WikiEditor-REL1_40-d330183.tar.g...", "master": "https://extdist.wmflabs.org/dist/extensions/WikiEditor-master-17163cd.tar.gz",
On 2/10/23 20:47, Sebastian Berlin wrote:
Is there a way to programmatically get a download link for an extension if you have the extension name and version of MediaWiki? E.g. for Wikispeech and MW 1.39 this would (currently) be https://extdist.wmflabs.org/dist/extensions/Wikispeech-REL1_39-5dc08c9.tar.g.... It's the hash(?) a the end that makes it tricky.
*Sebastian Berlin* Utvecklare//Developer/ Wikimedia Sverige (WMSE)
E-post//E-Mail/: sebastian.berlin@wikimedia.se Telefon//Phone/: (+46) 0707 - 92 03 84
MediaWiki-l mailing list --mediawiki-l@lists.wikimedia.org To unsubscribe send an email tomediawiki-l-leave@lists.wikimedia.org https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/
Thanks Sam. That's exactly what I wanted.
*Sebastian Berlin* Utvecklare/*Developer* Wikimedia Sverige (WMSE)
E-post/*E-Mail*: sebastian.berlin@wikimedia.se Telefon/*Phone*: (+46) 0707 - 92 03 84
On Mon, 2 Oct 2023 at 15:55, Sam Wilson sam@samwilson.id.au wrote:
The ExtensionDistributor https://www.mediawiki.org/wiki/Extension:ExtensionDistributor API can get you download URLs, e.g. this:
https://www.mediawiki.org/wiki/Special:ApiSandbox#action=query&format=js...
returns this sort of thing:
"REL1_39": "https://extdist.wmflabs.org/dist/extensions/WikiEditor-REL1_39-76d9ffd.tar.g..." https://extdist.wmflabs.org/dist/extensions/WikiEditor-REL1_39-76d9ffd.tar.gz , "REL1_40": "https://extdist.wmflabs.org/dist/extensions/WikiEditor-REL1_40-d330183.tar.g..." https://extdist.wmflabs.org/dist/extensions/WikiEditor-REL1_40-d330183.tar.gz , "master": "https://extdist.wmflabs.org/dist/extensions/WikiEditor-master-17163cd.tar.gz" https://extdist.wmflabs.org/dist/extensions/WikiEditor-master-17163cd.tar.gz ,
On 2/10/23 20:47, Sebastian Berlin wrote:
Is there a way to programmatically get a download link for an extension if you have the extension name and version of MediaWiki? E.g. for Wikispeech and MW 1.39 this would (currently) be https://extdist.wmflabs.org/dist/extensions/Wikispeech-REL1_39-5dc08c9.tar.g.... It's the hash(?) a the end that makes it tricky.
*Sebastian Berlin* Utvecklare/*Developer* Wikimedia Sverige (WMSE)
E-post/*E-Mail*: sebastian.berlin@wikimedia.se Telefon/*Phone*: (+46) 0707 - 92 03 84
MediaWiki-l mailing list -- mediawiki-l@lists.wikimedia.org To unsubscribe send an email to mediawiki-l-leave@lists.wikimedia.orghttps://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/
MediaWiki-l mailing list -- mediawiki-l@lists.wikimedia.org To unsubscribe send an email to mediawiki-l-leave@lists.wikimedia.org
https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/
mediawiki-l@lists.wikimedia.org