Help:Link highlight gadget: Difference between revisions

From SPCodex, The Smashing Pumpkins wiki
(Created page with "The '''link highlight gadget''' highlights links to <span style="color:#00bf00">redirects</span> and <span style="color:#0033cc; background-color:#ffff88">disambiguation pages</span>. This is useful for editors so that they can easily identify and fix links to redirects and disambiguation pages, which are usually undesirable. {{SITENAME}} is a database-driven wiki. Most data revolves around...")
 
No edit summary
 
Line 1: Line 1:
The '''link highlight gadget''' highlights links to [[mw:Help:Redirects|<span style="color:#00bf00">redirects</span>]] and [[mw:Help:Extension:Disambiguator|<span style="color:#0033cc; background-color:#ffff88">disambiguation pages</span>]]. This is useful for editors so that they can easily identify and fix links to redirects and disambiguation pages, which are usually undesirable.
The '''link highlight gadget''' highlights links to [[mw:Help:Redirects|<span style="color:#00bf00">redirects</span>]] and [[mw:Help:Extension:Disambiguator|<span style="color:#0033cc; background-color:#ffff88">disambiguation pages</span>]]. This is useful for editors so that they can easily identify and fix links to redirects and disambiguation pages, which are usually undesirable. You can enable this feature under the "Display" settings in your [[Special:Preferences#mw-prefsection-gadgets|gadget preferences]].


{{SITENAME}} is a [[Special:Drilldown|database-driven wiki]]. Most data revolves around page titles, and due to caveats in the MediaWiki software (such as titles being case insensitive), it's important to link to the right page and not a redirect.
{{SITENAME}} is a [[Special:Drilldown|database-driven wiki]]. Most data revolves around page titles, and due to caveats in the MediaWiki software (such as titles being case insensitive), it's important to link to the right page and not a redirect.


A common example is when adding songs performed on [[Help:Tour history|live show]] pages. Some songs share the same name as the album, such as "Cyr". In this case the song page is [[Cyr (song)]], while the album (the more commonly searched term) holds the redirect [[Cyr]] which points to [[CYR]]. Thus, when using {{tl|live song}} on the show page, you should use the syntax <code><nowiki>{{live song|Cyr (song)|title=Cyr}}</nowiki></code>, utilizing the {{para|title}} parameter so that the link still displays as "Cyr" and not "Cyr (song)".
A common example is when adding songs performed on [[Help:Tour history|live show]] pages. Some songs share the same name as the album, such as "Cyr". In this case the song page is [[Cyr (song)]], while the album (the more commonly searched term) holds the redirect [[Cyr]] which points to [[CYR]]. Thus, when using {{tl|live song}} on the show page, you should use the syntax <code><nowiki>{{live song|Cyr (song)|title=Cyr}}</nowiki></code>, utilizing the {{para|title}} parameter so that the link still displays as "Cyr" and not "Cyr (song)".

Latest revision as of 17:17, 30 November 2022

The link highlight gadget highlights links to redirects and disambiguation pages. This is useful for editors so that they can easily identify and fix links to redirects and disambiguation pages, which are usually undesirable. You can enable this feature under the "Display" settings in your gadget preferences.

SPCodex is a database-driven wiki. Most data revolves around page titles, and due to caveats in the MediaWiki software (such as titles being case insensitive), it's important to link to the right page and not a redirect.

A common example is when adding songs performed on live show pages. Some songs share the same name as the album, such as "Cyr". In this case the song page is Cyr (song), while the album (the more commonly searched term) holds the redirect Cyr which points to CYR. Thus, when using {{live song}} on the show page, you should use the syntax {{live song|Cyr (song)|title=Cyr}}, utilizing the |title= parameter so that the link still displays as "Cyr" and not "Cyr (song)".