Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non Standard ChameleonLayoutFile returns blank page on MW 1.38.2 #342

Open
mschwarzgorn opened this issue Jul 26, 2022 · 4 comments
Open
Labels

Comments

@mschwarzgorn
Copy link

mschwarzgorn commented Jul 26, 2022

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.

@malberts malberts added the bug label Jul 26, 2022
@malberts malberts added this to the 4.2.0 milestone Jul 26, 2022
@AhmedaliElgabry
Copy link

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 malberts self-assigned this Aug 2, 2022
@malberts
Copy link
Contributor

malberts commented Aug 2, 2022

Which version of Chameleon are you using?

The MWNamespace issue was fixed in 4.1.0 in March (1790f7e).

@malberts malberts removed their assignment Aug 2, 2022
@malberts malberts removed this from the 4.2.0 milestone Aug 2, 2022
@AhmedaliElgabry
Copy link

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
Copy link
Contributor

malberts commented Aug 5, 2022

@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

@malberts malberts added MW 1.39 and removed MW 1.39 labels Jan 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants