ProfessionalWiki / chameleon

Provides a highly flexible and customizable skin using Bootstrap 4
https://www.mediawiki.org/wiki/Skin:Chameleon
Other
114 stars 62 forks source link

Non Standard ChameleonLayoutFile returns blank page on MW 1.38.2 #342

Open mschwarzgorn opened 2 years ago

mschwarzgorn commented 2 years ago

Fresh Installation of mediawiki 1.38.2 Setup Chameleon

Runs fine in default settings.

Added in LocalSettings.php:

$egChameleonLayoutFile= __DIR__ . '/skins/chameleon/layouts/stickyhead.xml';

Result: Blank Page. Error in debug:

[error] /index.php/Hauptseite PHP Deprecated: Use of MWNamespace::getCanonicalName was deprecated in MediaWiki 1.34. [Called from Skins\Chameleon\Components\PageTools::getNamespaceKey]

Added in LocalSettings.php:

$egChameleonLayoutFile= __DIR__ . '/skins/chameleon/layouts/standard.xml';

Works fine.

AhmedaliElgabry commented 2 years ago

Helloo, I get the same error ,when i tryng yo use stickyhead layout ,only the staderd layout works..is there a solution for that ? thanks

malberts commented 2 years ago

Which version of Chameleon are you using?

The MWNamespace issue was fixed in 4.1.0 in March (https://github.com/ProfessionalWiki/chameleon/commit/1790f7e7f31e22446d5d864be37c5c2259104673).

AhmedaliElgabry commented 2 years ago

i am using 4.1.0 and still face the same error,The standard skin works well but the when trying other skins get an empty page

malberts commented 2 years ago

@AhmedaliElgabry Can you enable some debug logging to get an error message. The original error message was definitely fixed already.

Using MW 1.38.2 and Chameleon 4.1.0 it works: Screenshot_20220805_110602