Closed
Bug 779881
Opened 12 years ago
Closed 7 years ago
Kuma: Editor - Add UI to add a name="" attribute on headers
Categories
(developer.mozilla.org Graveyard :: Wiki pages, defect, P3)
developer.mozilla.org Graveyard
Wiki pages
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: sheppy, Unassigned)
References
Details
In order to let us specify permanent names for headers (so that the text can change without breaking links), we have the name="" attribute. However, there's not currently UI for this. Please add some. This might be a context menu option on headers.
Comment 1•12 years ago
|
||
Wondering if we might want to take a different approach here. If the underlying problem is that changing a heading can break links, maybe the ID of the heading shouldn't be based on the content of that heading. MediaWiki also generates IDs based on heading content, and it can get pretty annoying at times. Often, I will click an anchor link only to be dropped on the main page (not a particular heading) because the heading that the link pointed to changed by a word or two. Anyway, it seems like lots of Wiki platforms struggle with this. Is there any precedence of Wiki platform that does this right -- that allows users to change headings without breaking anchor links?
Updated•12 years ago
|
Priority: -- → P3
Assignee | ||
Updated•12 years ago
|
Version: Kuma → unspecified
Assignee | ||
Updated•12 years ago
|
Component: Website → Landing pages
Reporter | ||
Comment 2•10 years ago
|
||
(In reply to John Karahalis [:openjck] from comment #1) > Wondering if we might want to take a different approach here. If the > underlying problem is that changing a heading can break links, maybe the ID > of the heading shouldn't be based on the content of that heading. > > MediaWiki also generates IDs based on heading content, and it can get pretty > annoying at times. Often, I will click an anchor link only to be dropped on > the main page (not a particular heading) because the heading that the link > pointed to changed by a word or two. > > Anyway, it seems like lots of Wiki platforms struggle with this. Is there > any precedence of Wiki platform that does this right -- that allows users to > change headings without breaking anchor links? The problem is that until we have good, site-wide support for linking to subheadings on target pages using UX, we have to be able to type out these URLs, and the easiest way to deal with it is for them to be based on the text of the heading itself.
Reporter | ||
Comment 3•10 years ago
|
||
Not to mention that nobody really likes page URLs that are just gibberish. :)
Blocks: 1032827
Reporter | ||
Comment 4•7 years ago
|
||
We no longer use the name attribute this way, so this bug is no longer valid.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
Updated•4 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•