Now, THAT'S interesting!
So, for example, I'd do this:
[[Martin_Luther#Bib|Bibliography] in the TOC
and
<div id="bib"> ==Bibliography==</div>
and it's work?
Rev. Robert E. Smith Electronic Resources Librarian Concordia Theological Seminary Fort Wayne, Indiana "Translatio traditio est." -- attr. St. Jerome -----Original Message----- From: Luc Van Oostenryck [mailto:luc.vanoostenryck@easynet.be] Sent: Tuesday, June 24, 2003 12:40 PM To: wikitech-l@wikipedia.org Subject: Re: [Wikitech-l] Links within article
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).
On Tue, Jun 24, 2003 at 01:53:51PM -0500, Smith, Robert wrote:
Now, THAT'S interesting!
So, for example, I'd do this:
[[Martin_Luther#Bib|Bibliography] in the TOC
and
<div id="bib"> ==Bibliography==</div>
and it's work?
Rev. Robert E. Smith
Indeed, go and see on http://fr.wikipedia.org/Liste_des_articles_d%27astronomie and click on the letters A to Z. The problem is that it create self-linked articles. What would be very nice would be [[#anchor|text]] and a syntax to create the anchor.
On Tue, 24 Jun 2003 21:18:58 +0200, Luc Van Oostenryck luc.vanoostenryck@easynet.be gave utterance to the following:
On Tue, Jun 24, 2003 at 01:53:51PM -0500, Smith, Robert wrote:
Now, THAT'S interesting!
So, for example, I'd do this:
[[Martin_Luther#Bib|Bibliography] in the TOC
and
<div id="bib"> ==Bibliography==</div>
and it's work?
Rev. Robert E. Smith
Indeed, go and see on http://fr.wikipedia.org/Liste_des_articles_d%27astronomie and click on the letters A to Z. The problem is that it create self-linked articles. What would be very nice would be [[#anchor|text]] and a syntax to create the anchor.
Or, since an anchor is most often a heading, support for === Heading Text#anchor_id ===
I wonder if we have any headings which contain # as a character?
Richard Grevers wrote:
Or, since an anchor is most often a heading, support for === Heading Text#anchor_id ===
I wonder if we have any headings which contain # as a character?
Why not start it with a first easy version of those links? First of all, let the developers implement a version using automatically the headings. That's typically something you can activate in the preferences and everybody can look if it helps and how far it helps. And if thats working well we can take/think about the next step and extend this with manual added anchors in the text-source.
For an index such as http://fr.wikipedia.org/wiki/Liste_des_articles_d%27astronomie
the best thing to do would be to somehow mark the headings so the HTML output is:
<h2 accesskey="a">A</h2>
(perhaps have an article-wide tag to do them all)
Then all you need is a note at the top of the page saying:
"hit COMMAND / CTRL + letter you want to go to"
Advantages: * accesskey can be used at any point of the article, unlike the row of "quick links" at the top
wikitech-l@lists.wikimedia.org