This is a documentation subpage for Module:RedirectData. It may contain usage information, categories and other content that is not part of the original module page. |
This Lua module is used on approximately 37,000 pages and changes may be widely noticed. Test changes in the module's /sandbox or /testcases subpages, or in your own module sandbox. Consider discussing changes on the talk page before implementing them. |
Usage
editThis module can be used on redirect pages to display the namespace that the page redirects to. This should generally be wrapped by templates.
{{#invoke:RedirectData|getRedirectToNamespace}}
See also
edit- {{Automatic redirect categories}}, a template which uses this module
- {{R from shortcut}}, another template which uses this module