I would suggest instead of making the table of contents automatically
appear on all pages with many headlines, make some kind of <toc> tag
that would automatically insert a table of contents based on headlines
wherever the <toc> tag is. This would allow short introductory
paragraph(s) to precede the table of contents for people who only want a
small amound of information on a topic. Also, it would allow page
authors to make a judgement on whether or not an article needs a TOC
based on number of headlines, how long the text in each section is, etc.
- David (Nohat)
Erik Moeller wrote:
Robert-
Is it possible to use HTML <a
name=""> and <a href="#"> type
tags or something similar in a Wikipedia article?
It has been discussed, but I think the majority does not want it, because
it complicates linking unnecessarily. It would be difficult to keep track
of links to non-existent sections and to fix them, and this might
happen a
lot given how often articles are rewritten.
What I, and I think most people, would find useful is an option to
have an
automatic table of contents for every article with more than x headlines
(I would say x=3), which would use the headlines as position points
for <a
name=".."> tags. But you could not directly link to one of the sections
from another article.
Actually, you can see a similar feature in action on Sun's Javapedia:
http://wiki.java.net/bin/view/Javapedia/AlwaysUseStringBufferMisconception
(Die, CamelCase!)
Regards,
Erik
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)wikipedia.org
http://mail.wikipedia.org/mailman/listinfo/wikitech-l