You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm using Composer for my wiki project.
Now, I just started developing my MediaWiki skin and want to load it as package from my Github repo.
I'm trying but it doesn't work fine.
This is my composer.local.json. (In normally, MediaWiki uses this json for dependency.)
When I set package type "mediawiki-skin", the skin was installed on "/skins/example".
When I set package type "mediawiki-extension", the skin was installed on "/extensions/Example".
When I set package type "mediawiki-skin" and package name "Example", installation stopped by error. "A repository of type "package" contains an invalid package definition: Invalid package information: name : skins/Example is invalid, it should not contain uppercase characters. We suggest using skins/example instead."
Do result 1, then rename from "/skins/example" to "/skins/Example". It works fine!
Unfortunately I don't test this code yet, because I haven't enough skills.
I hope to test it and make a pull request, but probably your fixing is faster than me.
Thank you for reading!
If you need additional info, let me know!
The text was updated successfully, but these errors were encountered:
Hi, I'm using Composer for my wiki project.
Now, I just started developing my MediaWiki skin and want to load it as package from my Github repo.
I'm trying but it doesn't work fine.
This is my composer.local.json. (In normally, MediaWiki uses this json for dependency.)
On my environment, the result is bellow.
Therefore, I learn the skin directory's name needs CamelCase and it sould place in skins directory.
https://www.mediawiki.org/wiki/Manual:How_to_make_a_MediaWiki_skin
So, how about change this function (
installers/src/Composer/Installers/MediaWikiInstaller.php
Lines 52 to 57 in 2a91702
Unfortunately I don't test this code yet, because I haven't enough skills.
I hope to test it and make a pull request, but probably your fixing is faster than me.
Thank you for reading!
If you need additional info, let me know!
The text was updated successfully, but these errors were encountered: