Template talk:Sister project links
![]() | Template:Sister project links 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 is the talk page for discussing improvements to the Sister project links template. |
|
Archives: 1, 2Auto-archiving period: 12 months ![]() |
Cleanup: Parameter "qid"
[edit]For the paramter qid
there is no description! It seems that with this parameter you can define a search string for wikidata, but this is already possible with parameter q
. Or does it something more? Regards --W like wiki good to know 12:50, 9 February 2023 (UTC)
- It's purely for testing: it forces the template to behave as if it were placed on an article with that qid. It should not be used on normal pages, so it remains undocumented. It's used, e.g., on Template:Sister project links/testcases. — hike395 (talk) 16:01, 9 February 2023 (UTC)
|q=
is something entirely different: it is for displaying links to Wikiquote.|d=
links to Wikidata, but does not force the entire template to behave as if it were on a different article. — hike395 (talk) 16:03, 9 February 2023 (UTC)- @Hike395: Oh yes, that was my mistake, sure, I meant
|d=
. SoDone. Thx! --W like wiki good to know 17:08, 9 February 2023 (UTC)
- @Hike395: Oh yes, that was my mistake, sure, I meant
Cleanup: Parameter "iw" (Wikipedia link)
[edit]Hello and hello @Hike395: I think the Parameter "iw" (Wikipedia link) is not needed. Interlanguage links are not interproject links. A Wikipedia link here in this box is a bit irritating. Sure, the case is different if this box is in a Wikiversity or Wiktionary article, but here on Wikipedia a link to another language edition of Wikipedia should not appear under sister projects. Agree? Regards --W like wiki good to know 17:19, 9 February 2023 (UTC)
- I respectfully disagree. There already is a template {{InterWiki}} that links to an edition of Wikipedia, and produces a big box designed to be in External Links.
|iw=
simply allows editors to fold that link into this box, instead of forcing a completely separate box which looks ugly (see right). - If you feel like {{InterWiki}} does not belong in EL at all, I would suggest gaining consensus at Template talk:InterWiki. — hike395 (talk) 01:19, 10 February 2023 (UTC)
Edit Request: Display order of wikivoyage and wikiversity
[edit]![]() | This edit request to Module:Sister project links has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Hello and hello @Hike395: it would be nice if the the order of the wikivoyage and wikiversity links could be switched. First profite: Textbooks (wikibooks) and wikiversity are displayed together. Second: All projects that default to "yes" when auto=no (bold) are displayed together. So the order will be:
before | after |
---|---|
Regards --W like wiki good to know 17:37, 9 February 2023 (UTC)
- This change is easy to make at Module:Sister project links, but it would be good to hear if other editors support or oppose this change. — hike395 (talk) 01:24, 10 February 2023 (UTC)
- Too trivial to oppose :) — Martin (MSGJ · talk) 09:54, 10 February 2023 (UTC)
- @MSGJ:
--W like wiki good to know 18:41, 11 February 2023 (UTC)
Implemented — now live, affects {{Sister project links}}, {{Sister bar}}, and {{Subject bar}}. Easy to revert if there are objections. — hike395 (talk) 20:49, 11 February 2023 (UTC)
- @MSGJ:
- Too trivial to oppose :) — Martin (MSGJ · talk) 09:54, 10 February 2023 (UTC)
From?
[edit]![]() | This edit request to Module:Sister project links has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
The wording provided by the "iw" parameter, "<Language> Edition from Wikipedia" (seen, for example, in the articles for Swahili and Bulgarian), seems awkward. "<Language> Edition of Wikipedia" would be better. - dcljr (talk) 01:44, 15 April 2023 (UTC)
Done --- good idea. — hike395 (talk) 12:39, 15 April 2023 (UTC)
- hike395 and Dcljr: I don't think this edit makes sense in the context of the other phrasing. Each of the phrases in the sister projects box appears, to me, to omit roughly the same words: a preposition and the article name, like "of XXX" or "about XXX" or "by XXX", where "XXX" is the article name. For example, "Definitions from Wiktionary" really means "Definitions of XXX from Wiktionary". "Travel information from Wikivoyage" means "Travel information about XXX from Wikivoyage". In that grammatical context, "English edition from Wikipedia" was correct, meaning "English edition of 'XXX' from Wikipedia". For example, if I use this template at John Dalton with
|iw=es
, I get: -
- Definitions from Wiktionary (read: Definitions of John Dalton from Wiktionary)
- Media from Commons (read: Media about John Dalton from Commons)
- News from Wikinews (read: News about John Dalton from Wikinews)
- Quotations from Wikiquote (read: Quotations by John Dalton from Wikiquote)
- Texts from Wikisource (read: Texts about John Dalton from Wikisource)
- Textbooks from Wikibooks (read: Textbooks about John Dalton from Wikibooks)
- Resources from Wikiversity (read: Resources about John Dalton from Wikiversity)
- Spanish edition of Wikipedia (read: Spanish edition of John Dalton of Wikipedia)
- The last one no longer makes sense. I think "from" was, while not perfect, more correct. There may be a third way to make the phrasing even better while keeping it brief. Inserting quotation marks around the article name in the interwiki phrasing might be slightly better, but it could have unforeseen consequences for titles that already contain punctuation. – Jonesey95 (talk) 12:53, 15 April 2023 (UTC)
- @Jonesey95:
|iw=
is only used on articles about languages. Following {{InterWiki}}, the iw links in the sister box don't link to a corresponding article in the other edition, they link to the main page of the other edition. In other words, the link is not to the "Article about the Spanish language in the Spanish edition of Wikipedia", it's truly the "Spanish edition of Wikipedia". — hike395 (talk) 13:13, 15 April 2023 (UTC)- How very odd. Thanks for the explanation; this is why I try to discuss changes like this on talk pages instead of knee-jerk reverting changes that I do not fully understand. A few thoughts:
- I did not see a good explanation of
|iw=
in the documentation; hence my confusion. (Also, I did not actually click on the link when I tried it at John Dalton, which is lazy on my part). - Possibly because the documentation is lacking,
|iw=
is used on articles other than language articles. - The other sister project links take me to information about the topic covered in the article, but
|iw=
links just take me to the main page, as you describe. That seems like a missed opportunity, and a possible WP:EGG problem (see, for example, the link at Avigliana castle). I wonder how difficult it would be to make the|iw=
link work like {{ill}}, possibly pulling the proper link title from Wikidata. – Jonesey95 (talk) 13:45, 15 April 2023 (UTC)
- I did not see a good explanation of
- How very odd. Thanks for the explanation; this is why I try to discuss changes like this on talk pages instead of knee-jerk reverting changes that I do not fully understand. A few thoughts:
- (Outdenting a bit, but replying to Jonesey95…) Its use in the Avigliana castle article is Just Plain Wrong (IMO… so I've changed it). Interlanguage links are already provided by Wikidata (and the article already links to it:Castello di Avigliana in the sidebar, or wherever it appears in your skin). There's no other reason to link to the Italian Wikipedia in that article (not in the box at the bottom, anyway). - dcljr (talk) 14:59, 15 April 2023 (UTC)
- OK, but again, if the documentation does not say how to use the parameter, how is an editor to know what is Wrong? More fundamentally, it seems strangely non-parallel and a violation of WP:EGG to use
|iw=
in French language, where the heading of this template says "French language at Wikipedia's sister projects", but the link does not take you to fr:Français. I propose that this parameter be removed entirely or radically reformatted to show that the heading "XXX language at Wikipedia's sister projects" does not apply to the "XXX edition of Wikipedia" link. – Jonesey95 (talk) 15:02, 15 April 2023 (UTC)- I added a section to the documentation to explain usage, so now editors can realize that using
|iw=
on non-language articles is Wrong, and that the link goes to the Main Page. - This is a useful parameter and I claim it should not be removed. Per the discussion above, the layout when {{Interwiki}} is used in addition to {{Sister project links}} looks ugly. Non-English Wikipedias are still sister projects, and it seems sensible that links to the XXX language Wikipedia should be folded into the sister box.
- I'm hoping that dlcjr's proposal fixes the link surprise problem? If the link says "French edition of Wikipedia", that would tell readers that the link goes to fr:Wikipédia:Accueil principal rather than to fr:Français.
- I would have thought that the entire French edition of Wikipedia was a valid entry in a list titled "French language at Wikipedia's sister projects" --- it's French and it's a sister project. It's not like the other links are guaranteed to always go to the parallel article in another Wikipedia. Editors can override the entry -- I've seen Wikivoyage links go to more general articles (e.g., Sonoran Desert linking to voy:Desert (California).
- I added a section to the documentation to explain usage, so now editors can realize that using
- OK, but again, if the documentation does not say how to use the parameter, how is an editor to know what is Wrong? More fundamentally, it seems strangely non-parallel and a violation of WP:EGG to use
- @Jonesey95:
- hike395 and Dcljr: I don't think this edit makes sense in the context of the other phrasing. Each of the phrases in the sister projects box appears, to me, to omit roughly the same words: a preposition and the article name, like "of XXX" or "about XXX" or "by XXX", where "XXX" is the article name. For example, "Definitions from Wiktionary" really means "Definitions of XXX from Wiktionary". "Travel information from Wikivoyage" means "Travel information about XXX from Wikivoyage". In that grammatical context, "English edition from Wikipedia" was correct, meaning "English edition of 'XXX' from Wikipedia". For example, if I use this template at John Dalton with
Punctuation missing for uses with only Commons link
[edit]Hello! I don't know enough about templates to know how to fix this, but I found that when this template is used, sometimes when selecting the option to fill in defaults from Wikidata it only shows a Wikimedia Commons link - and when this happens, the box format changes to match the format of the Commons category box, except that it's missing the period normally included at the end of the sentence. (See examples at right)
Doomhope (talk) 18:16, 3 March 2024 (UTC)
Fixed here — hike395 (talk) 19:28, 3 March 2024 (UTC)
Inline version
[edit]the automatic linking is very convinient, would it be possible to make an inline version of this template similarly to say {{Commons-inline}} and {{Wiktionary-inline}}? Juwan (talk) 02:28, 25 March 2025 (UTC)
- We have one for every occasion Template:Commons templates see also>>>>not sure how a generic sister link would help considering it links to so many places.Moxy🍁 02:44, 25 March 2025 (UTC)
- @Moxy (sorry for the delay). I prefer to have sister project links to be created automatically whenever possible (same reason why we use Wikidata instead of adding interwiki links to every page), and most pages only have one or two at most. however, WP:MOSSIS suggests using inline templates when it is not aesthetically pleasing, either because there are no external links except sister project ones, or because they result in an odd layout. this then would be a very helpful tool for my work. Juwan (talk) 21:47, 5 April 2025 (UTC)
- Not sure what you mean, JnpoJuwan? Can you give a specific example of what you would like? — hike395 (talk) 02:04, 6 April 2025 (UTC)
- @Hike395 a simple example is if you are on the page for George Washinton and say you decide that you want to insert the project links inline, then you could place the requested {{Sister project auto-inline}} and then it outputs:
Media related to George Washinton at Wikimedia Commons
Quotations related to George Washinton at Wikiquote
Works by or about George Washinton at Wikisource
- Juwan (talk) 02:17, 6 April 2025 (UTC)
- @Hike395 a simple example is if you are on the page for George Washinton and say you decide that you want to insert the project links inline, then you could place the requested {{Sister project auto-inline}} and then it outputs:
- Not sure what you mean, JnpoJuwan? Can you give a specific example of what you would like? — hike395 (talk) 02:04, 6 April 2025 (UTC)
- @Moxy (sorry for the delay). I prefer to have sister project links to be created automatically whenever possible (same reason why we use Wikidata instead of adding interwiki links to every page), and most pages only have one or two at most. however, WP:MOSSIS suggests using inline templates when it is not aesthetically pleasing, either because there are no external links except sister project ones, or because they result in an odd layout. this then would be a very helpful tool for my work. Juwan (talk) 21:47, 5 April 2025 (UTC)
I see. I don't think we need a new template to do that: if you cannot use {{sister project links}} because there is no room in the article, then you can use {{sister bar}} to generate a navbox at the bottom of the article. If you have both sister links and portal links, you can use {{Subject bar}}. — hike395 (talk) 03:30, 6 April 2025 (UTC)