"Dantman" posted a comment on MediaWiki.r107860.
URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/107860#c28876

Commit summary for MediaWiki.r107860:

Add RequestContextCreateSkin hook to allow extensions to override the loading 
of skins.

Dantman's comment:

I've seen some sites in the past that have wanted to use a separate skin on 
their mainpage, etc... anyone doing that has resorted to core hacks I'd rather 
not see.

Though the key thing on my mind right now is mobile. Currently our 
MobileFrontend actually works by having the ENTIRE skin rendered, assuming that 
the skin works in a MonoBook/Vector like way, and then ripping the #content 
block out of the rendered skin output and using it. That's an absolutely 
horrible way to write Mobile code, and it looks like the inability to hook in 
and have some SkinMobile class loaded when displaying the mobile site is the 
reason MobileFrontend resorts to such a horrible way of working.

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to