On 10-12-07 08:18 AM, Bryan Tong Minh wrote:
On Tue, Dec 7, 2010 at 5:12 PM, Trevor
Parscal<tparscal(a)wikimedia.org> wrote:
Oh please no!
- Trevor
On 12/7/10 7:26 AM, Platonides wrote:
> Daniel Friesen wrote:
>
>> PHP -> XSL doesn't quite feel like much of an improvement in terms of
>> cutting down on the verbose redundant code boilerplate required to
>> insert something.
>> ie:<xsl:value-of select="title"/> doesn't look much better
than<?php
>> $this->text("title") ?>, as opposed to {$title|escape:html}.
>>
> This seems an argument for using the preprocessor for the skin system,
> in order to include the variables into the raw html.
>
>
I was first like wtf as well, but on the other hand this way skin
building would be much more accesibles for non-programmer mediawiki
users. Regular wiki users do know wikitext, as opposed to PHP. I'm not
entirely sure though that this would be good for your sanity. I
wouldn't discard the idea immediately, insane as it may seem.
^_^ I was drafting a response Platonides' comment, ie: an example of a
chunk of MonoBook code using a WikiText style template language... in
order to demonstrate the insanity of using the style that our
preprocessor preprocesses as a template language for skins...
I decided it sounded obviously insane enough that I didn't need to...
;) wan't me to re-start that example...?
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [
http://daniel.friesen.name]
--
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [
http://daniel.friesen.name]