The ExtensionDistributor API can get you download URLs, e.g. this:
returns this sort of thing:
"REL1_39":
"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.gz",
"master":
"https://extdist.wmflabs.org/dist/extensions/WikiEditor-master-17163cd.tar.gz",
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.gz. It's the hash(?) a the end that makes it tricky.E-post/E-Mail: sebastian.berlin@wikimedia.se
Sebastian Berlin
Utvecklare/DeveloperWikimedia Sverige (WMSE)
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/