Changes

Jump to navigation Jump to search

Template talk:IsIn

2,525 bytes added, 09:38, 2 September 2017
m
no edit summary
:You could call this a bug, but actualy, it is a logical dilema. Either use the isin in the redirecting page and ignore a potential isin in the page where the redirects points to, or doing it the other way round. It's not possible to do both.
:-- hansm
 
:No, sorry, I have been wrong. After having looked through the code, I know it better, now. It's right the opposit way as I have told: ''First'', it looks for an isin. If no isin is found, it checks whether the page is a redirect. If so, it follows the redirect, displays the level in italics and looks for an isin in the page the redirect points to. -- [[User:Hansm|Hansm]] 19:54, 14 June 2008 (CEST)
 
:There seems to be a little caching problem with redirect pages. On Wikivoyage, we don't use isins on redirect pages, so this problem did never occure. However, this will probably only affect new created isins on redirect pages, not those that already exist for more than a day. The MediaWiki caching system is kind of mysterious. It depends on user language settings, permissions and others. After I had clicked on all redirect pages with a new isin, the caches seem to have become updated. Now, all bread crumbs trails look good. Let's see what will be tomorrow :-) -- [[User:Hansm|Hansm]] 20:31, 14 June 2008 (CEST)
 
::Yep, seems that it needs some time to update the cache. Here everything works now :) We'll see, thanks for you help anyway! Nice plugin! [[User:platschi|platschi]]<small><sup>[http://blogs.hitchwiki.org/platschi site], [[user talk:platschi|wikitalk]]</sup></small> 21:14, 14 June 2008 (CEST)
What about countries that are on two different continents (Russia, Turkey etc.) -- [[User:TruckThor|TruckThor]] 16:36, 12 July 2008 (CEST)
: I would suggest adding Turkey to Asia and Russia to Europe. I guess that's the usual way to handle it, and so every country is in the continent, where it's capital is. Or maybe Turkey to Europe as well? --[[User:MrTweek|MrTweek]] 10:03, 14 July 2008 (CEST)
 
==Automatically adding category?==
It could be nice to add <nowiki>[[Category:{{{1}}}]]</nowiki>, but this could also lead to unforeseen side effects. What do you think? [[User:Guaka|guaka]] 18:21, 4 April 2009 (UTC)
:Makes sense to me, will try it out. --[[User:Traumschule|Traumschule]] ([[User talk:Traumschule|talk]]) 07:38, 2 September 2017 (UTC)
 
== IsIn from a Category page to an article page ==
 
I tried to make the IsIn in [[:Category:E6]] point to the article [[Scandinavia]], but it automatically points to [[:Category:Scandinavia]] which is empty and thus can't continue the chain. Is there a workaround for that?
 
(I could of course create the Category Scandinavia with an appropriate IsIn, but I think that's not necessary.)
 
--[[User:Scandinaïve|Scandinaïve]] 17:32, 13 October 2009 (UTC)

Navigation menu