Template talk:R unprintworthy
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||
|
Template:R unprintworthy is permanently protected from editing because it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
This template (Template:R unprintworthy) was considered for deletion on 2010 August 25. The result of the discussion was "keep". |
Purpose
editWhat is the point of this template? The page does not explain what it does so all I can gather from it is it adds Category:Unprintworthy redirects. Why do we need a template to add a category? Isn't it much easier just to add the category? McLerristarr (Mclay1) (talk) 07:16, 17 August 2010 (UTC)
- The meaning of the term "unprintworthy" isn't immediately obvious, especially in the context of categorization. There are links like "see here for the complete explanation" which fail to give even a vague explanation. I did find the phrase distinguish "good" redirects from "bad" ones helpful; others might also. Senator2029 ‖ Talk 01:06, 20 April 2013 (UTC)
Documentation
edit{{editprotected}}
I've created a documentation page at Template:R unprintworthy/doc. Please reference it on this template page. This is a response to the TfD discussion on this template that made it clear that such a page is needed. D O N D E groovily Talk to me 03:08, 11 February 2011 (UTC)
- The edit also seems to have removed categorization from the template. 8-( Andy Dingley (talk) 13:03, 11 February 2011 (UTC)
- Done and categorization re-added. Hope you're also happy with the move. — Martin (MSGJ · talk) 13:08, 11 February 2011 (UTC)
- Can we reverse the undiscussed rename please. There's a naming convention for these templates for use on redirects as
{{R ...}}
. Even if you don't like it, it shouldn't be changed undiscussed. Andy Dingley (talk) 13:09, 11 February 2011 (UTC)- Okay, reverted for now. I did propose expanding the R once. There is a general move to use template names in clear English so their purpose is as clear as possible. Therefore I thought it would be uncontroversial. — Martin (MSGJ · talk) 15:36, 11 February 2011 (UTC)
- "Clearer" is arguable. These templates are only for use from redirects, and templates other than these aren't generally used from redirects. It's a bit tricky under mediawiki to tell if a page is a redirect or not. You can either check this, which is awkward (although the better option, if you have to do this), or you can add another
redirect:
namespace, which then gets awkward because you have to make the page renderer accept names from either namespace and use them as if they're from the Main namespace. Besides which, WP supports neither of these. So for "the set of templates for redirect" and "the set of templates for non-redirects", the easiest way to distinguish them is to use the names and let the humans check it. - As for renaming, then that would need to be done as a global change (which I can't anyway see the benefit of). Having some redirect templates named
{{R verbose}}
and others named{{verbose redirect}}
would be really unhelpful. Andy Dingley (talk) 20:09, 11 February 2011 (UTC)
- "Clearer" is arguable. These templates are only for use from redirects, and templates other than these aren't generally used from redirects. It's a bit tricky under mediawiki to tell if a page is a redirect or not. You can either check this, which is awkward (although the better option, if you have to do this), or you can add another
Requested move
edit- The following discussion is an archived discussion of a requested move. Please do not modify it. Subsequent comments should be made in a new section on the talk page. No further edits should be made to this section.
The result of the move request was: page moved already, apparently. Non admin closure D O N D E groovily Talk to me 15:36, 11 February 2011 (UTC)
Template:Unprintworthy redirect → Template:R unprintworthy — It is custom that redirect categories begin with "R". This template was "R Unprintworthy until yesterday when it was moved without discussion.--D O N D E groovily Talk to me 15:31, 11 February 2011 (UTC)
- The above discussion is preserved as an archive of a requested move. Please do not modify it. Subsequent comments should be made in a new section on this talk page. No further edits should be made to this section.
Template upgrade
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
This template – R unprintworthy – needs to be upgraded to the {{Redirect template}} code usage in the same manner as is {{R printworthy}}. To illustrate the difference I have two non-Mainspace redirects, one that uses this Unprintworthy Rcat and one that uses the Printworthy Rcat...
The Unprintworthy redirect in my user space does not populate the Category:Unprintworthy redirects, and that is an important aspect. When you look at the Printworthy redirect, you see that it performs a similar task (it keeps the non-Mainspace redirect out of the Printworthy redirects category) and also makes the redirect populate Category:Pages with templates in the wrong namespace, which informs the editor that the wrong Rcat has been used. In order to upgrade this R unprintworthy Rcat, please edit the source as follows:
- Modify this...
----
This is a redirect that would not belong in print.
However, it may be a valid navigational aid for computer searches.
For more information, follow the category link.
<includeonly>{{main other|
[[Category:Unprintworthy redirects]]}}
</includeonly><noinclude>
{{documentation}}
</noinclude>
<!-- this is Template:R unprintworthy -->
- to this...
{{#ifeq:{{{embed}}}|yes|{{Redirect template|name=From an unprintworthy name|from=a name that would not be helpful in [[Meta:Paper Wikipedia|print]] format|main category=Unprintworthy redirects}}|{{Redirect template|from=a title that would '''[[:Category:Unprintworthy redirects|not be helpful]]''' in print format<includeonly>|main category=Unprintworthy redirects</includeonly>}}}}<noinclude>
{{Documentation}}
</noinclude>
To show that the new code will work as expected, I have placed it in the {{R unprintworthy/sandbox}} and have placed that sandbox on a non-Mainspace redirect and a Mainspace shortcut redirect...
As is seen, my Userspace redirect is still kept out of the Unprintworthy redirects category, and now it also populates the Category:Pages with templates in the wrong namespace. In addition, the Mainspace shortcut redirect is still correctly sorted into the Unprintworthy redirects category. Thank you in advance for effecting this modification! – Paine Ellsworth CLIMAX! 00:40, 25 July 2013 (UTC)
- PS. Rather than a copy/paste from this talk page, it might be better and easier to copy & paste the code directly from the sandbox. Joys! – Paine Ellsworth CLIMAX!
- Done. I created the testcases page along the way.--Salix (talk): 06:31, 25 July 2013 (UTC)
- Thank you very much, Salix! – Paine Ellsworth CLIMAX! 06:38, 25 July 2013 (UTC)
- Somethings gone odd. I don't see any text appearing in any redirect page. Its not just this template though, seem to affect {{R printworthy}}. I've reverting for now. Any ideas?--Salix (talk): 06:59, 25 July 2013 (UTC)
- It looks like no text should appear after the redirect per Help:Redirect. So I'm not quite sure what it actually achieves. Applying anyway.--Salix (talk): 09:08, 25 July 2013 (UTC)
- You're right, and I gather that it has something to do with WP:1.0. I agree that it doesn't seem to make much sense to include text on pages that wouldn't be published in an offline compendium, but I suppose there might be some issues here I'm not aware of. — Mr. Stradivarius ♪ talk ♪ 09:35, 25 July 2013 (UTC)
- It looks like no text should appear after the redirect per Help:Redirect. So I'm not quite sure what it actually achieves. Applying anyway.--Salix (talk): 09:08, 25 July 2013 (UTC)
- Somethings gone odd. I don't see any text appearing in any redirect page. Its not just this template though, seem to affect {{R printworthy}}. I've reverting for now. Any ideas?--Salix (talk): 06:59, 25 July 2013 (UTC)
- Thank you very much, Salix! – Paine Ellsworth CLIMAX! 06:38, 25 July 2013 (UTC)
- Done. I created the testcases page along the way.--Salix (talk): 06:31, 25 July 2013 (UTC)
Issues? Oh yes. Text and the special markup of the {{This is a redirect}} template should be on redirect pages, and T16323 shows this has been an issue for a long time. When that bug was initiated, one could at least see the redirect text on diff pages, but even that doesn't happen anymore. See T44642 for that little fiasco. At present, the only time one can see anything like that on a redirect is when it's disabled, such as during an Rfd, for example this redirect. I look forward to a day when there is text on redirects to help newer editors better understand what's going on. – Paine Ellsworth CLIMAX! 15:04, 25 July 2013 (UTC)
message not displayed when template comes at end of line
editWhen the template appears at the beginning of a document on a line by itself [1] it displays the message "This is a redirect from a title that would not be helpful in print format."
When it is added at the end of a line:
#REDIRECT [[Bihar People's Party]] {{unprintworthy}}
[2] the message does not appear. — Preceding unsigned comment added by Rybec (talk • contribs) 22:49, 31 August 2013 (UTC)
- There is a long-term ongoing discussion at bugzilla:14323. It impacts all of the Rcat templates, not just this one. Unfortunately, putting the template before the redirect isn't a solution because that disables the redirect. See also WP:REDCAT. – Wdchk (talk) 00:26, 1 September 2013 (UTC)
Fix redirect loop
edit@Paine Ellsworth: Please apply edit 610978857 to this template as well. Petr Matas 20:52, 31 May 2014 (UTC)
- I've looked at this again, and I wish I had thought of this, Petr! Again, though, this edit should probably wait for the TfD close. Since the change you made to R printworthy does not affect its function in any way, that can stay as it is for now. – Paine Ellsworth CLIMAX! 23:28, 31 May 2014 (UTC)
- Oops! ( Done) – Paine 12:03, 5 June 2014 (UTC)
Better redirect parameter
editIt would be nice to add a parameter (e.g. better=
) that points to a printworthy redirect that makes this one redundant.
Often when there are very similar redirects to an article (such that they are alphabetically next to each other), it only makes sense to make one of them printworthy and the rest unprintworthy. However, it isn't immediately obvious to future editors visiting these redirects why they're unprintworthy, which might result in them unwittingly switching them to printworthy.
The text in the template with the parameter used could be rendered e.g. like so:
This is a redirect from a title that is too similar to ((other redirect)), a printworthy redirect to the same page, to be helpful in a printed or CD/DVD version of Wikipedia. See Wikipedia:Printability for more helpful information.