Jump to content

User talk:Krinkle/Tools/Archive 2

From Meta, a Wikimedia project coordination wiki
Latest comment: 2 years ago by Krinkle in topic SpecialAbuseLog_HistLink.js

Improved namespace selection

Tool RTRC
Type FEATURE

A user from Portuguese Wikipedia suggested the addition of a way to select pages not in user/user talk namespaces. Would it be possible to provide some checkboxes in the interface to achieve this? Or maybe a text field accepting a list of namespace numbers, together with a "invert selection" checkbox. Helder 15:14, 30 July 2011 (UTC)

This is nice- how can I use this in the future? Bishopesoteria (talk) 01:11, 1 October 2022 (UTC)

SpecialAbuseLog_HistLink.js

Tool SpecialAbuseLog_HistLink.js
Type Bug
Setup FF12/Win7

It seems that this tool doesn't work. Tested on sr.wp and meta. micki 21:01, 17 May 2012 (UTC)

Actually, it works here, but not here. Can you, please, make some changes? micki 07:47, 19 May 2012 (UTC)
This script is no longer maintained by me. The code is available at User:Krinkle/Scripts/SpecialAbuseLog HistLink.js, but I have moved it to "Former tools" at User:Krinkle/Tools. If something similar is still desired, feel free to create a copy of it for your wiki and yourself or others in your community can maintain it going forward. I wrote it once for the Dutch Wikipedia when I was an active abusefilter-manager there, but I no longer need it myself. --Krinkle (talk) 20:21, 23 November 2022 (UTC)
Tool User:Krinkle/Scripts/AjaxPatrolLinks
Type Suggestion

Just a suggestion. It would be good if the messages "Marking as patrolled..." and "Marked as patrolled" could be translated into some languages so when it's used outside non-English wikis editors do understand what the script is saying. Also, I've installed the tool as a gadget on es.wikibooks :-) Thanks. -- MarcoAurelio (talk) 20:11, 12 October 2012 (UTC)

Request inclusion of filters parameter already in found in WikiEditor extension

Tool User:Krinkle/Scripts/InsertWikiEditorButton
Type Feature

If you examine the WikiEditor module jquery.wikiEditor.toolbar.config.js, specifically the section dealing with the 'reference' button, you'll find the 'filters': parameter & setting...

				'filters': [ 'body.ns-subject' ],

When set, this allows/limits the inclusion/exclusion of the associated button's generation to specific namespaces. In this case, the button inserting REF tags is limited to appearing only in subject-spaces.

				'filters': [ 'body.ns-4, body.ns-talk' ],

In the above case, the associated button is limited to appearing in only the talk-namespaces plus the Project: namespace (the solution to the signature button appearing in the main namespace bug btw).

				'filters': [ 'body:not(.ns-8, .ns-828)' ],

In the above example, the associated button will appear in all namespaces except the MediaWiki: & Module: namespaces.


Could you (@Krinkle:) please port this parameter over to your script somehow so this ability is possible under it too? Thanks in advance (best reply to Wikisource as well).

George Orwell III (talk) 00:07, 23 August 2014 (UTC)

I'd recommend performing the filtering in JavaScript code outside the button insertion code. For example, if ($('body:not(.ns-8, .ns-828)').length) { ..insertButton.. }. Krinkle (talk) 03:24, 16 April 2018 (UTC)

missing contributions?

Tool Global user contributions
Type Bug

https://tools.wmflabs.org/guc/?user=2600%3A1010%3Ab01d&isPrefixPattern=1 shows 0 contribs but https://en.wikipedia.org/wiki/Special:Contributions/2600:1010:b01d:46a9:1d35:cf9e:1113:134b shows 4 recent (this month) contribs. Elvey (talk) 08:11, 18 December 2015 (UTC)

@Elvey: Sorry about the confusion, but the contributions database requires letters in IPV6 to be uppercase. You can see the results at this query instead. Krinkle (talk) 03:26, 16 April 2018 (UTC)
Tool RTRC
Type Suggestion

This gadget instaled as default on kkwiki, (link Жаңартулар) how to remove RTRC link? Жаңартулар and RTRC links are duplicated. Gadget page: kk:МедиаУики:Gadget-RTRC.js. Please, help me. Arystanbek (talk) 16:02, 6 October 2016 (UTC)

Pause

Tool RTRC / Pause
Type Question
Setup Google Chrome, Chrome OS

What is the Pause slider for? And how do you pause, because sliding that slider makes no difference to me. --Mr. Guye (talk) 18:45, 9 April 2017 (UTC) Mention me when you respond.

@Mr. Guye: By default, RTRC automatically checks for newer changes and adds them to the display. Activating "Pause" pauses this functionality so that the list stays the way it is. This can be helpful when you want to take time to analyse the list of changes. Krinkle (talk) 03:33, 16 April 2018 (UTC)

CVNSimpleOverlay

Tool CVNSimpleOverlay
Type Bug
Setup Chrome, Firefox and MS Edge / Windows 10 and Windows 7

The tool seems not to work, we have tested it from Wikipedia in Spanish. There is simply no message on the user pages or their contributions. Sorry for my English, I am a native speaker in the Spanish language. Regards, JOAN ~ (Questions?) 00:36, 16 November 2018 (UTC)

Confirming JOAN's find: I have had the script loaded in my global.js for three years, and it recently stopped working. Sam Sailor 10:12, 25 November 2018 (UTC)
Also Agree, I just come back in french patrol and nothing appears. Tomybrz Bip Bip 17:09, 21 December 2018 (UTC)
I ping Krinkle or Timo to please help us repair this valuable tool. :) --JOAN ~ (Questions?) 17:44, 21 December 2018 (UTC)
@Sam, @Tomybrz, @JOAN: Apologies for the inconvenience. These were intentionally disabled. See T207900 for details. Once the CSP policy is adjusted for *.wmflabs.org (or at least cvn.wmflabs.org and tools.wmflabs.org/intuition/), I can comfortably re-enable these tools. --Krinkle (talk) 19:40, 21 December 2018 (UTC)
Ok! Thanks Krinkle. JOAN ~ (Questions?) 16:12, 3 January 2019 (UTC)
Ping Geom. JOAN ~ (Questions?) 16:12, 3 January 2019 (UTC)

┌─────────────────────────────────┘
@Sam Sailor and JOAN: : since nobody update the task on phabricator, i added &oldid=18174822 in the loader script : mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Krinkle/Scripts/CVNSimpleOverlay_wiki.js&oldid=18174822&action=raw&ctype=text/javascript');. Regards. Tomybrz Bip Bip 20:35, 8 February 2019 (UTC)

MediaWiki:Gadget-massdelete.js working from global.js

Tool s:en:MediaWiki:Gadget-massdelete.js
Type Other

Hi. Previously you have played with enWS's MediaWiki:Gadget-massdelete.js. I was hoping to use this as a xwiki tool from my global.js, however, I cannot get it functioning through expected calling with RL. In fact I was going to do a clean-up at etWS, so I copied the gadget there and set it up, and I couldn't get the Special:MassDelete page to show. Are you able to tell me what I am doing wrong. Thanks if you can.

Tool is working fine at enWS.  — billinghurst sDrewth 11:36, 6 February 2019 (UTC)

Billinghurst: User:Tulsi Bhagat/massdelete.js works for me. —Sgd. Hasley 12:46, 20 April 2020 (UTC)

The blank page... is blank

Tool Global SUL
Type Bug
Setup Google Chrome, Windows

When I open the blank page Special:BlankPage/globalsul, nothing happen. --ValeJappo (talk) 08:54, 28 May 2020 (UTC)

SOLVED: If it is in commons.js works, if in global.js not.--ValeJappo (talk) 09:10, 28 May 2020 (UTC)