Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Basic Format. Test 1  














User:Timeshifter/Sandbox197

















User page
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
User contributions
User logs
View user groups
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 

< User:Timeshifter

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:
<span class="anchor" id="Current heading"></span> - in the wikitext.
<span class="anchor" id="Current_heading"></span> - in the page source.

Basic Format. Test 1

[edit]

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

<h2><span class="mw-headline" id="Basic_Format._Test_1">Basic Format. Test 1 <span class="anchor" id="Basic_format._Test_1"></span></span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:Timeshifter/Sandbox197&amp;veaction=edit&amp;section=1" class="mw-editsection-visualeditor" title="Edit section: Basic Format. Test 1">edit</a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=User:Timeshifter/Sandbox197&amp;action=edit&amp;section=1" title="Edit section: Basic Format. Test 1">edit source</a><span class="mw-editsection-bracket">]</span></span></h2>

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

<h2><span class="mw-headline" id="Basic_Format">Basic Format <span class="anchor" id="Basic_format._Test_1"></span></span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:Timeshifter/Sandbox197&amp;veaction=edit&amp;section=1" class="mw-editsection-visualeditor" title="Edit section: Basic Format">edit</a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=User:Timeshifter/Sandbox197&amp;action=edit&amp;section=1" title="Edit section: Basic Format">edit source</a><span class="mw-editsection-bracket">]</span></span></h2>

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

<h2><span class="mw-headline" id="Basic_Format">Basic Format</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:Timeshifter/Sandbox197&amp;veaction=edit&amp;section=1" class="mw-editsection-visualeditor" title="Edit section: Basic Format">edit</a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=User:Timeshifter/Sandbox197&amp;action=edit&amp;section=1" title="Edit section: Basic Format">edit source</a><span class="mw-editsection-bracket">]</span></span></h2>

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

<h2><span class="mw-headline" id="Basic_Format._Test_1">Basic Format. Test 1</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:Timeshifter/Sandbox197&amp;veaction=edit&amp;section=1" class="mw-editsection-visualeditor" title="Edit section: Basic Format. Test 1">edit</a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=User:Timeshifter/Sandbox197&amp;action=edit&amp;section=1" title="Edit section: Basic Format. Test 1">edit source</a><span class="mw-editsection-bracket">]</span></span></h2>

Initial page source when heading was "Basic Format":

<h2><span class="mw-headline" id="Basic_Format">Basic Format</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:Timeshifter/Sandbox197&amp;veaction=edit&amp;section=1" class="mw-editsection-visualeditor" title="Edit section: Basic Format">edit</a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=User:Timeshifter/Sandbox197&amp;action=edit&amp;section=1" title="Edit section: Basic Format">edit source</a><span class="mw-editsection-bracket">]</span></span></h2>

Retrieved from "https://en.wikipedia.org/w/index.php?title=User:Timeshifter/Sandbox197&oldid=1158066663"





This page was last edited on 1 June 2023, at 19:33 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki