Jump to content

User talk:Anomie/talklink

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

redirect=no

[edit]

I'd like to have an optional (configurable) feature that adds ?redirect=no to the talk link if it is found to be a redirect. Does this sound reasonable? --SoledadKabocha (talk) 03:53, 10 November 2013 (UTC)[reply]

Seems orthogonal to the purpose of this script. You could as easily create a quick script that adds ?redirect=no to the talk link all the time. Anomie 13:13, 10 November 2013 (UTC)[reply]
Well, adding it all the time would pollute the browser history with extra entries in cases where the talk page is not a redirect, so you can probably see how I don't agree entirely with "orthogonal." I could add this feature to my common.js, but it would be a bit tricky making sure that code only runs after your script is done.
It would probably be easier for me, with my limited JS experience, to fork this script (like I already did w/ linkclassifier). I hope you don't mind. --SoledadKabocha (talk) 18:20, 10 November 2013 (UTC)[reply]
I'm curious what your use-case is? Are you doing a lot of redirect tagging or something? (examples almost always help! :) –Quiddity (talk) 20:58, 10 November 2013 (UTC)[reply]
Yes, I'm doing a lot of redirect tagging, but the issue here is not specifically about that. I don't really have a well-defined use case (in other words: "because I can" and "it doesn't hurt to ask"). --SoledadKabocha (talk) 22:14, 10 November 2013 (UTC)[reply]

Nested templates are handled badly

[edit]

If a talk page contains {{some template|{{some other template}}}}, it isn't being detected as containing only templates. Jackmcbarn (talk) 15:51, 18 July 2014 (UTC)[reply]

Thanks for your remark, I noticed also some pages where the talk link is blue where it should be orange (for example National Central Library (Florence)), this will be the explanation. I hope the maker can find a solution for this. Bever (talk) 20:53, 13 September 2014 (UTC)[reply]
Let's try that. Anomie 23:22, 13 September 2014 (UTC)[reply]
[edit]

Hi Anomie, I hope you're doing well. A while back we implemented your talklink color script as an official gadget on the Danish Wikipedia to solve a dispute about WikiProject tracking banners on talk pages (basically some people found it frustrating to click on a blue link thinking there had been discussions about the article, only to find a banner). However, since your original code just checks if the page has templates, all templates trigger the colour change and some templates do indicate discussion about the article (such as {{To do}}). Is it possible to alter the code to either whitelist certain templates so they don't trigger the color change or to only trigger the color change if a specific group of templates are present? Sincerely, InsaneHacker (💬) 13:28, 2 March 2018 (UTC)[reply]

It's possible, sure. Someone would have to do the work. Anomie 00:43, 3 March 2018 (UTC)[reply]