Module:Redirect/doc: Difference between revisions
From Neodyland Wiki
More actions
mNo edit summary |
mNo edit summary |
||
| Line 5: | Line 5: | ||
Soft redirects are category pages containing the template | Soft redirects are category pages containing the template | ||
* {{Tlx|Category redirect|''target''}} | * {{Tlx|Category redirect|''target''|''optional reason''}} | ||
or one of its known aliases on Commons (there are too many!!!): | or one of its known aliases on Commons (there are too many!!!): | ||
{{Columns|width= | {{Columns|width=28em|text= | ||
* {{Tlx|Cat redirect|''target''}} | * {{Tlx|Cat redirect|''target''|''optional reason''}} | ||
* {{Tlx|Cat-red|''target''}} | * {{Tlx|Cat-red|''target''|''optional reason''}} | ||
* {{Tlx|Cat-redirect|''target''}} | * {{Tlx|Cat-redirect|''target''|''optional reason''}} | ||
* {{Tlx|Category Redirect|''target''}} | * {{Tlx|Category Redirect|''target''|''optional reason''}} | ||
* {{Tlx|Categoryredirect|''target''}} | * {{Tlx|Categoryredirect|''target''|''optional reason''}} | ||
* {{Tlx|Catredir|''target''}} | * {{Tlx|Catredir|''target''|''optional reason''}} | ||
* {{Tlx|Catredirect|''target''}} | * {{Tlx|Catredirect|''target''|''optional reason''}} | ||
* {{Tlx|Endashcatredirect|''target''|''reason''}} | * {{Tlx|Endashcatredirect|''target''|''optional reason''}} | ||
* {{Tlx|Invalid taxon category redirect|''target''|''reason''}} | * {{Tlx|Invalid taxon category redirect|''target''|''optional reason''}} | ||
* {{Tlx|Monotypic taxon category redirect|''target''|''reason''}} | * {{Tlx|Monotypic taxon category redirect|''target''|''optional reason''}} | ||
* {{Tlx|Redirect cat|''target''}} | * {{Tlx|Redirect cat|''target''|''optional reason'}} | ||
* {{Tlx|Redirect category|''target''}} | * {{Tlx|Redirect category|''target''|''optional reason'}} | ||
* {{Tlx|See cat|''target''}} | * {{Tlx|See cat|''target''|''optional reason'}} | ||
* {{Tlx|Seecat|''target''}} | * {{Tlx|Seecat|''target''|''optional reason'}} | ||
* {{Tlx|Synonym taxon category redirect|''target''|''reason''}} | * {{Tlx|Synonym taxon category redirect|''target''|''optional reason''}} | ||
}} | }} | ||
For the full list of aliases of {{Tlx|Category redirect}}, see | For the full list of aliases (simple redirections) of {{Tlx|Category redirect}}, see | ||
: https://commons.wikimedia.org/w/index.php?title=Special:WhatLinksHere/Template:Category_redirect&hidetrans=1&hidelinks=1 | : https://commons.wikimedia.org/w/index.php?title=Special:WhatLinksHere/Template:Category_redirect&hidetrans=1&hidelinks=1 | ||
For the full list of derived templates (specifying an embedded ''reason'' parameter passed to the main template), see | For the full list of derived templates (specifying an embedded ''reason'' parameter passed to the main template), see | ||
: https://commons.wikimedia.org/w/index.php?title=Special:WhatLinksHere/Template:Category_redirect&namespace=10&hidelinks=1&hideredirs=1 | : https://commons.wikimedia.org/w/index.php?title=Special:WhatLinksHere/Template:Category_redirect&namespace=10&hidelinks=1&hideredirs=1 | ||
The 'target' parameter value for these templates may be prefixed by 'Category:' or ':Category:' or not (it is implied). | The 'target' parameter value for these templates may be prefixed by 'Category:' or ':Category:' or not (it is implied). | ||
Revision as of 19:37, 11 December 2022
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|optional reason}}
or one of its known aliases on Commons (there are too many!!!): Template:Columns For the full list of aliases (simple redirections) of {{Category redirect}}, see
For the full list of derived templates (specifying an embedded reason parameter passed to the main template), see
The 'target' parameter value for these templates may be prefixed by 'Category:' or ':Category:' or not (it is implied).