Jump to content

Topic on Skin talk:Foreground

Loizbec (talkcontribs)

I 'm using foreground (branch REL1_42) on mediawiki 1.42, with a linux apache server. Foreground is in a directory called foreground but it references fonts in a directory called Foreground. So I tried to rename the directory, which triggered an error.

I had to create a Foreground directory with an assets symlink to the foreground/assets directory, so that icons would display…

There might be a correction somewhere to correct that behavior…

Thanks for everything

Samwilson (talkcontribs)

@Loizbec: The directory should be called Foreground. What error do you get when you call it that? It'd be better to fix that error, rather than renaming it to foreground.

Loizbec (talkcontribs)

foreground configuration error MediaWiki is unable to load the skin foreground. Please check that the skin's name is correct and all of its files are properly installed. Details:

Error reading /var/www/html/w/skins/foreground/skin.json. filemtime(): stat failed for /var/www/html/w/skins/foreground/skin.json.
  1. 0 /var/www/html/w/includes/GlobalFunctions.php(90): ExtensionRegistry->queue()
  2. 1 /var/www/html/w/LocalSettings.php(192): wfLoadSkin()
  3. 2 /var/www/html/w/includes/Setup.php(215): require_once('...')
  4. 3 /var/www/html/w/includes/WebStart.php(85): require_once('...')
  5. 4 /var/www/html/w/index.php(50): require('...')
  6. 5 {main}
Fatal error:  Error Loading extension. Unable to open file /var/www/html/w/skins/foreground/skin.json: filemtime(): stat failed for /var/www/html/w/skins/foreground/skin.json in /var/www/html/w/includes/registration/MissingExtensionException.php on line 96

Loizbec (talkcontribs)

I'm sorry I have bothered you with that… It was my wfLoadSkin that was in lower case (it worked with v_1.35).

Samwilson (talkcontribs)

@Loizbec: No worries. It changed, and was not backwards compatible. Seemed worth breaking things, to align Foreground with other skins. Might've been the wrong choice! :-)

Reply to "font path"