User talk:Bradv/Scripts/Superlinks

Patrol Log
As requested here's my request to see about incorporating the patrol log into the script. Thanks for your consideration of this. Best, Barkeep49 (talk) 01:04, 1 November 2018 (UTC)
 * , to clarify, are you looking for patrol logs for articles or for users? Brad  v  00:23, 3 November 2018 (UTC)
 * Articles. I'm just trying to have a history of who has done what especially when it comes to reviewing articles. Best, Barkeep49 (talk) 01:10, 3 November 2018 (UTC)
 * , I could just show the results of the page log when "patrol" is checked in the current "log" tab. Would that work? Brad  v  01:20, 3 November 2018 (UTC)
 * What I would be hoping for is that the results you get when going to Special:Log and checking "Patrol log"for a given article could be incorporated into the Logs Superlinks button.Best, Barkeep49 (talk) 20:43, 3 November 2018 (UTC)
 * ✅ Brad  v  02:17, 10 November 2018 (UTC)

Feb 2019
The new version of Superlinks includes the following changes: Feedback, ideas, and bug reports are welcome here. Bradv 🍁  02:25, 4 February 2019 (UTC)
 * 1) added filter log tab for both articles and users
 * 2) added popout button to open results in new tab
 * 3) limit results to 100 for improved response time
 * 4) rearranged tab order with better grouping
 * 5) fixed block log tab for admins
 * 6) fixed history to account for Mediawiki changes
 * 7) improved error handling
 * For some reason I can't see the NPP flow. I'm using vector on chrome, and as far as I can tell there aren't any errors in the console associated with this script. --DannyS712 (talk) 02:37, 4 February 2019 (UTC)
 * , it only displays if you're in mainspace and the page curation toolbar is also visible. Does the curation toolbar work properly on your setup? Bradv 🍁  02:38, 4 February 2019 (UTC)
 * Yeah, its working fine. Also, I looked through the script, and I can confirm that the curation toolbar is still

--DannyS712 (talk) 02:41, 4 February 2019 (UTC)
 * , I believe the superlinks script was loading before the page curation script, so it wasn't showing up. I've changed it to use a different method - please let me know if it works as expected now. Bradv 🍁  02:56, 4 February 2019 (UTC)
 * Yep! Thank you so much. --DannyS712 (talk) 02:57, 4 February 2019 (UTC)

March 2019
The NPP flowchart is updated to include clickable links, per this request from. Bradv 🍁  05:20, 15 March 2019 (UTC)
 * , Awesome work mate! —  Insertcleverphrasehere (or here) (click me!)    13:42, 15 March 2019 (UTC)

Data volume?
Could I have some indication of what this script adds to the data volume loaded for a given page? I.e., does it poll all linked pages even prior to actively clicking on the link? I'm asking because I'm doing much editing over a very slow connection, and that kind of thing might well add 5-10 s to my loading time (which, living in an Instant Gratification society, I strongly resent :p ) -- Elmidae (talk · contribs) 00:11, 16 March 2019 (UTC)
 * , the script doesn't load anything until you click on the links, and even then it loads less data than if you were to open that link in a new tab. My main reason for writing this script in the first place was to decrease the time I spend waiting for things to load, so I feel your pain. ;) Bradv 🍁  00:34, 16 March 2019 (UTC)
 * Excellent, thanks! -- Elmidae (talk · contribs) 01:28, 16 March 2019 (UTC)

Screenshots
Have any screenshots? Hard to picture from text alone czar  22:58, 16 March 2019 (UTC)

Doesn't work on Microsoft Edge
Hey Bradv! Since you have implemented this change, the superlinks no longer show up for me. I use the vector skin and my browser is Microsoft Edge. Thanks, MrClog (talk) 11:42, 9 July 2019 (UTC)
 * , I had only ever tested this script on Chrome, and am quite surprised it worked on Edge in the first place. The latest version uses a new regex feature that hasn't been implemented in other browsers yet, which is probably why this is crashing for you. Let me see if I can find a workaround. – bradv  🍁  12:00, 9 July 2019 (UTC)
 * , turns out it didn't work on Firefox either. I've replaced the Chrome-only regex feature with a jQuery function, and it appears to now work in Edge and Firefox too. Let me know if you see any other problems. – bradv  🍁  13:30, 9 July 2019 (UTC)
 * , everything works now, except for the NPP flowchart, which doesn't show up when I open it. --MrClog (talk) 14:41, 10 July 2019 (UTC)
 * , this should be fixed now. – bradv  🍁  14:36, 16 July 2019 (UTC)
 * , it is, thanks! --MrClog (talk) 18:09, 16 July 2019 (UTC)

Recent changes
Hi. Your recent changes have had a few side effects - an extra  before the help icon when looking at a page's history, and highlighting some revisions oddly. Thanks, --DannyS712 (talk) 21:24, 9 July 2019 (UTC)
 * , can you give me a step-by-step? I'm not entirely sure where you're seeing this issue. – bradv  🍁  22:22, 9 July 2019 (UTC)

Missing link
Hey! I am only seeing the history, log and filter links now when I'm at an article (not the flowchart). I use Firefox now. --MrClog (talk) 22:51, 26 July 2019 (UTC)
 * , the NPP flowchart only shows up on new pages, when the page curation toolbar is also shown. Are you on a new page? – bradv  🍁  22:57, 26 July 2019 (UTC)
 * , yes, two pages I reviewed as part of NPP, both did show up the toolbar but not the link. --MrClog (talk) 23:04, 26 July 2019 (UTC)
 * , it looks like the WMF changed the page curation toolbar. I've made a change - please test it for me and let me know if it works. – bradv  🍁  23:12, 26 July 2019 (UTC)
 * , doesn't work :( --MrClog (talk) 23:16, 26 July 2019 (UTC)
 * , ok this might be more involved than I thought. Leave it with me. – bradv  🍁  23:20, 26 July 2019 (UTC)
 * , this should be fixed now. – bradv  🍁  02:34, 27 July 2019 (UTC)
 * , yep, thanks! --MrClog (talk) 10:11, 27 July 2019 (UTC)

Please see help desk query
Please see here and ping me when you respond there. Interstellarity (talk) 15:18, 8 September 2019 (UTC)
 * Fixed. – bradv  🍁  17:06, 8 September 2019 (UTC)

CSS classes
Can you add some CSS classes to each link, so that users can hide select tabs by putting a "display: none" for them in their common.css? I, for instance, am not interested in seeing filter logs and ds alerts and restrictions. SD0001 (talk) 18:21, 16 September 2019 (UTC)
 * , this is a good idea. I'll include this in the next update. Thanks. – bradv  🍁  18:31, 16 September 2019 (UTC)

Script causes other title based links to weirdly wrap
Eg., the script installer script stays on the current line, but forces the main title to go to a new line see. The script is great by the way! — Yours, Berrely  • Talk∕Contribs 20:02, 20 November 2020 (UTC)

Relative paths issue
Hey. Thanks for making this script. I'm trying to use it on my localhost wiki and the script loads, but when I click on something such as "rights", the content doesn't load and throws an error. I believe this is due to URL relative vs absolute path issues. My console is saying. This path should actually be. If you have time, maybe you could look into patching this? I think perhaps a search and replace of  to   (no slash in front) or similar might do the trick. Thank you. – Novem Linguae (talk) 00:25, 1 December 2021 (UTC)


 * . Fix ping. – Novem Linguae (talk) 00:26, 1 December 2021 (UTC)

Vector 2022 skin
Hello friend. Any plans for Vector2022 skin support? Looks like the movement is moving towards making this the default skin. Thanks. – Novem Linguae (talk) 23:01, 21 July 2022 (UTC)

Feature request: display on non-existent pages
Currently if one clicks on a redlink signature, superlinks does not display on that page, rather the visual editor loads and lets you create the page. Would be great if we could get superlinks to display in this case too. Thanks. – Novem Linguae (talk) 08:45, 16 August 2022 (UTC)

Other skins
You said ask, so I use MonoBook.... MB 23:30, 8 September 2022 (UTC)

not functional on vector 2022
the "superlinks" do not appear in the skin vector 2022. pinging @Bradv. lettherebedarklight, 晚安, おやすみ, ping me when replying 13:46, 18 September 2022 (UTC)


 * Same -- any chance this will start working on 2022? It's the one thing I really miss. Valereee (talk) 16:17, 19 February 2023 (UTC)
 * Hi Bradv, thank you for your work. Please visit this section of our FAQ for more information.--Patafisik (WMF) (talk) 08:37, 20 February 2023 (UTC)
 * bradv hasn't edited since last July so I guess not, unfortunately, unless somebody else figures things out Aaron Liu (talk) 20:06, 15 April 2023 (UTC)

Feature request: display range blocks in the block window for individual IPs
Maybe just query all the potential range blocks, then append the log results to the bottom. If you get adventurous, you can try to sort them chronologically. – Novem Linguae (talk) 10:21, 23 June 2023 (UTC)

Bug report: DS alerts for certain users not loading
Steps to reproduce: 1) Install superlinks. 2) Visit User talk:Hyperbolick. 3) Click "ds alerts". 4) Open DevTools Console. 5) Note the 6 "Failed to load resource: net::ERR_HTTP2_PROTOCOL_ERROR" errors. 6) Click on "/w/api.php?action=..." next to one of the errors. – Novem Linguae (talk) 04:31, 9 August 2023 (UTC)