FANDOM

9,373 Pages

Line 4: Line 4:
   
 
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)

Revision as of 06:19, June 11, 2013

Forum: The Situation Room > Navigation templates and whatlinkshere


The 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. [[Jack Bauer templatelink]] 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.--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. Blue Rook  talk  contribs 06:19, June 11, 2013 (UTC)
Community content is available under CC-BY-SA unless otherwise noted.