टेम्पलेट:Redirect category shell/Comparison
Because of a software modification, text can now appear on Wikipedia's redirect pages. Therefore, they all have the capability to display other readable text in addition to the redirect arrow and target page title, which had been the only displayable content prior to the software modification.
This page compares how text may appear on redirect pages when they are tagged by redirect category (rcat) templates in accordance with the guideline for categorizing redirects. In particular, the style comparisons on this page display examples that show how rcats are rendered when the {{Redirect category shell}} (which has replaced the deprecated {{This is a redirect}} template) is used:
{{Redirect category shell|{{R from plural}}|{{R with possibilities}}}}
in contrast to how text appears when rcats are added to redirects individually, such as:
{{R from plural}}
{{R with possibilities}}
The Rcat shell template wraps rcats in a similar manner to other shell templates, such as the {{WikiProject banner shell}}. However, rather than collapsing the templates, the Rcat shell gives them a more sophisticated and professional appearance.
Learning curve
[संपादन करीं]With the Rcat shell template, the learning curve for inexperienced editors, who want to learn the details of redirect categorization, can be greatly enhanced. If an editor has no idea where to start and wants to learn, they can just add {{Rcat shell}}
to the third line of a redirect's edit screen, and someone will "come a runninटेम्पलेट:'" to add rcats to the redirect. If they keep track of where they left a shell template, then they will learn how to categorize from more experienced editors. As their learning grows, they are not abandoned. If an editor knows that one or two rcats are needed, but they are unsure if any more should be added, all they need do is leave the very first parameter empty. Just as before, other editors will come a runnin' to double check their good work. This ability to help new and inexperienced editors is not available to individually applied rcats. More details may be found on the template documentation page.
Protection detection
[संपादन करीं]Another good reason to consider using the Redirect category shell instead of using individual rcats on redirects is that the shell template, in addition to the learning curve and standardized text, is capable of detecting the protection level(s) of a redirect. When an administrator protects a redirect, either edit-protected, move-protected or both, and if the Redirect category shell template has been used to tag the redirect, then it automatically sorts the redirect into appropriate protection categories. If and when protection is lifted, raised or lowered, then the protection tags and categories are automatically removed or adjusted accordingly. If the Rcat shell is added to an already protected redirect, then any manually placed protection templates may be removed as they will not be needed. This automatic protection sensing is not available to individually applied rcats.
Style comparison
[संपादन करीं]- Templates used
- The rcat templates used in this example are:
Rcat shell
[संपादन करीं]{{Rcat shell|
{{R from related word}}
{{R from template shortcut}}
{{R from long name}}
{{R from alternative name}}
{{R to redirect template}}
}}
ई पन्ना एगो अनुप्रेषण ह:
|
Individually added
[संपादन करीं]{{R from related word}}
{{R from template shortcut}}
{{R from long name}}
{{R from alternative name}}
{{R to redirect template}}
- ई एक ठो अनुप्रेषण बाटे जवन कौनों अइसन शब्द (भा वाक्यांश) बा जे से पर ले जाई जे पन्ना एकरा से कौनों तरीका से संबंधित होखे। अइसन संभव बा कि ई अनुप्रेषण एगो विक्शनरी कड़ी के लायक नीक होखे। अउरी ढेर जानकारी खातिर मोट अच्छर में लिखल श्रेणी के कड़ी पर क्लिक कइल जाय। पर।
- संबंधित शब्द से अनुप्रेषण के मतलब ई ना हवे कि ओही शब्द के कौनों दुसरा इस्पेलिंग भा हिज्जे से ई अनुप्रेषण बनावल गइल बा। ई उप-बिसय से बनावल अनुप्रेषण भी ना हवे। ई अइसन संबंधित शब्द से अनुप्रेषण हवे जेह पर अलगा से लेख बनावल जाए एक संभावना बहुते कम होखे, जबकि उप-बिसय भा अन्य संबंधित टर्म आ शब्दावली में ई संभावना हो सके ला।
- ई एक ठो अनुप्रेषण बाटे a shortcut page name in any namespace से a page in template namespace. For more information follow the category link पर।
- If target page is not a template, then use {{R from shortcut}} instead. Template shortcuts are wikilinked on community pages, talk pages and edit summaries, but not in mainspace articles.
- Note: Template talk pages are in a talk namespace; they are not in the template namespace. All shortcuts to talk pages should be tagged with
{{R from shortcut}}
.
- ई एक ठो अनुप्रेषण बाटे a title that is a complete, more complete or longer version of the name of a person, organization, legislative act, etc से । It leads to the title in accordance with the naming conventions for common names and can help writing and searches. However, do not replace these redirected links with a piped link unless the page is updated for another reason. For more information follow the bold category link.
- ई एक ठो अनुप्रेषण बाटे जवन कि अनुप्रेषण के टारगेट के दूसर नाँव होखे, जइसे कि उपनाँव, पुकार नाँव भा पर्यायवाची या फिर टारगेट के बिसय से संबंधित होखे। अधिका जानकारी खातिर मोट अच्छर में लिखल श्रेणी के कड़ी के फालो करीं से ।
- ई अनुप्रेषण अइसन टाइटिल पर ले जाये खातिर बनावल गइल बा जवन विकिपीडिया के आम चलनसार नाँव के नीति के अनुसार होखे आ लेख लिखे में एहू टाइटिल के मदद लिहल जा सकत होखे। अइसन अनुप्रेषण सभ के कड़ी के मूल लेख में पाइप के इस्तेमाल वाली कड़ी से बदले के जरूरत नइखे।
- अगर ई अनुप्रेषण कौनों गलत नाँव से सही नाँव के टारगेट पर चहुँपे खातिर बनावल गइल बा, एकरे बजाय {{R from incorrect name}} के इस्तमाल कइल जाय।
- To a redirect category (rcat) template: ई एक ठो अनुप्रेषण बाटे an alias/shortcut (usually), or from a redirect that is the result of a page move/rename, से a redirect category (rcat) template पर।
Incorrect namespace
[संपादन करीं]Also noted is how these rcats will appear if they are used to tag a redirect in the wrong namespace. {{R from plural}} is an rcat that is only used in article mainspace, and this page is a "template" page, so:
{{Rcat shell|{{R from plural}}}}
...
This page is a redirect. The following categories are used to track and monitor this redirect:
|
{{R from plural}}
if used individually...
- ई एक ठो अनुप्रेषण बाटे a plural noun से its singular form. Either {{R from plural}} or {{R to singular}} may be used to tag plural redirects. For more information follow the bold category link पर।
- This redirect link is used for convenience; it is often preferable to add the plural directly after the link (for example,
[[link]]s
). However, do not replace these redirected links with a simpler link unless the page is updated for another reason (see WP:NOTBROKEN). - Use this rcat to tag only mainspace redirects; when plural forms are found in other namespaces, use {{R from modification}} instead.
- This redirect link is used for convenience; it is often preferable to add the plural directly after the link (for example,
The above rcat should only be used to categorize redirects that are in the मुख्य namespace. |
The above rcat should only be used to categorize redirects that are in the main namespace. |
Note 1: If {{R from plural}} or any template is used in a different namespace than it should be used, the editor may note that both the above error message and a different categorization than expected is generated. The page will not be sorted to the expected category, and will instead populate Category:Pages with templates in the wrong namespace.
Note 2: When the error box shown above is seen on "preview" or after the edit has been published, be sure to correct the error by removing the rcat that should only be used in another namespace. In this case the {{R from modification}} rcat, which may be used in any namespace, can be used instead of R from plural:
{{Rcat shell|{{R from modification}}}}
...
ई पन्ना एगो अनुप्रेषण ह:
|
{{R from modification}}
...
- From a modification: ई एक ठो अनुप्रेषण बाटे a modification of the target's title or a closely related title. For example, the words may be rearranged, or punctuation may be different से ।
- In cases of modification from distinctly longer or shorter names, please use {{R from long name}} or {{R from short name}}, respectively.
- Use this rcat instead of {{R from other capitalisation}} and {{R from plural}} in namespaces other than mainspace for those types of modification.
Edit notes
[संपादन करीं]- Always double check your edits even after you have previewed and published them. Some edits may appear differently in different browsers and skins, so it's good to be prepared and to check those edits with different browsers and in different skins. Also, a few edits may appear differently after being published than when they were viewed on preview.
- If your edits fail to appear after you've published them, be sure you have enabled your ability to see "hidden categories". You can make this choice very easily:
- Go to Preferences → Appearance
- Scroll down to एडवांस बिकल्प
- Check the box छिपल श्रेणी देखावल जाय
- Click सहेजीं
- You may need to purge your browser cache to ensure that you can see hidden cats in the future.
- The following "preview trick" is no longer necessary since the bugs were fixed. It is kept only for historic reasons, because it also works for other templates. There is another way the text can be seen and checked to see if the correct rcat has been added. When an editor begins to edit a redirect, the edit screen is brought up that gives the ability to change the page. If the redirect is disabled for preview and not saved, the editor can see the text of the rcat(s) added by clicking on Show preview. Once the editor has determined that the correct rcats have been added, the redirect can be re-enabled before being saved. One easy way to disable a redirect is to type a number or letter in the upper left of the edit field, to the left of the "#REDIRECT", as in "4#REDIRECT". Be sure that the "4" is removed before the Publish page is clicked.
- The following "preview trick" is no longer necessary since a software update enabled section reference viewing. It is kept only for historic reasons, because it also works for other templates. The above "preview trick" works for other templates as well, such as {{Reflist}} or its shortcut, {{RE}}. Place one of those beneath a paragraph of an article section and click on Show preview to give you a "test reflist" with which to check citation edits. If you forget to remove the test reflist and published the page with it still in, just be sure to double check the edit and correct your mistake. Others will understand because we've all made the same or similar errors.
Bug note
[संपादन करीं]There are two closed bugs and one open Phab ticket that dealt/deal with the appearance of text on redirects:
Until the first two were resolved, the above texts only appeared at Rfd, because only then was a redirect disabled (by the Rfd template). Only when a redirect was disabled would text appear on redirects.
Editor's choice
[संपादन करीं]There is no policy nor guideline with a goal to get editors to use the Rcat shell. So it is up to editors to decide which style is better for use: the Rcat shell wrapping the rcats or the rcats are used individually. The editors who have worked to improve the Rcat shell hope that other editors will put it to good use.