Hi again,
after @Matma Rex clarified the building and testing process for me, I tried to load the theme in my chameleon skin. Unfortunately, it does not work and WikimediaUI is used e.g. when editing a page or in the extension advanced search.
I did the steps according to OOUI/Themes (Using themes in MediaWiki) and copied everything accordingly. I then edited the skin.json of chameleon and inserted the code according to the example on Gerrit.
"SkinOOUIThemes": { "pf2eui": "Pf2eUI" }, "OOUIThemePaths": { "Pf2eUI": { "scripts": "skins/chameleon/ooui/oojs-ui-pf2eui.js", "styles": "skins/chameleon/ooui/oojs-ui-{module}-pf2eui.css", "images": "skins/chameleon/ooui/images/{module}.json" } }, "AutoloadClasses": { "OOUI\\Pf2eUITheme": "skins/chameleon/ooui/Pf2eUITheme.php" },
I have tested 3 things:
- all files are at the locations stated in skin.json
- the css files in the folder seem to have the correct color palette
- when purposefully inserting mistakes in skin.json, some extensions (e.g. Advanced Search) won't load
So it seems that my OOUI stated in skin.json is found but it does not overwrite the default in the extension.json.
Do I have to edit every single extension.json, or am I making a mistake?
Mediawiki 1.37.6 Chameleon 4.1.0
Thank you in advance for your help!