ㅤ

Editing

Forum:Navigation templates and whatlinkshere

1
  • The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit. If you are undoing an edit that is …
Latest revision Your text
Line 5: Line 5:
 
The [[:Category:Navigation templates|navigation templates]] look cool, but as has been said elsewhere completely ruin the whatlinkshere tool on any page they're employed on, just listing every other page in the same category. After enquiring on community central, it seems that mediawiki can't distinguish at all between links that are contained within transcluded templates and normal ones on the page. So, I'm proposing the only solution I can see - set up redirects on all pages that are linked in the templates, eg. <nowiki>[[Jack Bauer templatelink]]</nowiki> and, within the templates only, use these redirects. This would separate out the non-links in the template from actual links. I am prepared to do this work if no-one has objections, and as it would only be used on those templates wouldn't affect general editing practices to maintain it.--[[user:Acer4666|Acer4666]] ([[User talk:Acer4666|talk]]) 22:23, June 10, 2013 (UTC)
 
The [[:Category:Navigation templates|navigation templates]] look cool, but as has been said elsewhere completely ruin the whatlinkshere tool on any page they're employed on, just listing every other page in the same category. After enquiring on community central, it seems that mediawiki can't distinguish at all between links that are contained within transcluded templates and normal ones on the page. So, I'm proposing the only solution I can see - set up redirects on all pages that are linked in the templates, eg. <nowiki>[[Jack Bauer templatelink]]</nowiki> and, within the templates only, use these redirects. This would separate out the non-links in the template from actual links. I am prepared to do this work if no-one has objections, and as it would only be used on those templates wouldn't affect general editing practices to maintain it.--[[user:Acer4666|Acer4666]] ([[User talk:Acer4666|talk]]) 22:23, June 10, 2013 (UTC)
 
: That is perfect, you are a genius. That problem has always bugged me, and I know I complained about it before, but was never clever enough to imagine a solution like that. I wish I could have thought of it! If you need help or want to divide up the labor just let me know how I can help. {{User:Blue Rook/Sig}} 06:19, June 11, 2013 (UTC)
 
: That is perfect, you are a genius. That problem has always bugged me, and I know I complained about it before, but was never clever enough to imagine a solution like that. I wish I could have thought of it! If you need help or want to divide up the labor just let me know how I can help. {{User:Blue Rook/Sig}} 06:19, June 11, 2013 (UTC)
: Well, using redirects would partly defeat the purpose, because the current page is '''bolded''' within the template when you're viewing it on that page. I.e., on the page for [[David Palmer]] you would scroll down to the template and see his name bolded on the template, showing where he fit in the chronology. It's annoying, but there doesn't seem to be an official workaround yet (from [http://en.wikipedia.org/wiki/Help_talk:What_links_here#Question._How_do_we_hide_excessive_linkage.3F]). There is the "Hide transclusions" filter on What Links Here, but it appears to do absolutely nothing. I feel like it's not enough of a problem to be worth the effort your solution would involve, and in any case it's possible MediaWiki might end up fixing it. --[[User:Pyramidhead|Pyramidhead]] ([[User talk:Pyramidhead|talk]]) 05:00, June 12, 2013 (UTC)
+
: Well, using redirects would partly defeat the purpose, because the current page is '''bolded''' within the template when you're viewing it on that page. I.e., on the page for [[David Palmer]] you would scroll down to the template and see his name bolded on the template, showing where he fit in the chronology. It's annoying, but there doesn't seem to be an official workaround yet (from [http://en.wikipedia.org/wiki/Help_talk:What_links_here#Question._How_do_we_hide_excessive_linkage.3F]). There is the "Hide transclusions" filter on What Links Here, but it appears to do absolutely nothing. --[[User:Pyramidhead|Pyramidhead]] ([[User talk:Pyramidhead|talk]]) 05:00, June 12, 2013 (UTC)
::I wouldn't say that the purpose of navigation templates is to show the current page as bolded, it's just to stop pages linking to themselves which could be slightly confusing, but I think that is a small compromise to give in to as, currently, these templates defeat the ''entire'' purpose of whatlinkshere--[[user:Acer4666|Acer4666]] ([[User talk:Acer4666|talk]]) 14:37, June 12, 2013 (UTC)
 
  Loading editor
Below are some commonly used wiki markup codes. Simply click on what you want to use and it will appear in the edit box above.

View this template