It is possible to download extensions in ZIP format from the WMF repo using a link like this:
http://git.wikimedia.org/zip/?r=mediawiki/extensions/FooBar.git&h=someTa...
However, this will produce a package with the extension's files in its root folder. An unsuspecting user will probably simply extract this package into the .../extensions folder with all its files ending up there instead of in the extensions subfolder.
The ExtensionDistributor will provide correctly built packages, but it is apparently only working on MW release tags, e.g. REL1_26.
Is there any way to download correctly built packages with tags other than the MW relases?
Stephan
I now used https://github.com/wikimedia/mediawiki-extensions-FooBar/archive/someTag.zip Github will put the files in a folder named mediawiki-extensions-FooBar-someTag, which is not ideal, but better than risking a mess in the .../extensions folder. If there is a better solution I'd still be interested.
Stephan
On 8 February 2016 at 23:51, Stephan Gambke s7eph4n@gmail.com wrote:
It is possible to download extensions in ZIP format from the WMF repo using a link like this:
http://git.wikimedia.org/zip/?r=mediawiki/extensions/FooBar.git&h=someTa...
However, this will produce a package with the extension's files in its root folder. An unsuspecting user will probably simply extract this package into the .../extensions folder with all its files ending up there instead of in the extensions subfolder.
The ExtensionDistributor will provide correctly built packages, but it is apparently only working on MW release tags, e.g. REL1_26.
Is there any way to download correctly built packages with tags other than the MW relases?
Stephan
Hi!
Take a look at https://www.mediawiki.org/wiki/Special:ExtensionDistributor
And thus http://extdist.wmflabs.org/dist/extensions/
Addshore
On 9 February 2016 at 08:16, Stephan Gambke s7eph4n@gmail.com wrote:
I now used https://github.com/wikimedia/mediawiki-extensions-FooBar/archive/someTag.zip Github will put the files in a folder named mediawiki-extensions-FooBar-someTag, which is not ideal, but better than risking a mess in the .../extensions folder. If there is a better solution I'd still be interested.
Stephan
On 8 February 2016 at 23:51, Stephan Gambke s7eph4n@gmail.com wrote:
It is possible to download extensions in ZIP format from the WMF repo using a link like this:
http://git.wikimedia.org/zip/?r=mediawiki/extensions/FooBar.git&h=someTa...
However, this will produce a package with the extension's files in its root folder. An unsuspecting user will probably simply extract this package into the .../extensions folder with all its files ending up there instead of in the extensions subfolder.
The ExtensionDistributor will provide correctly built packages, but it is apparently only working on MW release tags, e.g. REL1_26.
Is there any way to download correctly built packages with tags other than the MW relases?
Stephan
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
On 9 February 2016 at 09:26, Addshore addshorewiki@gmail.com wrote:
Take a look at https://www.mediawiki.org/wiki/Special:ExtensionDistributor
I already did.
On 8 February 2016 at 23:51, Stephan Gambke s7eph4n@gmail.com wrote:
The ExtensionDistributor will provide correctly built packages, but it is apparently only working on MW release tags, e.g. REL1_26.
If there was a way to convince it to use arbitrary tags, that would be great.
Cheers Stephan
On Tue, Feb 9, 2016 at 12:21 AM Stephan Gambke s7eph4n@gmail.com wrote:
I now used https://github.com/wikimedia/mediawiki-extensions-FooBar/archive/someTag.zip Github will put the files in a folder named mediawiki-extensions-FooBar-someTag, which is not ideal, but better than risking a mess in the .../extensions folder. If there is a better solution I'd still be interested.
Stephan
Github's your best option unless ExtensionDistributor got the ability to do snapshots of arbitrary branches/tags/sha1s.
-Chad
Ok, that's what I'll use then. Thanks!
Stephan
On 10 February 2016 at 17:12, Chad innocentkiller@gmail.com wrote:
On Tue, Feb 9, 2016 at 12:21 AM Stephan Gambke s7eph4n@gmail.com wrote:
I now used https://github.com/wikimedia/mediawiki-extensions-FooBar/archive/someTag.zip Github will put the files in a folder named mediawiki-extensions-FooBar-someTag, which is not ideal, but better than risking a mess in the .../extensions folder. If there is a better solution I'd still be interested.
Stephan
Github's your best option unless ExtensionDistributor got the ability to do snapshots of arbitrary branches/tags/sha1s.
-Chad _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
wikitech-l@lists.wikimedia.org