Brion Vibber wrote:
Tarquin, Sheldon: could you create some sample HTML template files & CSS
sheets in the form you'd *like* to be able to work with? Then we can see
about making the code talk to it.
This is just a very rough mockup.
I've devised some substitution syntax :-) -- see the comments in the html.
couple of neat tricks:
1. the sidebar width scales with browser font size changes (we currently
don't)
2. use of a body class for article / meta namespace means we can do
things like put the header of non-article pages in italics
I'm assuming that substitutions is done in 2 phases: some of the
substitutions can be made when the template is uploaded & then cached by
the server as HTML.
This would be all the things which are language-dependent but the same
throughout a particular language, eg
* the "From Wikipedia, the free encyclopedia." text
* some of the links such as "Recent Changes"
* the GFDL notice
It's a bit messy having "{MainLinks, suffix:"<br>"}",
because I can't
see what the list is going to look like in my browser. One option would
be to use the same syntax as Apache's SSI, but the (big!) downside to
that is that I have to load my page through Apache every time I make
changes, which is quite a bit slower than loading from the file direct.
I'll scratch my head & see if I can come up with something slightly
better for lists of links ...