Dear Friends:
Is it possible to use HTML <a name=""> and <a href="#"> type tags or something similar in a Wikipedia article? What I'm thinking is that, if an article gets longish, we could construct a table of contents at the top, for the reader's convenience.
Bob "the newbie" of the Fort
Rev. Robert E. Smith Project Wittenberg Coordinator and Electronic Resources Librarian Concordia Theological Seminary Fort Wayne, Indiana "Translatio traditio est." -- attr. St. Jerome
On Tue, Jun 24, 2003 at 10:21:37AM -0500, Smith, Robert wrote:
Dear Friends:
Is it possible to use HTML <a name=""> and <a href="#"> type tags or something similar in a Wikipedia article? What I'm thinking is that, if an article gets longish, we could construct a table of contents at the top, for the reader's convenience.
No, but it would be wonderful thing to have. With better link syntax of course, like [[Foo#Bar|Quux]].
Smith, Robert wrote:
Dear Friends:
Is it possible to use HTML <a name=""> and <a href="#"> type tags or something similar in a Wikipedia article? What I'm thinking is that, if an article gets longish, we could construct a table of contents at the top, for the reader's convenience.
Generate it automatically from the heading tags. (we do this on Unreal Wiki by the way :-)
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
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.
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.
I'm also FOR and I ask desperately this feature in Wikipedia for a while ! [[Foo#Bar|Text]] may be VERY nice to me. With for exemple ##Bar to create targets.
Aoineko
On Wed, Jun 25, 2003 at 01:53:42AM +0900, Guillaume Blanchard wrote:
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.
I'm also FOR and I ask desperately this feature in Wikipedia for a while ! [[Foo#Bar|Text]] may be VERY nice to me. With for exemple ##Bar to create targets.
Aoineko
It work already. Look on fr: at [[Liste des articles d'astronomie]]. What is missing is how to set the anchor (a fake <div id=anchor> work but is painfull).
Tomasz Wegrzanowski wrote:
Which majority doesn't want it ?
Me for example. The main reason is that encyclopaedia articles get restructured and we don't want to have to check all of the links to # anchors. If a # anchor will be fairly permanent and should be linked to, then that's a good sign that it really ought to be a separate article. (This is /not/ an objection to # links /within/ a single article.)
Of course, you've heard this before.
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.
Previous objections have been about Wikipedia, not Wiktionary. I would have to rethink my opinion in that case; possibly the two projects have different coding needs here.
Foo: ... .... ... ... ... [[Bar]] ... ...
Bar: === A language === ... ...... .... .... .... === B language === ........... ..... ....... .... ....... === C language === ... ...... ... ...... ... ... .... === D language === ...... .... ..... ...... .... .....
I see what you mean! But I wonder why you don't have pages like [[Bar (A)]], [[Bar (B)]], etc? I'm not objecting to Wiktionary policy, since I don't write Wiktionary, but I'm still curious -- you might direct me to a Wiktionary policy page.
-- Toby
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@wikipedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l
wikitech-l@lists.wikimedia.org