Topic on User talk:Dantman

Wissamkhatib (talkcontribs)

Hello,

I’ve followed your tutorial for creating subskins and it seems not to work on MW 1.24

Did I do something wrong? I copied your files as they are creating a skin called 'My Skin', but when I choose the skin in preference I get a blank white page.

Does this tutorial not apply to the new version of Mediawiki?

Dantman (talkcontribs)

Nothing should have changed. If everything is completely white that sounds like you have an error in your code.

Could you show me what you put together?

Wissamkhatib (talkcontribs)
Dantman (talkcontribs)
require_once( dirname( __FILE__ ) . '/Vector/Vector.php" );

That string is opened with but closed with ", that's the issue.

However you should really just drop that whole line. Vector is auto-loaded now and that's the wrong file, in multiple ways.

Also note that after fixing that you're probably going to run into a vector-specific error related to Vector's use of a configuration object.

Reply to "Subskin tutorial"