Topic on Skin talk:Chameleon

Make Chameleon compatible with MediaWiki 1.32.0

7
Dktue (talkcontribs)

TÜpedia ist uses the Chameleon-Skin and it looks awesome! Unfortunately it seems not to work with MediaWiki 1.32.0.

Do you have any plans to adapt it to MediaWiki 1.32.0?

F.trott (talkcontribs)

Yes, definitely. I have to look at what changed exactly, which may take a few weeks.

F.trott (talkcontribs)

I think I fixed it. If you could test it that would be great. I'd then release an updated version.

To check the development version it should be enough to replace "mediawiki/chameleon-skin": "~1.0" with "mediawiki/chameleon-skin": "dev-master" in composer.local.json and run composer update "mediawiki/chameleon-skin".

Dktue (talkcontribs)

Awesome for the quick fix, thanks!


We just tried it but got the following error:

Fatal error: Cannot declare class SkinChameleon, because the name is already in use in /usr/www/users/tuepei/1.32.0/skins/chameleon/src/SkinChameleon.php on line 122  

F.trott (talkcontribs)

Could you make sure that you did not add any wfLoadSkin or similar for Chameleon to LocalSettings.php? Because I have it running here on an MW 1.33.0-alpha without problems.

61.166.239.115 (talkcontribs)

root@li:/data/wwwroot/default# composer update "mediawiki/chameleon-skin"

> ComposerHookHandler::onPreUpdate

Loading composer repositories with package information

Updating dependencies (including require-dev)

Package operations: 0 installs, 1 update, 0 removals

Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.

Generating optimized autoload files

> ComposerVendorHtaccessCreator::onEvent

F.trott (talkcontribs)

Looks good. But how is this related to the conversation? What are you trying to say?

Reply to "Make Chameleon compatible with MediaWiki 1.32.0"