Re: [Wikitech-l] Taking suggestions for a template language syntax for our skin system

2011-09-14 Thread Ashar Voultoiz
On 13/09/11 01:23, Rob Lanphier wrote: Do you imagine that the person who creates the next great MediaWiki theme is someone who is a CSS expert, or more of a programmer? Ultimately, it should be someone with none of those skills. I like how blogspot.com let you move around the boxes, change

Re: [Wikitech-l] Taking suggestions for a template language syntax for our skin system

2011-09-14 Thread Daniel Friesen
On 11-09-13 11:23 PM, Ashar Voultoiz wrote: On 13/09/11 01:23, Rob Lanphier wrote: Do you imagine that the person who creates the next great MediaWiki theme is someone who is a CSS expert, or more of a programmer? Ultimately, it should be someone with none of those skills. I like how

Re: [Wikitech-l] Taking suggestions for a template language syntax for our skin system

2011-09-12 Thread Daniel Friesen
On 11-09-11 04:56 PM, Rob Lanphier wrote: On Thu, Sep 8, 2011 at 11:04 AM, Daniel Friesen li...@nadir-seen-fire.com wrote: Aye, there's absolutely no way HAML is going to fly with the majority of people building skins. Instead of Why the hell do I have to insert all this junk just to make my

Re: [Wikitech-l] Taking suggestions for a template language syntax for our skin system

2011-09-12 Thread Dmitriy Sintsov
* Daniel Friesen li...@nadir-seen-fire.com [Mon, 12 Sep 2011 02:48:35 -0700]: On 11-09-11 04:56 PM, Rob Lanphier wrote: On Thu, Sep 8, 2011 at 11:04 AM, Daniel Friesen li...@nadir-seen-fire.com wrote: Aye, there's absolutely no way HAML is going to fly with the majority of people

Re: [Wikitech-l] Taking suggestions for a template language syntax for our skin system

2011-09-12 Thread Rob Lanphier
On Mon, Sep 12, 2011 at 2:48 AM, Daniel Friesen li...@nadir-seen-fire.com wrote: On 11-09-11 04:56 PM, Rob Lanphier wrote: I'm curious what problem you're trying to solve.  It sounds like you're trying to get people who are currently working on Wordpress skins or Drupal skins to work on

Re: [Wikitech-l] Taking suggestions for a template language syntax for our skin system

2011-09-12 Thread Daniel Friesen
On 11-09-12 04:23 PM, Rob Lanphier wrote: On Mon, Sep 12, 2011 at 2:48 AM, Daniel Friesen li...@nadir-seen-fire.com wrote: On 11-09-11 04:56 PM, Rob Lanphier wrote: I'm curious what problem you're trying to solve. It sounds like you're trying to get people who are currently working on

Re: [Wikitech-l] Taking suggestions for a template language syntax for our skin system

2011-09-11 Thread Russell N. Nelson - rnnelson
: Thursday, September 08, 2011 2:18 PM To: Wikimedia developers Subject: Re: [Wikitech-l] Taking suggestions for a template language syntax for our skin system How about http://en.wikipedia.org/wiki/TRAC_%28programming_language%29 ? It has the benefit that simple things are simple, but you can create

Re: [Wikitech-l] Taking suggestions for a template language syntax for our skin system

2011-09-11 Thread John Du Hart
, 2011 2:18 PM To: Wikimedia developers Subject: Re: [Wikitech-l] Taking suggestions for a template language syntax for our skin system How about http://en.wikipedia.org/wiki/TRAC_%28programming_language%29 ? It has the benefit that simple things are simple, but you can create complicated

Re: [Wikitech-l] Taking suggestions for a template language syntax for our skin system

2011-09-11 Thread Russell N. Nelson - rnnelson
To: Wikimedia developers Subject: Re: [Wikitech-l] Taking suggestions for a template language syntax for our skin system It's over complicated for our needs, and we really don't need another full featured language to learn and parse. It's like saying everyone should learn ruby so we can do skins

Re: [Wikitech-l] Taking suggestions for a template language syntax for our skin system

2011-09-11 Thread Rob Lanphier
On Thu, Sep 8, 2011 at 11:04 AM, Daniel Friesen li...@nadir-seen-fire.com wrote: Aye, there's absolutely no way HAML is going to fly with the majority of people building skins. Instead of Why the hell do I have to insert all this junk just to make my skin work right? I'm going back to

Re: [Wikitech-l] Taking suggestions for a template language syntax for our skin system

2011-09-08 Thread Ashar Voultoiz
On 06/09/11 08:27, Daniel Friesen wrote: snip So, I'd love to see other peoples ideas on the best syntax for our skin system. Or ideas or comments on how to fix the problem with the syntax I came up with. Can you possibly have a look at HAML? It is a basic language that makes HTML 'simpler'

Re: [Wikitech-l] Taking suggestions for a template language syntax for our skin system

2011-09-08 Thread Trevor Parscal
My main complaint with Haml and Sass are that they introduce yet another syntax, all while trying to simplify things. On the other extreme XSLT uses XML syntax, but can get pretty complex, usually unnecessarily so - it also introduces XPath, which some developers may not know. Ideally we should

Re: [Wikitech-l] Taking suggestions for a template language syntax for our skin system

2011-09-08 Thread Daniel Friesen
Aye, there's absolutely no way HAML is going to fly with the majority of people building skins. Instead of Why the hell do I have to insert all this junk just to make my skin work right? I'm going back to WordPress. kind of issue we had before I cleaned up the skin system we'll end up with a What

Re: [Wikitech-l] Taking suggestions for a template language syntax for our skin system

2011-09-08 Thread Russell N. Nelson - rnnelson
How about http://en.wikipedia.org/wiki/TRAC_%28programming_language%29 ? It has the benefit that simple things are simple, but you can create complicated things because it's a full programming language. ___ Wikitech-l mailing list

[Wikitech-l] Taking suggestions for a template language syntax for our skin system

2011-09-06 Thread Daniel Friesen
One of the things I believe we're missing from our skin system is a template language. PHP embedding is excessively verbose, and it makes it impossible to contemplate letting users upload skins at whim in a farm scenario. There are also other things we can't do with php that we can do with a

Re: [Wikitech-l] Taking suggestions for a template language syntax for our skin system

2011-09-06 Thread Trevor Parscal
I wrote a node.js module, which could easily be ported to PHP, which uses DOM on the server to pre-process HTML, acting on some specific tags and resulting in clean HTML output. This only works for HTML, so I don't know about your requirements of being able to do this in inline CSS as well, but