Template talk:Sister project links: Difference between revisions

Content deleted Content added
K7L (talk | contribs)
Cookbook: new section
Line 191: Line 191:
: I also dislike Special:Search’es as a permanent solution – EL or ELNO, but it is just a silly complication in the worst tradition of 21th-century technology. Replace all of these to direct links, yeah. Resulting dead links, IMHO, can be reduced with bots. [[User:Incnis Mrsi|Incnis Mrsi]] ([[User talk:Incnis Mrsi|talk]]) 19:12, 2 September 2012 (UTC)
: I also dislike Special:Search’es as a permanent solution – EL or ELNO, but it is just a silly complication in the worst tradition of 21th-century technology. Replace all of these to direct links, yeah. Resulting dead links, IMHO, can be reduced with bots. [[User:Incnis Mrsi|Incnis Mrsi]] ([[User talk:Incnis Mrsi|talk]]) 19:12, 2 September 2012 (UTC)
:: If the user explicitly specified a target, such as <nowiki>{{sister project links|voy=Europe}}</nowiki>, the template needs to send them directly to that page... launching a search is superfluous. The same applies if the user specifies a Commons category or anything else specified right in a parameter. I could explicitly set every parameter to a specific page or category and still have them all become search links... why? Perhaps [[:fr:modèle:autres projets]] (where the links go to only the projects listed, and the target pages are specified by name) would be a proper example of what needs to happen in any case other than this being arbitrarily dropped on the page with no parameters at all. [[User:K7L|K7L]] ([[User talk:K7L|talk]]) 18:47, 13 November 2012 (UTC)
:: If the user explicitly specified a target, such as <nowiki>{{sister project links|voy=Europe}}</nowiki>, the template needs to send them directly to that page... launching a search is superfluous. The same applies if the user specifies a Commons category or anything else specified right in a parameter. I could explicitly set every parameter to a specific page or category and still have them all become search links... why? Perhaps [[:fr:modèle:autres projets]] (where the links go to only the projects listed, and the target pages are specified by name) would be a proper example of what needs to happen in any case other than this being arbitrarily dropped on the page with no parameters at all. [[User:K7L|K7L]] ([[User talk:K7L|talk]]) 18:47, 13 November 2012 (UTC)

== Cookbook ==

{{Cookbook|Banana|category=no}}
What about including parameters for [[wikibooks:cookbook|cookbook]] (and [[wikibooks:Wikijunior|Wikijunior]]). We already have a separate one for {{tl|cookbook}}. Thank you.<span style="text-shadow:gray 0.2em 0.3em 0.2em">···[[User:Vanischenu|'''V<span style="color:green;">ani</span>s<span style="color:green;">che</span>nu''']][[Special:Contributions/Vanischenu|<sup>「m</sup>]]/[[User_talk:Vanischenu|<sub>Talk」</sub>]]</span> 19:29, 25 December 2012 (UTC)

Revision as of 19:29, 25 December 2012

Modification

It's neat in the current form BUT many projects may be irrelevant to a particular article. Instead of the current all inclusive form, I suggest it be modified like the babel template which allows a neat rendering of multiple language links. =Nichalp «Talk»= 04:44, July 14, 2005 (UTC)

If too few sister projects have information on a topic, just use the individual boxes. This is intended to replace 4-7 of those in an effort to reduce box clutter. The babel template fails to avoid using meta-templates, and in this templates case, we have a good alternative. -- Netoholic @ 06:15, 14 July 2005 (UTC)[reply]
I've updated the template to allow this. To skip sister projects just include the project's shortcode parameter as "no". ~ PaulT/C 00:23, 24 December 2008 (UTC)[reply]

WikiSource

checkYdone.

  • i noticed the Wikisource link does not direct to the "Wikisource author" page if this sisterlink template is used to search for a person. Is there anyway we can modify this tempalate so when dealing with people, we can have the option to link directly to their Author:Personname article in Wikisource? For example, using th current design, if you searched for Mohandas K. Gandhi using this template in Wikisource, you get this Special:Search/Mahatma_Gandhi, but I would like to be able to force it to Author:Mohandas_K._Gandhi his actual wikisource page! (:O) -Nima Baghaei talk · cont · email 07:08, 12 May 2007 (UTC)[reply]
I'll second this -- see the same problem with Al Gore. -- Kendrick7talk 23:32, 10 December 2007 (UTC)[reply]
I've worked around this by creating {{sisterlinks-author}}, and put it in these two articles. I hope it catches on elsewhere. -- Kendrick7talk 18:44, 11 December 2007 (UTC)[reply]
The new specific parameters for each sisterlink should negate any need for this new template. Just make the s parameter equal "{{PAGENAME}}_author". ~ PaulT/C 00:25, 24 December 2008 (UTC)[reply]

Wikispecies

I just placed {{sisterlinks}} on the article Maize and noticed that there is no link to Wikispecies on this template, so I had to leave the {{Wikispecies}} on the article. I was going to suggest adding it to sisterlinks then I realized that probably would not be helpfull as the Wikipedia article usually uses the common name and Wikispecies usually uses the scientific name, and sisterlinks searches by the Wikipedia article name so... Jeepday (talk) 14:39, 5 March 2008 (UTC)[reply]

The new sister project-specific parameters might warrant revisiting this. ~ PaulT/C 00:23, 24 December 2008 (UTC)[reply]

Display parameter?

Would it be possible to add a parameter that just changes the text in the box? I'm asking because at Bear#Further reading the box says "Find more about bear", which sounds weird. I know that the page in every case is "bear", not "bears", but it seems to me it should read "Find more about bears".—Chowbok 16:39, 22 July 2008 (UTC)  Done There is now a "display" parameter.  ~ PaulT/C 00:23, 24 December 2008 (UTC)[reply]

Typos and minor cleanup, wish I could do this myself

{{editprotected}} Can the following code replace the current code?

{| class="infobox sisterproject" style="width:235px; line-height:2.25em; font-size:90%;"
|- style="line-height:1.3em;"
!colspan="2" align="center"| Find more about {{{1|{{PAGENAME}}}}} on Wikipedia's sister projects:
|-
!width="37"| [[Image:Wiktionary-logo-en.svg|25x27px|link=wikt:Special:Search/{{{wikt|{{{1|{{PAGENAME}}}}}}}} ]]
| [[wikt:Special:Search/{{{wikt|{{{1|{{PAGENAME}}}}}}}}|Dictionary definitions]]
|-
! [[Image:Wikibooks-logo.svg|27px|link=b:Special:Search/{{{b|{{{1|{{PAGENAME}}}}}}}} ]]
| [[b:Special:Search/{{{b|{{{1|{{PAGENAME}}}}}}}}|Textbooks]]
|-
! [[Image:Wikiquote-logo.svg|23x27px|link=b:Special:Search/{{{q|{{{1|{{PAGENAME}}}}}}}} ]]
| [[q:Special:Search/{{{q|{{{1|{{PAGENAME}}}}}}}}|Quotations]]
|-
! [[Image:Wikisource-logo.svg|26x27px|link=s:Special:Search/{{{s|{{{1|{{PAGENAME}}}}}}}} ]]
| [[s:Special:Search/{{{s|{{{1|{{PAGENAME}}}}}}}}|Source texts]]
|-
! [[Image:Commons-logo.svg|19x25px|link=commons:Special:Search/{{{commons|{{{1|{{PAGENAME}}}}}}}} ]]
| [[commons:Special:Search/{{{commons|{{{1|{{PAGENAME}}}}}}}}|Images and media]]
|-
! {{lower|6px|[[Image:Wikinews-logo.svg|27px|link=n:Special:Search/{{{commons|{{{1|{{PAGENAME}}}}}}}} ]]}}
| [[n:Special:Search/{{{n|{{{1|{{PAGENAME}}}}}}}}|News stories]]
|-
! [[Image:Wikiversity-logo-Snorky.svg|27px|link=v:Special:Search/{{{v|{{{1|{{PAGENAME}}}}}}}} ]]
| [[v:Special:Search/{{{v|{{{1|{{PAGENAME}}}}}}}}|Learning resources]]
|}<noinclude>
{{pp-template|small=yes}}
{{documentation}}
</noinclude>

I'd do it myself (as this is just minor maintenance and removal of old span tags and commented out portions of the removed wikispecies project), but the template is protected...

Also, would it be possible to code some of these links as optional through parameters? For example:

#ifeq:{{{wikt}}}|no| |
|-
!width="37"| [[Image:Wiktionary-logo-en.svg|25x27px|link=wikt:Special:Search/{{{wikt|{{{1|{{PAGENAME}}}}}}}} ]]
| [[wikt:Special:Search/{{{wikt|{{{1|{{PAGENAME}}}}}}}}|Dictionary definitions]]
}}

This would omit the wiktionary sister project from the list if the parameter wikt=no. I'd code and test this for the rest of the projects, but again, the template is protected...

Also, regarding the display name (bear vs. bears above), adding an additional "display" parameter to the top like so:

Find more about {{{display|{{{1|{{PAGENAME}}}}}}}} on Wikipedia's sister projects:

would provide this functionality... Feel free to add this as well if it works correctly. ~ PaulT/C 01:15, 11 December 2008 (UTC)[reply]

I just tweaked the above request per mine below re "37px" — let's not reintroduce a problem. Cheers, Jack Merridew 11:27, 12 December 2008 (UTC)[reply]
 Not done for now; please past the code into a sandbox so that responding admins can verify that it works. An example page would help as well. This way you can test it thoroughly yourself without a responding admin having to worry about breaking anything.--Aervanath lives in the Orphanage 13:43, 20 December 2008 (UTC)[reply]
 Done per WP:BOLD. I saw your latter note below and review the proposed changes and agree with them. I also took things a bit further; just code nits. Please don't set the bar too high for good updates. It's a wiki. Cheers, Jack Merridew 07:07, 21 December 2008 (UTC)[reply]
Thanks, I've also added the remaining code that I proposed in this section. There is now a display parameter and the ability to hide specific sister project links. ~ PaulT/C 00:23, 24 December 2008 (UTC)[reply]

width="37px" is wrong

{{editprotected}}

Please change line 5 of the current code from;

!width="37px"

to

!width="37"

'px' is invalid on an html attribute; it's only valid for css. Cheers, Jack Merridew 08:18, 12 December 2008 (UTC)[reply]

Like that? Cheers, Casliber (talk · contribs) 10:03, 12 December 2008 (UTC)[reply]
Yup, there are hundreds of thousands of places that mistake has been made and propagated to, on thousands of wikis; see what happens when anyone can edit: Bad Code. I'z gown bez bold 'nd; 'just teh req abov. Cheese, Jack Merridew 11:24, 12 December 2008 (UTC)[reply]

semiprotect

Is there any reason why this page is protected?

I'd like to be able to make edits here without waiting for an admin to find the time to implement them. (Or ignore them as User:Casliber has...)

Can the page be semi-protected instead? ~ PaulT/C 14:08, 13 December 2008 (UTC)[reply]

 Done I was going to deny this because it has 2500 transclusions, but I realized that's only 0.1% of wikipedia's total article count (and falling), so to heck with it. Semi-protected.--Aervanath lives in the Orphanage 13:50, 20 December 2008 (UTC)[reply]
Thanks! Honestly, I think the WP:HRT "guideline" needs to be revisited. ~ PaulT/C 00:23, 24 December 2008 (UTC)[reply]

It seems that this template has been fully protected again. Has there been some change from the above rationale? ~ PaulT/C 06:45, 10 September 2009 (UTC)[reply]

 Done Back to semi again. Thanks! Plastikspork ―Œ(talk) 14:02, 10 September 2009 (UTC)[reply]

WIKIMEDIA COMMONS

there needs to be an EASY way to adjust between linking to a commons page & linking to a commons category. different subjects need either/or Lx 121 (talk) 00:00, 25 March 2009 (UTC)[reply]

Can you give an example of what you mean? I'm not sure that I follow what kind of functionality you are looking for. ~ PaulT/C 17:26, 10 September 2009 (UTC)[reply]

It is apparent that useless whitespace is included in the template when the option to turn off links to projects (e.g. by setting |wikt=no) is used. See this version of the Ayn Rand article for an example. Can someone fix this? Gracias, Skomorokh 16:37, 25 April 2009 (UTC)[reply]

Currently this template is used as {{Sisterlinks|Arnold Schwarzenegger}}. This seems to default to linking to Wikitionary, despite Wikitionary having no results. This embarrassingly leads to a "No page found" error page. Could some suggest how this template should be correctly used to link to Quotes, News and Commons only? —Sladen (talk) 15:08, 29 May 2009 (UTC)[reply]

Wikiversity line break

{{editprotected}} Add {{nobr}} around the Wikiversity line or otherwise edit the template to prevent the word "Wikiversity" from spilling onto the next line. It's not pleasing visually. --Cybercobra (talk) 08:38, 27 August 2009 (UTC)[reply]

I suggest just removing width: 18em;. That makes the box a bit wider (20 em, as defined is MediaWiki:Common.css), so that it won't wrap (in most cases). —Ms2ger (talk) 10:16, 27 August 2009 (UTC)[reply]
 Done Widened box. — Jake Wartenberg 17:34, 27 August 2009 (UTC)[reply]

Request

{{editprotected}} Please change the incorrect {{pp-semi-template|small=yes}} to the correct {{Pp-template|small=yes}}. Debresser (talk) 01:24, 10 September 2009 (UTC)[reply]

 Done Thanks!Skier Dude (talk) 03:14, 10 September 2009 (UTC)[reply]

I have posted a section in the village pump proposing a concept idea to interlink the sister projects without getting in the way (external to the articles) --Squidonius (talk) 16:30, 28 October 2009 (UTC)[reply]

Sync needed

{{editsemiprotected}} Please sync the template to the most recent version of the sandbox for whitespace optimisation. Thank you. 86.41.80.244 (talk) 06:54, 6 May 2010 (UTC)[reply]

 Not done: Can you explain the change in detail? Your version seems to have a ragged left margin for the text strings and changes the Wikispecies text. What is the benefit/intent? Thanks, Celestra (talk) 14:05, 6 May 2010 (UTC)[reply]

Sorry about that; all I mean is to change the 25px limitation on the images to 25x25px in order to impose consistency on the tall and wide images and to reduce the whitespace between the text lines. This is a copy of the current version of the template, and the next diff is what I would change. You can see the (entirely cosmetic) difference between my proposed version and the current version now. 86.41.80.244 (talk) 00:18, 7 May 2010 (UTC)[reply]
Done. Plastikspork (talk) 05:06, 7 May 2010 (UTC)[reply]
Thanks very much. 86.41.80.244 (talk) 05:35, 7 May 2010 (UTC)[reply]

I noted that a user removed {{Commons cat}} due the concurring presence of {{Sister project links}}. In my opinion it should not affect or discurage the use of {{Commons category}} or {{Commons}} because {{Sister project links}} simply "provides links to the 'Search' page on the various Wikimedia sister projects". It does not grant that any related content actually exist, it is just a (blind) guess. {{Commons}} and {{Commons cat}} instead state that Wikimedia Commons actually has media related to the subject and provide a link to it. This is a precious information. It is the difference between the search function and a link. -- Basilicofresco (msg) 15:23, 21 November 2010 (UTC)[reply]

I'm seeing this with {{wikivoyage}} and {{sister project links|voy...}} as well, what needs to happen (instead of having two templates for the same siblings, one of which launches a pointless search) is that this template needs to link directly to a page whenever a pagename or category name is fed as a parameter. No reason to invoke special:search at all if the target is already provided and in the crosshairs. K7L (talk) 18:54, 13 November 2012 (UTC)[reply]

I have posted a proposal at the village pump on how interWikis (and portals and books) are displayed in an article. Please comment there. – VisionHolder « talk » 19:22, 29 January 2011 (UTC)[reply]

The new combined template is now completely coded. It is a solid bar intended for the end of the article, just after "External Links." It supports portals, books, and interWikis. I have put in the main space at {{Subject bar}} for testing and comments. I also made a post about it at Wikipedia talk:Manual of Style (layout). There is a sandbox version for more major edits. Everyone is encouraged to stop by there to learn more and make comments. – VisionHolder « talk » 15:49, 2 February 2011 (UTC)[reply]

Commons category

Can a link to "commons category" also be added in the template to stop redirects from "Images and media from Commons" e.g. see Jesus redirecting to commons category via commons:Jesus? Or this functionality added to an alternative template? Nirvana2013 (talk) 06:33, 28 July 2011 (UTC)[reply]

I have found the solution. Placing category in the template e.g. |commons=Category:Leo Tolstoy Nirvana2013 (talk) 18:10, 28 July 2011 (UTC)[reply]

Wikisource does NOT work anymore!

The template does NOT show a link to Wikisource anymore! The article about the Sun has no link to Wikisource and that is the problem in many (probably all) articles. --84.238.38.27 (talk) 03:25, 13 May 2012 (UTC)[reply]

Not working?

For some reason this template is working on tons of pages where no parameter has been specified. Isn't it supposed to work using {{PAGENAME}}?  Liam987(talk) 08:13, 17 May 2012 (UTC)[reply]

It did not work on any of the pages I checked. Maybe the cache served you an old rev? Anyways, I restored a rev from December last year. jonkerz ♠talk 16:26, 25 May 2012 (UTC)[reply]

ELNO?

Can someone explain to my why this whole template doesn't run afoul of WP:ELNO #9? The entries in the box created by this template consist only of search engine links, and ELNO#9 disallows "links to any search results pages, such as links to individual website searches, search engines, search aggregators, or RSS feeds." —David Eppstein (talk) 18:21, 20 August 2012 (UTC)[reply]

I also dislike Special:Search’es as a permanent solution – EL or ELNO, but it is just a silly complication in the worst tradition of 21th-century technology. Replace all of these to direct links, yeah. Resulting dead links, IMHO, can be reduced with bots. Incnis Mrsi (talk) 19:12, 2 September 2012 (UTC)[reply]
If the user explicitly specified a target, such as {{sister project links|voy=Europe}}, the template needs to send them directly to that page... launching a search is superfluous. The same applies if the user specifies a Commons category or anything else specified right in a parameter. I could explicitly set every parameter to a specific page or category and still have them all become search links... why? Perhaps fr:modèle:autres projets (where the links go to only the projects listed, and the target pages are specified by name) would be a proper example of what needs to happen in any case other than this being arbitrarily dropped on the page with no parameters at all. K7L (talk) 18:47, 13 November 2012 (UTC)[reply]

Cookbook

What about including parameters for cookbook (and Wikijunior). We already have a separate one for {{cookbook}}. Thank you.···Vanischenu「m/Talk」 19:29, 25 December 2012 (UTC)[reply]