User:Timeshifter/Sandbox197

Changes start from the bottom. Latest change is on top. Search and highlight all instances of id=

First I changed the heading a couple times. No duplicate IDs showed up. Then I created an anchor to an old heading. Then I changed the heading again.

A duplicate ID shows up only when I change back to an old heading. This is a rare event. Maybe Mediawiki could automatically remove that duplicate ID: - in the wikitext. - in the page source.

Basic Format. Test 1
Page source after 2nd heading change from "Basic Format" to "Basic Format. Test 1". Note the duplicate ID.

Page source when heading was "Basic Format". After adding anchor to previous name: Basic format. Test 1

Page source after changing back from "Basic Format. Test 1" to "Basic Format":

Page source after heading change from "Basic Format" to "Basic Format. Test 1":

Initial page source when heading was "Basic Format":