Template:R to user namespace/doc: Difference between revisions

Content deleted Content added
update /doc
m Add namespace-specific categories
 
(7 intermediate revisions by 5 users not shown)
Line 2:
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]) -->
{{Substitution|not|nor used to tag [[Wikipedia:Soft redirects|soft redirects]]}}
{{Twinkle standard installation}}
{{Tsh|R to user}}
__NOTOC__
Line 8 ⟶ 9:
# {{Cat|Redirects to user namespace}} – for [[WP:CNR|cross-namespace redirects]], and
# {{Cat|Unprintworthy redirects}} – only redirects from the [[wp:Main namespace|main-article namespace]] (mainspace)
:: AtIn some2003, pointefforts inwere thebegun future,to support the [[JimmyWikimedia WalesFoundation]]'s wantsgoal toof makeincreasing moreaccess and availability of ''Wikipedia'' articles in {{diff|Wikipedia:Pushing to 1.0||1319195|printed versions}} of ''Wikipedia'' encyclopedia articles. Mainspace redirects that target pages in the user namespace are not suitable for a printed version. In other words they are [[wp:Printworthiness|unprintworthy]].
{{info|image=Stop hand nuvola.svg|Please do not alter the printworthy settings of this rcat without first notifying the '''[[WP:Version 1.0 Editorial Team|Version 1.0 Editorial Team]]''', who are responsible for any and all materials, including redirects, that go into a printed version of ''Wikipedia''.}}
This rcat is '''''not''''' for use on redirects that are in the user namespace. If placed on a redirect that is a user page, it will not populate the expected categories; it will instead be sorted to {{Cat|Pages with templates in the wrong namespace}}.
 
Line 14 ⟶ 16:
{{hatnote|Use this rcat template in any [[wp:namespace|namespace]] '''except [[wp:User pages|user namespace]]'''.}}
* Apply this rcat to a redirect in the following manner:
<syntaxhighlight lang="wikitext">
<pre>
#REDIRECT [[User:(target page name)]]
 
Line 20 ⟶ 22:
{{R to user namespace}}
}}
</syntaxhighlight>
</pre>
: and ''when the redirect is in article mainspace'', printworthiness should also be tagged:
<syntaxhighlight lang="wikitext">
<pre>
#REDIRECT [[User:(target page name)]]
 
Line 29 ⟶ 31:
{{R unprintworthy}}
}}
</syntaxhighlight>
</pre>
: Template {{tl|Rcat shell}} is an alias for the ''Redirect category shell'' template, which may be used to add as many appropriate rcats as needed, usually from one to seven, along with their parameters, to a redirect. For more information see the documentation on its template page. This rcat may also tag a redirect individually:
<syntaxhighlight lang="wikitext">
<pre>
#REDIRECT [[User:(target page name)]]
 
{{R to user namespace}}
</syntaxhighlight>
</pre>
: This is in accord with instructions found at [[Wikipedia:REDCAT]].
* Use this rcat to tag any redirect from a page ''outside'' of [[WP:User pages|user namespace]] to a page in user namespace. This rcat should ''never'' be used to tag a redirect in user namespace that targets any other page.
Line 46 ⟶ 48:
{{Rcat see also}}
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandboxSandbox other||
<!-- Categories go below this line, please; interwikis go to Wikidata, thank you! -->
[[Category:All redirect templates]]
[[Category:Redirect templates|User]]
[[Category:Redirects to user namespace| ]]
Line 54 ⟶ 55:
[[Category:Templates for unprintworthy redirects|User]]
[[Category:Unprintworthy redirects| ]]
[[Category:AllUnknown namespace redirect templates]]}}</includeonly> <noinclude>
 
[[Category:RcatRedirect category template documentation pages|User]]
}}</includeonly><noinclude>
[[Category:Rcat template documentation pages|User]]
</noinclude>