You are late. ;-)

A type mediawiki-skin exists. It ensures that skins will go in the
skins directory. The skin's subdirectory name is derived from the
package name exactly the same way as for extensions, i.e. a package
named "cologne-blue" would go to .../skins/CologneBlue, with the
exception, that a trailing "-skin" on the name is truncated to be able
to disambiguate skin package names from extensions. This means you
could have a package "mediawiki/vector" of type "mediawiki-extension"
which would go to .../extensions/Vector, and another package
"mediawiki/vector-skin" of type "mediawiki-skin" which would go to
.../skins/Vector. [1] and [2] use this type already.

Stephan


[1] https://packagist.org/packages/mediawiki/chameleon-skin
[2] https://packagist.org/packages/mediawiki/refreshed-skin

On 27 May 2014 18:47, Nick White <[email protected]> wrote:
> One related thing that could be useful would be creating a
> "mediawiki-skin" type for composer, so skins could use composer and
> be assured of going into the skins/ directory.
>
> I haven't used composer yet, but presumably it's a reasonable thing
> for skins to support, once they can be automatically installed into
> the appropriate directory.
>
> Nick
>
> _______________________________________________
> Wikitech-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to