Great, the header hackery I added to my subskin is
completely borked in IE.
Can't I add a meta tag somewhere or something? This front end stuff is
annoying.
On Wed, Feb 12, 2014 at 11:03 AM, Andru Vallance <andru(a)tinymighty.com>wrote;wrote:
On 12/02/2014, at 13:00,
mediawiki-l-request(a)lists.wikimedia.org wrote:
But how do you add HTML? This is the primary
challenge for us. Adding
the
ability to do this would, I think, substantially
extend the power of
Daniel's excellent tutorial. Would you be willing to share some of the
code
you use for adding custom HTML in
myskin.skin.php?
Best,
Forest
You might be interested in a MediaWiki skinning framework I've been
working on called Skinny:
http://github.com/andru/skinny
Rather than the usual everything-in-one-giant-execute-method of MediaWiki
skins it breaks down the HTML into small template files which can be
overridden by 'subskins'. It makes defining and loading custom resources
via ResourceLoader much easier and it also introduces the concept of skin
'layouts', which allows page layouts to be set on a per-page basis without
CSS hacks.
It's still undergoing serious breaking changes on a regular basis and
it's totally undocumented, but it's gradually approaching a fairly stable
API and I'm working on a demo wiki for it which I hope to have up in a few
weeks.
You can check out an implementation of a skin developed using it called
Booty, which is a highly configurable bootstrap-3 based skin I'm working
on:
http://github.com/andru/booty - Again, unfinished and undocumented!
So far I've only been using these myself for client projects.
I'll also be finishing up two client projects in the coming weeks which
feature skins based on Booty, so there'll soon be some examples of it in
the wild.
I'll announce it here when the demo/documentation wiki is up, but since
this conversation is relevant I thought I'd drop in an early note about it
here incase it's of any use.
andru vallance /
tinymighty.com
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l