Re: [edit] links in CommitFestSubSection headers

From: "Brendan Jurd" <direvus(at)gmail(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-www(at)postgresql(dot)org
Subject: Re: [edit] links in CommitFestSubSection headers
Date: 2008-11-03 03:28:55
Message-ID: 37ed240d0811021928w700e768bwad35ad1892fa2139@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

On Mon, Nov 3, 2008 at 2:19 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> The subsections wouldn't be quite so easy to alter and move around as
>> they are now, but the edit links will work as expected.
>
> Hm, what does "not quite so easy" mean?

Currently, a subsection is just a template call, for example:

{{CommitFestSubSection|SE-PostgreSQL and related}}

That's pretty easy to read, and also quite easy to pick up and move
elsewhere, or rename if you so desire.

If we switch to using substitution, the contents of the subsection
template will actually be copied into the page itself, so the same
subsection will look like this instead:

|-
| colspan="4" |
=== SE-PostgreSQL and related ===

These three lines will have to be shifted around as a single unit, and
a slight error in the syntax could scramble the whole table. So the
downsides are loss of readability and ease of editing, and increased
fragility.

Cheers,
BJ

In response to

Responses

Browse pgsql-www by date

  From Date Subject
Next Message Tom Lane 2008-11-03 03:35:38 Re: [edit] links in CommitFestSubSection headers
Previous Message Josh Berkus 2008-11-03 03:25:24 Re: [edit] links in CommitFestSubSection headers