Talk:Community Wishlist/Wishes/Native support for alternative section anchors
Add topicAppearance
Latest comment: 10 months ago by Nardog in topic Anchors
This page is for discussions related to the Community Wishlist/Wishes/Native support for alternative section anchors page.
Please remember to:
|
![]() |
Anchors
[edit]It seems like anchors themselves might be a workaround for something like a sticky link to a section header, which could be followed or linked to for sharing, etc. Is that the real problem? JWheeler-WMF (talk) 15:25, 22 August 2024 (UTC)
- In a way, yes? But I don't know what the alternative could possibly be. Let's say each section had an ID like pages do, then how would you know which section is the rightful successor of which after e.g. the order of two sections was swapped and they were both renamed? I don't know what could possibly replace human-edited anchors. Nardog (talk) 04:41, 23 August 2024 (UTC)
- It could be new native wiki syntax, e.g.
== Foo | Bar | Baz ==
turning intobut that seems overkill and politically difficult to implement, hence my proposal of a parser function. Nardog (talk) 05:08, 23 August 2024 (UTC)<div class="mw-heading mw-heading2"> <h2 id="Baz"> <span id="Foo"></span> <span id="Bar"></span> Baz </h2> </div>