Template talk:Sister project links: Difference between revisions

Content deleted Content added
tweak archiving
Line 62: Line 62:


== Edit Request: Display order of wikivoyage and wikiversity ==
== Edit Request: Display order of wikivoyage and wikiversity ==
{{edit template-protected}}
{{edit template-protected|Module:Sister project links}}
Hello and hello {{ping|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:
Hello and hello {{ping|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:



Revision as of 13:40, 11 February 2023

Wikibooks Cookbook?

  • Could someone with permission to edit the module and its associated templates, specifically {{Sister project links}} and {{Sister bar}}, please create a variant of |b= (used for Wikibooks) particularly for {{Cookbook}} so templates like {{Sister project links}} can link to Recipes from Wikibooks Cookbook on relevant articles? It could use |cb= or |cook=. The default text for the usual Wikibooks parameter is not suitable, and it's a bit odd/messy linking the Cookbook separately from the rest of the sister links. – Scyrme (talk) 14:17, 22 March 2022 (UTC)[reply]
 Not done the edit request template is for when the edit has been tested and is ready to go live, which you may do in the sandbox at anytime. For a general discussion of asking someone else to make this template better - you will need to wait for someone that is interested in it to do so. — xaosflux Talk 18:52, 10 June 2022 (UTC)[reply]
@Scyrme: Could you give me an example or 2 of an article where this feature could be used? That would help. — hike395 (talk) 00:30, 11 June 2022 (UTC)[reply]
@Hike395: Sure. These three articles currently use {{Cookbook}} alongside other sister project linking templates: Dessert, French cuisine, Vanilla.
Dessert uses {{Sister bar}} including a link to the Cookbook but that link reads "Textbooks" ignoring the context; this is probably why {{Cookbook}} is also used in the same article, despite this being technically redundant.
French cuisine and Vanilla link multiple sister projects, and either could benefit from simplifying them to one of the tidier combined sister project templates, but they would not be able to substitute {{Cookbook}} without reproducing the problem seen on Dessert, namely that the link would read "Textbooks" which is misleading and unhelpful; while the Cookbook is hosted by the same project, the context is relevant to these articles (for the same reason that it helps to use {{Cookbook}} instead of {{Wikibooks}}). – Scyrme (talk) 12:30, 11 June 2022 (UTC)[reply]
 Done --- I added |cookbook=. I also added code to detect "Cookbook:" in either wikidata or in the supplied wikibooks argument. If either of those is detected, the template will use "Recipes" instead of "Textbooks". — hike395 (talk) 01:10, 12 June 2022 (UTC)[reply]
Excellent, thank-you! – Scyrme (talk) 19:05, 12 June 2022 (UTC)[reply]

Template-protected edit request on 8 June 2022 - Null edit

Odd request, but I need a null edit to be submitted for the module page. Same issue with the fact that, for some reason, despite what the categories say here, this page gets chucked into Category:Wikipedia pages with incorrect protection templates and wont leave it, even after a purge. For some reason, this only updates after a null edit. Considering filing a phabricator task for it, but then again I'm pretty sure I've seen similar tasks before about this exact issue before. Thanks. Aidan9382 (talk) 04:41, 8 June 2022 (UTC)[reply]

 Done. P.I. Ellsworth , ed. put'r there 06:08, 8 June 2022 (UTC)[reply]

Discussion of where to place Template:Sister bar

A discussion of where to place {{Sister bar}} on articles is now open at WT:MOSLAYOUT. Please feel free to join the discussion! — hike395 (talk) 19:40, 18 September 2022 (UTC)[reply]

Template-protected edit request on 10 January 2023

Please can line 418 of Module:Sister project links be edited from:

  • "'''%s''' at Wikipedia's [[Wikipedia:Wikimedia sister projects|<span id=\"sister-projects\">sister projects</span>]]"

to:

  • "<b>%s</b> at Wikipedia's [[Wikipedia:Wikimedia sister projects|<span id=\"sister-projects\">sister projects</span>]]"

At the moment, articles that start with an apostrophe (such as 'Oh, Whistle, and I'll Come to You, My Lad', which has this template) break the formatting, as the renderer puts the first ' of ''' on its own line above the rest of the title, outside the bold formatting.

I've tested the above fix at Module:Module sandbox, and it's working as expected. ‑‑YodinT 15:03, 10 January 2023 (UTC)[reply]

 Done Nice catch. – Jonesey95 (talk) 18:05, 10 January 2023 (UTC)[reply]

Cleanup: Parameter "qid"

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)[reply]

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)[reply]
|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)[reply]
@Hike395: Oh yes, that was my mistake, sure, I meant |d=. So  Done. Thx! --W like wiki good to know 17:08, 9 February 2023 (UTC)[reply]

Cleanup: Parameter "iw" (Wikipedia link)

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)[reply]

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)[reply]

Edit Request: Display order of wikivoyage and wikiversity

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
  • Wiktionary
  • Commons
  • Wikinews
  • Wikiquote
  • Wikisource
  • Wikibooks
  • Wikivoyage
  • Wikiversity
  • Wikispecies
  • Wikipedia
  • Wikidata
  • Meta-Wiki
  • MediaWiki
  • Wiktionary
  • Commons
  • Wikinews
  • Wikiquote
  • Wikisource
  • Wikibooks
  • Wikiversity
  • Wikivoyage
  • Wikispecies
  • Wikipedia
  • Wikidata
  • Meta-Wiki
  • MediaWiki

Regards --W like wiki good to know 17:37, 9 February 2023 (UTC)[reply]

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)[reply]
Too trivial to oppose :) — Martin (MSGJ · talk) 09:54, 10 February 2023 (UTC)[reply]