Module:Redirect/doc: Difference between revisions
From Neodyland Wiki
More actions
←Created page with '{{Heavily used module}} '''This module implements templates that detect and resolve redirects and soft category redirects.'''' |
No edit summary |
||
| Line 1: | Line 1: | ||
{{Heavily used module}} | {{Heavily used module}} | ||
'''This module implements templates that detect and resolve redirects and soft category redirects.''' | '''This module implements templates that detect and resolve redirects and soft category redirects.''' | ||
Soft redirects are hard to detect and costly as they require loading and parsing the wiki page content of 'Category:' pages. | |||
Soft redirects are category pages containing the template | |||
* {{Tlx|Category redirect|target}} | |||
or one of its known aliases on Commons (there are too many!!!): | |||
* {{Tlx|Category Redirect|target}} | |||
* {{Tlx|Categoryredirect|target}} | |||
* {{Tlx|Cat redirect|target}} | |||
* {{Tlx|Catredirect|target}} | |||
* {{Tlx|Catredir|target}} | |||
* {{Tlx|Cat-redirect|target}} | |||
* {{Tlx|Cat-red|target}} | |||
* {{Tlx|Redirect category|target}} | |||
* {{Tlx|Redirect cat|target}} | |||
* {{Tlx|Seecat|target}} | |||
* {{Tlx|See cat|target}} | |||
For the full list of aliases, see | |||
: https://commons.wikimedia.org/w/index.php?title=Special:WhatLinksHere/Template:Category_redirect&hidetrans=1&hidelinks=1 | |||
The 'target' parameter value for these templates may be prefixed by 'Category:' or ':Category:' or not (it is implied). | |||
Revision as of 07:25, 21 July 2020
This module implements templates that detect and resolve redirects and soft category redirects.
Soft redirects are hard to detect and costly as they require loading and parsing the wiki page content of 'Category:' pages.
Soft redirects are category pages containing the template
- {{Category redirect|target}}
or one of its known aliases on Commons (there are too many!!!):
- {{Category Redirect|target}}
- {{Categoryredirect|target}}
- {{Cat redirect|target}}
- {{Catredirect|target}}
- {{Catredir|target}}
- {{Cat-redirect|target}}
- {{Cat-red|target}}
- {{Redirect category|target}}
- {{Redirect cat|target}}
- {{Seecat|target}}
- {{See cat|target}}
For the full list of aliases, see
The 'target' parameter value for these templates may be prefixed by 'Category:' or ':Category:' or not (it is implied).