You are not logged in.
Hi all,
I have a Mediawiki installation that refers to several extensions and skins like this in a file called LocalSettings.php:
require_once( "$IP/extensions/WikiEditor/WikiEditor.php" );
require_once ( dirname( __FILE__ ) . "/extensions/Cite/Cite.php" );
require_once "$IP/skins/CologneBlue/CologneBlue.php";
require_once "$IP/skins/Modern/Modern.php";
require_once "$IP/skins/Timeless/SkinTimeless.php";
require_once "$IP/skins/MonoBook/MonoBook.php";
require_once "$IP/skins/Vector/Vector.php";
It has worked until the last time I visited my wiki, but yesterday it wouldn't show anything unless I commented out all these lines. It appeared all these php files have vashished:
$ ls /usr/share/webapps/mediawiki/skins/Vector/ | grep Vektor.php
$
Even in the source tree, the files are not there: https://github.com/wikimedia/mediawiki-skins-Vector
I assume that I missed some info when last updating my Mediawiki using pacman.
Can someone tell me the new and updated way to refer to skins and extensions in mediawiki?
Thanks for any help!
Last edited by diederick76 (2019-01-20 13:54:01)
Offline
Some of these extensions of MediaWiki have been replaced by core functionality, like Vector.
The next link tells that https://www.mediawiki.org/wiki/Extension:Vector, follow the links on that page.
You may need to search for every single extension that's not working for you anymore.
I cant' exactly tell you for my MediaWiki runs on Debian;)
Offline
Thanks! In fact, Vector is a skin, not an extension, but replacing
require_once "$IP/skins/Vector/Vector.php";
with
wfLoadSkin( 'Vector' );
as mentioned at https://www.mediawiki.org/wiki/Skin:Vector indeed solved the problem.
Thanks again!
Offline
Glad you solved it.
Btw. I know Vector is a skin but that's what they call it themselves
Offline