Template talk:Related
See also Project:Related articles. |
A random ponderation
editSwept in from the pub:
Does anyone ever have an urge to somehow link two completely unrelated guides together? An example could be connect Y with Minsk or with Zimbabwe. I think some people do, because I recently came across a guide in which someone linked two guides together for one of the most ridiculous reasons and I had a good laugh. I don't remember which guide that was, but I remember wondering how many people connect random places together for whatever reason, though the reason is incredibly superficial. -- (WT-en) Sapphire • (Talk) • 18:04, 24 January 2008 (EST)
- I do that sometimes. Mostly in trivia infoboxes, though I don't always wikilink the articles. It gives a traveller something to talk about, serves as an icebreaker when approaching a local. See World Cup 2010, Ladysmith, Krugersdorp.
- If you want a real trivial reason for a link, see Nambour to Bathurst (Eastern Cape). Can't let the Australians get away with having a bigger pineapple than my home country, now can I? ;) --(WT-en) Nick 18:30, 24 January 2008 (EST)
- My big accomplishment in this area was to find a -- legitimate -- way to connect Albuquerque and Uzbekistan. A little humor here is not a bad thing, as long as it's good for the traveler... -- (WT-en) Bill-on-the-Hill 18:42, 24 January 2008 (EST)
- Yeah, I agree with both of you about the breaking the ice and humor. Too bad I don't remember what exactly it was, but it really made me laugh and I enjoyed the article a little more. -- 62.121.119.141 19:12, 24 January 2008 (EST)
- A wonderful idea. Perhaps a little "Did you know" box or section. I tried linking St Helens (Tasmania), Mumbai, and Hollywood and will keep the last remaining corner of my brain working on looking for other oddities! --(WT-en) Wandering 13:01, 25 January 2008 (EST)
- Yeah, I agree with both of you about the breaking the ice and humor. Too bad I don't remember what exactly it was, but it really made me laugh and I enjoyed the article a little more. -- 62.121.119.141 19:12, 24 January 2008 (EST)
- My big accomplishment in this area was to find a -- legitimate -- way to connect Albuquerque and Uzbekistan. A little humor here is not a bad thing, as long as it's good for the traveler... -- (WT-en) Bill-on-the-Hill 18:42, 24 January 2008 (EST)
Enhancing this template
editAre there any objections to URL encoding the argument to this template? Basically change <rdf><> dc:relation :{{{1}}} .</rdf> to <rdf><> dc:relation :{{urlencode:{{{1}}}}} .</rdf>? Currently {{related|Name of article}} won't work and you have to enter {{related|Name_of_article}}. The only downside to automatically URL encoding would be that any existing implementation of this template that escaped parentheses to %28 (or any other URL encoded escapes) would need to be updated, but I don't think there are many such implementations. -- (WT-en) Ryan • (talk) • 14:43, 22 February 2009 (EST)
- I'd be happy to see it changed, although I wouldn't want to hunt through the 600+ inclusions to see which ones break ;) --(WT-en) Peter Talk 15:25, 22 February 2009 (EST)
- Agreed, trying to audit all uses would be distinctly un-fun and isn't something that I would recommend we try to do - I think just as changing region names can break "isIn" usage that there would probably be some fallout with a small percentage of "related" tags being broken, but it would be trivial to fix those as they are found, and the benefit of simplifying the usage of this template would seem to outweigh any disadvantages IMHO. -- (WT-en) Ryan • (talk) • 16:04, 22 February 2009 (EST)
- I'll volunteer to change all 600+ articles, if you make the change. -- (WT-en) Sapphire • (Talk) • 16:09, 22 February 2009 (EST)
- Let's let this sit for 24 hours to see if anyone has any objections before making a change. The vast majority of uses of this template wouldn't require any change since Mediawiki automatically converts undescores to spaces, but anything that escaped characters other than underscores - such as "(" to "%28" - would need to be fixed. -- (WT-en) Ryan • (talk) • 16:28, 22 February 2009 (EST)
- Given the lack of objections I've made this change and verified that a few pages with related: tags are still working as expected. -- (WT-en) Ryan • (talk) • 22:04, 23 February 2009 (EST)
Bug
editIf there is a period in the article name (e.g., {{related|Washington D.C.}}), the inclusion of this template will cause all RDF on the page to break. --(WT-en) Peter Talk 05:02, 19 September 2009 (EDT)
Localization
editWe tried to import this template to the Russian version, via copy-paste, but it does not work. Any suggestions? --(WT-en) Peter Talk 19:03, 15 June 2012 (EDT)
How does this work?
editWhere is the code for #related ? And would it be possible to extend to work with interproject links? --Traveler100 (talk) 11:40, 17 February 2018 (UTC)
Related topics & empty space in articles bottom
edit- Swept in from the pub
As per ticket T297054, every article has an empty space at the bottom that disappear "going up & down" along the page (please read there the discussion).
One suggested solution to avoid this behaviour would be to automatically add the related articles according to content similarities, although those articles could be overridden using Template:related.
This discussion is essential to understand if there is a consensus or not to apply the configuration change server side in order to activate the above described behaviour. --Andyrom75 (talk) 20:54, 22 December 2021 (UTC)
- @Andyrom75: Is this the right ticket? The ticket you linked seems to be about the Page Previews issue discussed above. —Granger (talk · contribs) 21:05, 22 December 2021 (UTC)
- Granger sorry my fault! Now it's fine :-) --Andyrom75 (talk) 21:14, 22 December 2021 (UTC)
- Thanks. I support the suggested change (using the related articles API), though I don't feel strongly about it. —Granger (talk · contribs) 21:21, 22 December 2021 (UTC)
- Ditto. SHB2000 (talk | contribs | meta.wikimedia) 21:23, 22 December 2021 (UTC)
- From now on, below each article are automatically shown the related articles. --Andyrom75 (talk) 20:49, 13 January 2022 (UTC)
- Ditto. SHB2000 (talk | contribs | meta.wikimedia) 21:23, 22 December 2021 (UTC)
- Thanks. I support the suggested change (using the related articles API), though I don't feel strongly about it. —Granger (talk · contribs) 21:21, 22 December 2021 (UTC)
- Granger sorry my fault! Now it's fine :-) --Andyrom75 (talk) 21:14, 22 December 2021 (UTC)