Guidelines: Hyperlinks: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1: Line 1:
This topic aims to fix the issue of hyperlinks breaking. The issue can be resolved by:
This topic aims to fix the issue of hyperlinks breaking. We noticed that the links break when you:
 
* Make an edit.
* When you add an header or sub-header 1.
 
The issue can be resolved by:


=== 1. Using "Deep Links" ===
=== 1. Using "Deep Links" ===
Involves using the hash character (<code>#</code>). It involves copying the page's URL then inserting # and then the section's title. However, the section title should have underscore characters (<code>_</code>) replacing its spaces<ref>https://en.wikipedia.org/wiki/Wikipedia:Linking_to_Wikipedia#:~:text=org%2Fwiki%2FTop_Cat-,Linking%20to%20sections,characters%20(%20_%20)%20replacing%20spaces.</ref>. For example: [[1&1:5G Infrastracture#Developments]] .
Involves using the hash character (<code>#</code>). It involves copying the page's URL then inserting # and then the section's title. However, the section title should have underscore characters (<code>_</code>) replacing its spaces<ref>https://en.wikipedia.org/wiki/Wikipedia:Linking_to_Wikipedia#:~:text=org%2Fwiki%2FTop_Cat-,Linking%20to%20sections,characters%20(%20_%20)%20replacing%20spaces.</ref>. For example: [[1&1:5G Infrastracture#Developments]] .
Pros:
* The link doesn't break unless you change the title of the section
Cons:
* The link doesn't direct you to a specific paragraph in the section i.e it gives you a link for the whole section.


== References ==
== References ==