Wiki version no longer supported

Discussions about the wiki documentation of FreeCAD and its translation.
User avatar
Posts: 359
Joined: Thu Mar 03, 2016 9:52 pm
Location: Texas

Wiki version no longer supported

Postby kkremitzki » Mon Jan 30, 2017 11:50 pm

I'm testing a "staging" setup for the infrastructure at While testing the freecad skin with Mediawiki 1.28, I got an error:

Code: Select all

PHP Fatal error:  Uncaught Exception: /var/www/wiki/skins/freecad/skin.json does not exist!

I researched the problem and found the current version deployed, MediaWiki 1.26 is "a legacy version ... that is no longer supported." The way extension registration works (and the way the freecad skin is set up) is deprecated as of 1.25 and it looks like it's fully removed in the current version of MediaWiki.

The above error occurs when I try to load the skin with wfLoadSkin( 'freecad' );. When I try to load the skin the old-fashioned way, require_once "$IP/skins/freecad/freecad.php";, the page loads with a garbled layout and this error in the JavaScript console:

Code: Select all

Uncaught Error: Unknown dependency: jquery ...

Researching that, I found that "MW 1.25 removes 'jquery' as a valid ResourceLoader dependency. The fix is to remove 'jquery' as a dependency in the ... resource definitions."

So, I just wanted to make a thread to talk about the work that's going to need to be done (eventually) to update the MediaWiki installation and get a staging environment set up for further MediaWiki-oriented testing. If anyone has any experience with this, feel free to chime in!
User avatar
Site Admin
Posts: 8666
Joined: Tue Feb 17, 2009 9:16 pm
Location: São Paulo, Brazil

Re: Wiki version no longer supported

Postby yorik » Tue Jan 31, 2017 8:41 pm

Hm that will be a problem... Maybe there is a way to manually add the jquery version we have on the website...