Help talk:Namespaces

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
(IMDb linking: reply)
(suggestion)
Line 11: Line 11:
:* create a template that automatically generates the correct URL from the ID <nowiki>{{IMDb|nm|00000000}}</nowiki>
:* create a template that automatically generates the correct URL from the ID <nowiki>{{IMDb|nm|00000000}}</nowiki>
:Even the template might need a new link type for simplicity and notice how the prefix would be manually separated in the example (automatic separation would require string functions and might not even be available on this wiki).  So, having a new link might be the best solution. --[[User:Stux|Stux]] 15:48, 2 October 2021 (UTC)
:Even the template might need a new link type for simplicity and notice how the prefix would be manually separated in the example (automatic separation would require string functions and might not even be available on this wiki).  So, having a new link might be the best solution. --[[User:Stux|Stux]] 15:48, 2 October 2021 (UTC)
 +
::Why don't I take <code>title/</code> out of the interwiki link and then have The Cheatbot add <code>title/</code> or <code>name/</code> to each link as the case may be, thus avoiding the need for a template. I'd be willing to make an additional interwiki link for names only, but that wouldn't be my first choice, as I prefer the cleanness of having just one. &mdash; [[User:It's dot com|It's dot com]] 02:27, 13 March 2022 (UTC)

Revision as of 02:27, 13 March 2022

Linking to Twitter

I thought there was some rule guideline against linking to disambiguations? RickTommy (edits) 06:34, 9 March 2017 (UTC)

In most cases, yes. In cases where it makes sense to do so, no. Also, that page should probably be turned into a real page, and not just a disambig. (I'm pretty sure there was a discussion on this somewhere, but I'm not sure where and I can't seem to find it at the moment.) — Defender1031*Talk 07:16, 9 March 2017 (UTC)

IMDb linking

I just saw that an actor's IMDb link was changed to an external link because the coding wasn't correct. Apparently, using the [[IMDb:]] link sends it directly to "https://www.imdb.com/title/xx0000000" even if the title subcategory is not the desired destination. As such, with the [[IMDb:nm0000000]] link, a person's IMDb page linked to the title subcategory instead of the name subcategory, which broke the link. Given that title pages on IMDb contain "tt0000000" and name pages contain "nm0000000" (along with a couple of other subcategories), I think that "[[IMDb:nm0000000]]" should be enough that the system would understand which subcategory it's supposed to be looking in. Is there something that can be done in the inner workings to fix this? The Knights Who Say Ni 14:26, 2 October 2021 (UTC)

A little bit of background on the issue: IMDB recently changed the way their links worked and unfortunately did away with how all their old links worked. Now you have to specify if you're linking to a title or a name in two different places (the URL and the ID). Fortunately the IDs did not change but the side effect of this is that titles had to be selected over names. I personally think customizing how these links are processed would not be the correct solution. In this case obscuring whether the link goes to "title" or "name" might cause confusion and/or issues in the long run. My view is that we have a few options:
  • leave things as-is (least preferred)
  • Create a new, name-only link such as [[IMDbN:]] (perhaps the simplest)
  • create a template that automatically generates the correct URL from the ID {{IMDb|nm|00000000}}
Even the template might need a new link type for simplicity and notice how the prefix would be manually separated in the example (automatic separation would require string functions and might not even be available on this wiki). So, having a new link might be the best solution. --Stux 15:48, 2 October 2021 (UTC)
Why don't I take title/ out of the interwiki link and then have The Cheatbot add title/ or name/ to each link as the case may be, thus avoiding the need for a template. I'd be willing to make an additional interwiki link for names only, but that wouldn't be my first choice, as I prefer the cleanness of having just one. — It's dot com 02:27, 13 March 2022 (UTC)
Personal tools