Page MenuHomeMiraheze

mirage skin shows only text
Closed, ResolvedPublic

Description

my MaksioRudzia Wiki have Monobook skin, and i want to change to Mirage but that skin only shows text and nothing else. Can you help me?

Zrzut ekranu 2024-06-10 175536.png (904×1 px, 57 KB)

Related Objects

StatusAssignedTask
ResolvedNone
OpenNone

Event Timeline

BlankEclair triaged this task as Normal priority.
BlankEclair edited projects, added Extensions; removed Configuration, ManageWiki.
BlankEclair subscribed.

Trying to load anything for skins.mirage.styles from ResourceLoader causes a TypeError (example link):

MediaWiki internal error.

Original exception: [dd350d51f9bc856863ba63a3] 2024-06-13 06:04:44: Fatal exception of type "TypeError"

Exception caught inside exception handler.

Set $wgShowExceptionDetails = true; at the bottom of LocalSettings.php to show detailed debugging information.

Waiting for someone with server access to get exception details so someone could debug further

Oddly enough, this also breaks on Mirabeta Meta with the same exception type (not 100% sure if it's the same error, but maybe I can get a kickstart to debugging this):

[7bbe86d83940395b8438b44e] /w/load.php?modules=skins.mirage.styles TypeError: Illegal offset type

Backtrace:

from /srv/mediawiki/1.42/skins/Mirage/src/ResourceLoader/MirageResourceLoaderModule.php(93)
#0 /srv/mediawiki/1.42/includes/ResourceLoader/Module.php(725): MediaWiki\Skins\Mirage\ResourceLoader\MirageResourceLoaderModule->getPreloadLinks(MediaWiki\ResourceLoader\Context)
#1 /srv/mediawiki/1.42/includes/ResourceLoader/Module.php(895): MediaWiki\ResourceLoader\Module->getHeaders(MediaWiki\ResourceLoader\Context)
#2 /srv/mediawiki/1.42/includes/ResourceLoader/Module.php(808): MediaWiki\ResourceLoader\Module->buildContent(MediaWiki\ResourceLoader\Context)
#3 /srv/mediawiki/1.42/includes/ResourceLoader/ResourceLoader.php(1271): MediaWiki\ResourceLoader\Module->getModuleContent(MediaWiki\ResourceLoader\Context)
#4 /srv/mediawiki/1.42/includes/ResourceLoader/ResourceLoader.php(1195): MediaWiki\ResourceLoader\ResourceLoader->addOneModuleResponse(MediaWiki\ResourceLoader\Context, Wikimedia\Minify\IdentityMinifierState, string, MediaWiki\Skins\Mirage\ResourceLoader\MirageResourceLoaderModule, array)
#5 /srv/mediawiki/1.42/includes/ResourceLoader/ResourceLoader.php(1113): MediaWiki\ResourceLoader\ResourceLoader->getOneModuleResponse(MediaWiki\ResourceLoader\Context, string, MediaWiki\Skins\Mirage\ResourceLoader\MirageResourceLoaderModule)
#6 /srv/mediawiki/1.42/includes/ResourceLoader/ResourceLoader.php(825): MediaWiki\ResourceLoader\ResourceLoader->makeModuleResponse(MediaWiki\ResourceLoader\Context, array, array)
#7 /srv/mediawiki/1.42/includes/ResourceLoader/ResourceLoaderEntryPoint.php(53): MediaWiki\ResourceLoader\ResourceLoader->respond(MediaWiki\ResourceLoader\Context)
#8 /srv/mediawiki/1.42/includes/MediaWikiEntryPoint.php(199): MediaWiki\ResourceLoader\ResourceLoaderEntryPoint->execute()
#9 /srv/mediawiki/1.42/load.php(42): MediaWiki\MediaWikiEntryPoint->run()
#10 /srv/mediawiki/config/initialise/entrypoints/load.php(3): require(string)
#11 {main}
BlankEclair changed the task status from Open to Stalled.Jun 13 2024, 07:40
BlankEclair added a project: Upstream.

This is a bug with Mirage. I've filed a bug report here: https://phabricator.wikimedia.org/T367381

Workarounds to this bug:

  • Use another skin as the default
  • Unset the wordmark (labelled as "Wordmark ($wgWordmark)" under ManageWiki)
BlankEclair changed the task status from Stalled to Open.Jun 13 2024, 22:47

Bug fix pushed to upstream. Creating task to request the skin be upgraded on Miraheze