Template talk:YouTube
Template:YouTube 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 YouTube template. |
|
Archives: 1, 2Auto-archiving period: 300 days |
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||||
|
This template was considered for deletion on 2006 June 16. The result of the discussion was "withdrawn by nominator (Keep)". |
This template was considered for deletion on 2009 March 30. The result of the discussion was "Keep". |
Handle Support[edit]
Can I use Youtube Handle? Bcxfu75k (talk) 20:37, 30 December 2022 (UTC)
- You mean as a source for WP articles? Or the feature? If it's the former, yes, though a third-party source is preferable. If the latter, WP:NOTFORUM. InfiniteNexus (talk) 21:29, 30 December 2022 (UTC)
- The template currently does not support linking to YouTube channels via their handles though it could be modified to support such via something like
|handle=
(much as it currently supports|user=
and|custom=
). —Uzume (talk) 21:38, 19 January 2023 (UTC)- @Bcxfu75k: I added handle support with 1136063242. —Uzume (talk) 16:06, 28 January 2023 (UTC)
- The template currently does not support linking to YouTube channels via their handles though it could be modified to support such via something like
"link=no" by default[edit]
Doesn't the dumb link to [[YouTube]]
constitute MOS:OVERLINKING for many years already? Just imagine a sane human who doesn't know what YouTube is. — Mike Novikoff 04:15, 1 January 2023 (UTC)
- Please link to an article where this is a problem. There are new people coming on to the internet every day, and some of them have not heard of YouTube. – Jonesey95 (talk) 18:03, 1 January 2023 (UTC)
- The article that I was editing by the time I thought of it was this. Wouldn't these same newbies be confused when they don't know on what link to click? (Even worse: to tap. And even if they click with a mouse, they haven't learned a middle button yet).Not to mention how this irritates the experienced users. — Mike Novikoff 21:13, 5 January 2023 (UTC)
- @Jonesey95: The overlinking issue can be easily seen with things like Special:WhatLinksHere/YouTube. The solution is not to default to not linking but rather to link to the article via redirects as Module:Citation/CS1 (it was heavily discussed on its talk page; check its archives) and many other linking templates that have followed suite have done. It would also be handy as an alternative (instead of attempting to use tracking categories) to determine which way the template was used by using different redirects for different parameters/YouTube identifiers used by the template. For example, we could make these all into redirects to YouTube and then link to them instead: YouTube channel (identifier), YouTube handle (identifier), YouTube user (identifier), YouTube custom (identifier), YouTube show (identifier), YouTube playlist (identifier), YouTube video (identifier). —Uzume (talk) 22:04, 19 January 2023 (UTC)
Broken links being generated?[edit]
YouTube appears to be now 404ing /user/CHANNEL_NAME links, which should now just be /CHANNEL_NAME on the YouTube domain. See for example these template invocations that are broken but bare links work fine:
lizthegrey (talk) 17:33, 30 September 2023 (UTC)
- Those links will work via the template's custom URL feature:
{{YouTube|custom=AmiYamato|AmiYamato}} and {{YouTube|custom=@AmiYamato|@AmiYamato}}
:- AmiYamato's channel on YouTube and @AmiYamato's channel on YouTube -- Michael Bednarek (talk) 02:59, 1 October 2023 (UTC)
Archive link[edit]
It may be beneficial to allow the use of archived links for videos that have been deleted. InfiniteNexus (talk) 06:52, 15 January 2024 (UTC)
How to use url[edit]
i want to put url for a music video but that url start with https://youtu.be/
, and this template also not supporting that url.is there any alternatives.
--KEmel49 (talk) 19:08, 12 May 2024 (UTC)
- youtu.be links are blacklisted on Wikipedia due to spam. You'll need to convert them to youtube.com links. (If you don't know how to do that, just replace
https://youtu.be/
withhttps://youtube.com/watch?v=
.) InfiniteNexus (talk) 19:08, 13 May 2024 (UTC)- @InfiniteNexus,
- still not working.By the way can you do ii.Here is the link=
https://youtu.be/yXY-NxGYxlg?si=jfO6GSW3aK_HZVLx
. - Here is the article-Achen Amar Muktar.
--KEmel49 (talk) 04:55, 14 May 2024 (UTC)- Sorry, I overlooked what talk page I was on. If you're using this template, you just need the video ID, i.e. the part after the URL (
yXY-NxGYxlg
). But Done. InfiniteNexus (talk) 23:52, 14 May 2024 (UTC)
- Sorry, I overlooked what talk page I was on. If you're using this template, you just need the video ID, i.e. the part after the URL (