"Platonides" <[email protected]> wrote in message 
news:[email protected]...
> Soxred93 wrote:
>> But then the anchors would change if a section is placed above it,
>> breaking links.
>>
>> Soxred93
>
> ids would depend on the section name, just as the current name. It's not
> using a numeric counter for the id.

It is possible to have several identical headings on a page, but you are not 
allowed to have duplicate id attributes within a page, so it's not as simple 
as just using the section name as is currently the case.  Note that 
duplicate values for the 'name' attribute is perfectly valid HTML, though a 
little useless as a link destination (the first occurence on the page will 
always be used).  Actually, come to think of it, how does the TOC handle 
this?

- Mark Clements (HappyDog) 



_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to