https://bugzilla.wikimedia.org/show_bug.cgi?id=16190

--- Comment #7 from Michael Zajac <mich...@zajac.ca> 2011-01-05 19:45:19 UTC ---
@Happy-melon:

It looks like those were concerns with that implementation, not with resolving
this issue. r52963 didn't allow for a manually-typed ID to override a generated
one, but rather created a second ID attribute.

But even with the r52963 solution, if an editor NEEDS to add a second ID, why
not use an <a> or other element after the heading? (And if she needs to add a
third one, it must be done that way anyway.) I didn't see any evidence that an
editor actually needs to manually specify an ID, just the theoretical desire
not to change current behaviour.

The purpose of the heading ID is to identify the heading element, not just a
span of text.

@Aryeh Gregor:

Why not just change id="Foo" to id="Bar" in the rare case when an editor
specifies it? With the current situation, wikitext is inadequate and I'd have
to type HTML for every heading if I want my CSS or Javascript to access them.

A surrounding <div> or HTML5 <section> would be better still, but much more
complicated to implement. Even without it, HTML5 clearly defines the scope of a
section, based on the *headings*, so a CSS designer or Javascript can use this,
*if* the headings are identified.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to