Dynamic skin is quite hacky. And it's got horrible issues with performance. Not to mention it's technically not properly integrated with the actual skins, and the idea here is not user control. The thought here is actually trying to separate MediaWiki's Models and Controllers correctly from the Views.
:/ One of these days someone should actually try and separate the Models from the Controllers to. Instead of us using piles of SQL all over the place. Though, that's probably a kind of rewrite no-one would dare attempt.
~Daniel Friesen(Dantman) of: -The Gaiapedia (http://gaia.wikia.com) -Wikia ACG on Wikia.com (http://wikia.com/wiki/Wikia_ACG) -and Wiki-Tools.com (http://wiki-tools.com)
Roan Kattouw wrote:
DanTMan schreef:
Hmmm, so you're using Smarty in MediaWiki? How far did you compare template engines? The Skin system was something we discussed in #mediawiki as something which could use some rewriting. Quite simply Skins aren't meant to be made in PHP. All this performance is nice, but there are issues when your Web Designers need to know how to write PHP to be able to create a skin in HTML. Additionally the actual inclusion of the various styles and scripts could probably use some simplification in order to make updates to what we include more portable.
The DynamicSkin extension does something similar to what you're suggesting.
Roan Kattouw (Catrope)
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l