Topic on Project:Support desk

Erikgracht (talkcontribs)

I setup a testwiki with mediawiki 1.25 (latest version), default skin = Vector.

when i try to load another skin such as Gamepress, Blueprint etc. i get blank page or i get this error page:

Whoops! The default skin for your wiki, defined in $wgDefaultSkin as “gamepress”, is not available.

Your installation seems to include the following skins. See Manual: Skin configuration for information how to enable them and choose the default.

  • bouquet / Bouquet (disabled)
  • cologneblue / CologneBlue (enabled)
  • deepsea / DeepSea (disabled)
  • gamepress / Gamepress (enabled) <<<<<<<<<<-------------
  • modern / Modern (enabled)
  • monobook / MonoBook (enabled)
  • tweeki / Tweeki (disabled)
  • vector / Vector (enabled)

in LocalSettings.php:

$wgDefaultSkin = “gamepress”;

require_once "$IP/skins/Gamepress/Gamepress.php";

the same with all other skins behalve the four by installation.

What goes wrong here?

Regards,

Erik

Installed software

Entry point URLs

Installed skins

Installed extensions

Installed libraries

Parser extension tags

, ,  and 

Parser function hooks

anchorencode, basepagename, basepagenamee, canonicalurl, canonicalurle, cascadingsources, defaultsort, displaytitle, expr, filepath, formatdate, formatnum, fullpagename, fullpagenamee, fullurl, fullurle, gender, grammar, if, ifeq, iferror, ifexist, ifexpr, int, language, lc, lcfirst, localurl, localurle, namespace, namespacee, namespacenumber, ns, nse, numberingroup, numberofactiveusers, numberofadmins, numberofarticles, numberofedits, numberoffiles, numberofpages, numberofusers, padleft, padright, pageid, pagename, pagenamee, pagesincategory, pagesize, plural, protectionlevel, rel2abs, revisionday, revisionday2, revisionid, revisionmonth, revisionmonth1, revisiontimestamp, revisionuser, revisionyear, rootpagename, rootpagenamee, special, speciale, subjectpagename, subjectpagenamee, subjectspace, subjectspacee, subpagename, subpagenamee, switch, tag, talkpagename, talkpagenamee, talkspace, talkspacee, time, timel, titleparts, uc, ucfirst and urlencode

88.130.85.8 (talkcontribs)

What you have there in LocalSettings.php looks good. Is it maybe relevant to first include the skin file and to later set it as default skin? Meaning: Does it help to change the order of these lines?

If this does not help, then I would search the source code for the error message "The default skin for your wiki, defined in". Obviously, this text is coming from the language label called "default-skin-not-found". I would then search for this label and read the code to see, under which conditions this error happens. That should help prevent these conditions...

80.56.217.247 (talkcontribs)

"Meaning: Does it help to change the order of these lines?"

I tried it, but no changes.

searching the source code a little later, because this ask more time from me.

Thanks for your reply!

Ciencia Al Poder (talkcontribs)

Maybe there's an issue with the new skin registration system... try using wfLoadSkin( 'Gamepress' ); instead of require_once "$IP/skins/Gamepress/Gamepress.php";

This, that and the other (talkcontribs)

Looks like you've got some curly quotes around gamepress in LocalSettings.php! Try changing them to single quotes ' '.