Template:Automatic redirect categories/doc

Usage
This is a template to automatically detect and apply various redirect categories. It applies the following:

Subpages

 * R from subpage
 * R to subpage

Disambiguation pages

 * R to disambiguation page
 * R from unnecessary disambiguation –&#32;For example in cases of talk pages ending in , to match the application of R to disambiguation page on non-talk pages.

Protection levels

 * R fully protected
 * R template-protected
 * R extended-protected
 * R semi-protected
 * pp-move
 * pp

Other

 * R with Wikidata item

Programming
This template uses Module:RedirectData to detect the namespace that is redirected to.