On Tue, Jun 24, 2003 at 05:45:00PM +0200, 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!)
Which majority doesn't want it ? Just try using Wiktionary for a moment
and you'll see why having option of linking (cross-article) to such headings
is something that we have to implement.
It goes like (link in Foo about language C):
Foo:
... .... ... ... ... [[Bar]] ... ...
Bar:
=== A language ===
... ...... .... .... ....
=== B language ===
........... ..... ....... .... .......
=== C language ===
... ...... ... ...... ... ... ....
=== D language ===
...... .... ..... ...... .... .....
Click, and it goes to "Bar#A language"
Design disaster.