The notion of "section headers" sounds like one that should be discussed
on wikipedia-l before considering implementing it in software, I think.
The programmers, as much as we love 'em, should not be solely in charge of
specifying the system requirements...
Larry
On Tue, 12 Feb 2002, Lars Aronsson wrote:
The section
headers bit was a bugfix to replicate the previous behavior
of of usemodwiki. Not strictly necessary though, I suppose. I'll take it
back out.
Just an idea: Section headers can be quite useful. During the first
pass through the text (sub WikiToHTML in UseModWiki) you would store
the resulting text in a string variable and all found section headers
in a separate array. In the output HTML you would first present a
table of contents, i.e. a list of <a href="#header" > linked section
headers pointing down to the right section header. This would allow
really long articles as a substitute for subpages, e.g. the subpages
Denmark/History Denmark/Government Denmark/Geography would instead be
subheaders in the same long page. You would want to support
[[Denmark#Geography]] type of links from other pages.
Look at the user interface of
encarta.msn.com.