User talk:Krinkle/Tools: Difference between revisions

Add topic
From Meta, a Wikimedia project coordination wiki
Content deleted Content added
mNo edit summary
RTRC also on Phab now
 
(25 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<div class="usermessage" style="text-align: center;"><big>[//meta.wikimedia.org/w/index.php?title=User_talk:Krinkle/Tools&action=edit&section=new&preload=User_talk:Krinkle/Tools/Preload Create a new subject]</big><br/><br/><span class="plainlinks" style="font-weight: normal;">&rarr; Please file issues for RTRC at [https://github.com/Krinkle/mw-gadget-rtrc/issues github.com/Krinkle/mw-gadget-rtrc] instead.</span></div><div class=toccolours style="float: right;">'''Archive:'''
<div class="usermessage" style="text-align: center; font-weight: normal;"><big>[https://meta.wikimedia.org/w/index.php?title=User_talk:Krinkle/Tools&action=edit&section=new&preload=User_talk:Krinkle/Tools/Preload '''Create a new subject''']</big><br/><br/>For '''RTRC''', please report to [https://phabricator.wikimedia.org/tag/gadget-rtrc/ Phabricator] instead.<br/>For '''Global user contributions''', please report to [https://phabricator.wikimedia.org/tag/tool-global-user-contributions/ Phabricator] instead.</div><div class=toccolours style="float: right;">'''Archive:'''
* [[User talk:Krinkle/Tools/Archive|Archive 1]]</div>
* [[User talk:Krinkle/Tools/Archive|Archive 1]] (2010-2016)
* [[User talk:Krinkle/Tools/Archive 2|Archive 2]] (2011-2020)
</div>
__TOC__
__TOC__
{{clear}}
{{clear}}


== Configuration options ==
== Improved namespace selection ==
{| class="wikitable"
{| class="wikitable"
! Type
| FEATURE
|-
! Setup
| ''unknown''
|-
! Tool
! Tool
| WhatLeavesHere
| RTRC
|-
|-
! &nbsp;
| A user from Portuguese Wikipedia [https://secure.wikimedia.org/wikipedia/pt/w/index.php?title=Wikip%C3%A9dia%3AEsplanada%2Fgeral%2FVandalismo_em_massa_%28ataque%29_ocorrido_em_24%2F7_%28domingo%29_%2825jul2011%29&action=historysubmit&diff=26298154&oldid=26282150 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.
[[b:pt:User:Helder.wiki|Helder]] 15:14, 30 July 2011 (UTC)
|-
|}

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

== Configuration options ==
{| class="wikitable"
! Type
! Type
| Feature
| Feature
|-
|}

! Setup
Gday Krinkle. Been using WhatLeavesHere at enWP, after using it in other places, and it is useful for spam fighting. I would like to see the ability to have some configuration for its use at enWP to hide some of the templates. Looking at [[w:en:Special:WhatLeavesHere?target=List_of_As_Told_by_Ginger_episodes]] it picks up Templates and I think that for the general user this will be confusing. So a tweak so that by user you can set it up in a configuration file as per the popups, or whether there is a click twist that turns on configs and remembers one's settings, with certain things being default off. Anyway, just thoughts, thanks for listening and especially thanks for your tools and your assistance.
| N/A
|-
! Tool
| WhatLeavesHere
|-
! &nbsp;
| Gday Krinkle. Been using WhatLeavesHere at enWP, after using it in other places, and it is useful for spam fighting. I would like to see the ability to have some configuration for its use at enWP to hide some of the templates. Looking at [[w:en:Special:WhatLeavesHere?target=List_of_As_Told_by_Ginger_episodes]] it picks up Templates and I think that for the general user this will be confusing. So a tweak so that by user you can set it up in a configuration file as per the popups, or whether there is a click twist that turns on configs and remembers one's settings, with certain things being default off. Anyway, just thoughts, thanks for listening and especially thanks for your tools and your assistance.
[[user:billinghurst|billinghurst]] ''<span style="font-size:90%;">[[user talk:billinghurst|sDrewth]]</span>'' 02:28, 24 January 2012 (UTC)
[[user:billinghurst|billinghurst]] ''<span style="font-size:90%;">[[user talk:billinghurst|sDrewth]]</span>'' 02:28, 24 January 2012 (UTC)

|-
:@[[User:Billinghurst|Billinghurst]] If I understand correctly, your intention is to easily find outgoing page/article links and hide e.g. file/template links. There is a namespace menu for reducing the result to only the Main namespace. I would be open to a JavaScript code change (via pull request at https://github.com/Krinkle/mw-gadget-whatleaveshere) to make this option remembered via localStorage. [[User:Krinkle|Krinkle]] ([[User talk:Krinkle|talk]]) 20:15, 23 November 2022 (UTC)
|}


== Search icon padding ==
== Search icon padding ==
Line 50: Line 30:
! Tool
! Tool
| [[User:Krinkle/Scripts/VectorSearchNav|VectorSearchNav]]
| [[User:Krinkle/Scripts/VectorSearchNav|VectorSearchNav]]
|-
|}

! &nbsp;
| I got another suggestion, but his is only about aesthetics.
I got another suggestion, but his is only about aesthetics.
Add <code>#searchButton { padding-right: 1.2em !important }</code> to the line where the CSS is added. It'll make the icon looks better :)
Add <code>#searchButton { padding-right: 1.2em !important }</code> to the line where the CSS is added. It'll make the icon looks better :)
[[User:Locos epraix|Locos]] <small>[[User talk:Locos epraix|epraix]]</small> 02:46, 4 March 2012 (UTC)
[[User:Locos epraix|Locos]] <small>[[User talk:Locos epraix|epraix]]</small> 02:46, 4 March 2012 (UTC)
|-
|}


:@[[User:Locos epraix|Locos epraix]] When I try this today, I do not see a visual difference. Perhaps the issue has resolved itself since then. [[User:Krinkle|Krinkle]] ([[User talk:Krinkle|talk]]) 20:17, 23 November 2022 (UTC)
== SpecialAbuseLog_HistLink.js ==
{| class="wikitable"
! Type
| Bug
|-
! Setup
| FF12/Win7
|-
! Tool
| SpecialAbuseLog_HistLink.js
|-
! &nbsp;
| It seems that this tool doesn't work. Tested on sr.wp and meta.
'''<font face="Comic Sans MS">[[User:Micki|<span style="color:#6082B6">mi</span>]][[User talk:Micki|<span style="color:#555555">cki</span>]]</font>''' 21:01, 17 May 2012 (UTC)
|-
|}
:Actually, it works [[Special:AbuseLog/10876|here]], but not [[Special:AbuseLog|here]]. Can you, please, make some changes? '''<font face="Comic Sans MS">[[User:Micki|<span style="color:#6082B6">mi</span>]][[User talk:Micki|<span style="color:#555555">cki</span>]]</font>''' 07:47, 19 May 2012 (UTC)


== A few suggestions for the recent changes tool ==
== A few suggestions for the recent changes tool ==
{| class="wikitable"
{| class="wikitable"
! Type
| Suggestion
|-
! Setup
| ''unknown''
|-
! Tool
! Tool
| [[User:Krinkle/Tools/Real-Time Recent Changes]]
| [[User:Krinkle/Tools/Real-Time Recent Changes]]
|-
|-
! &nbsp;
! Type
| Suggestion
| After using the tool for a while, I've felt that there could be a few extra details that can be added (some more possible than others of course, but they are just suggestions).
|}

After using the tool for a while, I've felt that there could be a few extra details that can be added (some more possible than others of course, but they are just suggestions).
* A way to undo/rollback through the script without it opening a new page (if the user doesn't want it they can just do some type of variable = 0 on their common.js); If an undo/rollback was given, an option is available so you can warn the user (similar to [[w:Wikipedia:Huggle|Huggle]]), but allows you to enter a custom message (since all wiki's are different of course).
* A way to undo/rollback through the script without it opening a new page (if the user doesn't want it they can just do some type of variable = 0 on their common.js); If an undo/rollback was given, an option is available so you can warn the user (similar to [[w:Wikipedia:Huggle|Huggle]]), but allows you to enter a custom message (since all wiki's are different of course).
* Things from the [[Special:Log]] to be viewed to, either in a smaller separate section or in the main view
* Things from the [[Special:Log]] to be viewed to, either in a smaller separate section or in the main view
Line 97: Line 56:
These are just some small things that I thought should be added. :) <br>
These are just some small things that I thought should be added. :) <br>
[[User:Hairrr|Hairrr]] ([[User talk:Hairrr|talk]]) 02:44, 1 August 2012 (UTC)
[[User:Hairrr|Hairrr]] ([[User talk:Hairrr|talk]]) 02:44, 1 August 2012 (UTC)
|-
|}


:@[[User:Hairrr|Hairrr]] Thanks for sharing these ideas. I still try to maintain RTRC, but major changes like this require more time than I have these days. I encourage you to share these ideas with other people interested in RTRC at https://github.com/Krinkle/mw-gadget-rtrc, and perhaps yourself or others in your community can provide suggested code changes in a pull request which I could then deploy for all RTRC users. [[User:Krinkle|Krinkle]] ([[User talk:Krinkle|talk]]) 20:26, 23 November 2022 (UTC)
== Translations for AjaxPatrolLinks ==
{| class="wikitable"
! Type
| Suggestion
|-
! Setup
| Not relevant.
|-
! Tool
| [[User:Krinkle/Scripts/AjaxPatrolLinks]]
|-
! &nbsp;
| 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 [[b:es:MediaWiki:Gadget-AjaxPatrolLinks.js|es.wikibooks]] :-) Thanks.
-- [[User:MarcoAurelio|MarcoAurelio]] ([[User talk:MarcoAurelio|talk]]) 20:11, 12 October 2012 (UTC)
|-
|}


== Help needed for using AnonymousI18N in gomwiki ==
== Request inclusion of filters parameter already in found in WikiEditor extension ==
{| class="wikitable"
{| class="wikitable"
! Type
| Feature
|-
! Setup
| All
|-
! Tool
! Tool
| AnonymousI18N
| [[User:Krinkle/Scripts/InsertWikiEditorButton]]
|-
|-
! &nbsp;
| If you examine the WikiEditor module <code>jquery.wikiEditor.toolbar.config.js</code>, specifically the section dealing with the 'reference' button, you'll find the <code>'filters':</code> parameter & setting...
<syntaxhighlight lang="javascript">
'filters': [ 'body.ns-subject' ],
</syntaxhighlight>

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.
<syntaxhighlight lang="javascript">
'filters': [ 'body.ns-4, body.ns-talk' ],
</syntaxhighlight>

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).
<syntaxhighlight lang="javascript">
'filters': [ 'body:not(.ns-8, .ns-828)' ],
</syntaxhighlight>

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


<p>Could you ({{Ping|Krinkle}}) please port this parameter over to your script somehow so this ability is possible under it too? Thanks in advance (best reply to [[s:User talk:George Orwell III|Wikisource]] as well).</p>
[[User:George Orwell III|George Orwell III]] ([[User talk: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, <code>if ($('body:not(.ns-8, .ns-828)').length) { ..insertButton.. }</code>. [[User:Krinkle|Krinkle]] ([[User talk:Krinkle|talk]]) 03:24, 16 April 2018 (UTC)

== Help needed for using AnonymousI18N in gomwiki ==
{| class="wikitable"
! Type
! Type
| Help needed for installation
| Help needed for installation
|-
! Setup
| ''unknown''
|-
! Tool
| AnonymousI18N
|-
! &nbsp;
| Hello Krinkle, we have recently tried installing AnonymousI18N in gom.wikipedia.org . The [https://phabricator.wikimedia.org/T105123 Phabricator task] will give you an idea of whats happened thus far. When we initially copied the code with all the languages to Common.js, it was working fine. However, we wanted to have only gom-latn and gom-deva in the list, so we left only these two in the list of available languages, but this didn't work (AnonymousI18N did not load) (Attempt 1). Then we tried adding en to the list, this also did not work (Attempt 2). Finally, we tried keeping gom instead of gom-deva, this didn't work either (Attempt 3). Please could you help solve this?
Thanks, [[User:The Discoverer|The Discoverer]] ([[User talk:The Discoverer|talk]]) 06:29, 15 July 2015 (UTC)
|-
|}
|}


Hello Krinkle, we have recently tried installing AnonymousI18N in gom.wikipedia.org . The [https://phabricator.wikimedia.org/T105123 Phabricator task] will give you an idea of whats happened thus far. When we initially copied the code with all the languages to Common.js, it was working fine. However, we wanted to have only gom-latn and gom-deva in the list, so we left only these two in the list of available languages, but this didn't work (AnonymousI18N did not load) (Attempt 1). Then we tried adding en to the list, this also did not work (Attempt 2). Finally, we tried keeping gom instead of gom-deva, this didn't work either (Attempt 3). Please could you help solve this?
== missing contributions? ==
Thanks, [[User:The Discoverer|The Discoverer]] ([[User talk:The Discoverer|talk]]) 06:29, 15 July 2015 (UTC)
:I see that the issue has been solved and the task closed. The language menu uses the autonym of each language as its label as recognised by people who are looking to select that language. For example, the label for DE/German is "Deutsch", the label for NL/Dutch is "Nederlands", and the label for English is English. The check is in [https://commons.wikimedia.org/wiki/MediaWiki:Gadget-AnonymousI18N.js MediaWiki:Gadget-AnonymousI18N.js] as <code>wpAvailableLanguages.en === 'English'</code>. The fix was in [https://gom.wikipedia.org/w/index.php?title=%E0%A4%AE%E0%A4%BF%E0%A4%A1%E0%A4%BF%E0%A4%AF%E0%A4%BE%E0%A4%B5%E0%A4%BF%E0%A4%95%E0%A5%80:Common.js&diff=prev&oldid=54461 this gomwiki edit]. --[[User:Krinkle|Krinkle]] ([[User talk:Krinkle|talk]]) 20:33, 23 November 2022 (UTC)

== RTL compatibility ==
{| class="wikitable"
{| class="wikitable"
! Type
| Bug
|-
! Setup
| ''unknown''
|-
! Tool
! Tool
| RTRC
| Global user contributions
|-
|-
! &nbsp;
| 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.
[[User:Elvey|Elvey]] ([[User talk:Elvey|talk]]) 08:11, 18 December 2015 (UTC)
|-
|}
:@[[User:Elvey|Elvey]]: Sorry about the confusion, but the contributions database requires letters in IPV6 to be uppercase. You can see the results at [https://tools.wmflabs.org/guc/?isPrefixPattern=1&user=2600%3A1010%3AB01D this query] instead. [[User:Krinkle|Krinkle]] ([[User talk:Krinkle|talk]]) 03:26, 16 April 2018 (UTC)

== RTL compatibility ==
{| class="wikitable"
! Type
! Type
| Bug
| Bug
Line 195: Line 82:
! Setup
! Setup
| activate gadget on RTL wiki
| activate gadget on RTL wiki
|-
|}

! Tool
latest change taught left-hand-side menu to be "shy", i.e., retreat left under some conditions. unfortunately, this functionality screws up the gadget for RTL wikis, as the menu actually "advances" instead of retreat - with RTL wikis the menu is on the right-hand side, and transforming left cause it to overshadow the list itself (note: this was reported by another user - i'm just the messenger, and am not familiar with the pre-change behavior, i just saw the problem after the change. for now, the user works around the issue with personal css, using !important, to cancel the transformation).
| RTRC
|-
! &nbsp;
| latest change taught left-hand-side menu to be "shy", i.e., retreat left under some conditions. unfortunately, this functionality screws up the gadget for RTL wikis, as the menu actually "advances" instead of retreat - with RTL wikis the menu is on the right-hand side, and transforming left cause it to overshadow the list itself (note: this was reported by another user - i'm just the messenger, and am not familiar with the pre-change behavior, i just saw the problem after the change. for now, the user works around the issue with personal css, using !important, to cancel the transformation).


(sorry for reporting here and not on github - apparently, reporting an issue on github requires a github account, which is a bit much for the moment...)
(sorry for reporting here and not on github - apparently, reporting an issue on github requires a github account, which is a bit much for the moment...)
Line 206: Line 90:
peace.
peace.
[[User:קיפודנחש|קיפודנחש]] ([[User talk:קיפודנחש|talk]]) 17:04, 11 August 2016 (UTC)
[[User:קיפודנחש|קיפודנחש]] ([[User talk:קיפודנחש|talk]]) 17:04, 11 August 2016 (UTC)
|-
|}


:For the record, this was reported the same day at https://github.com/Krinkle/mw-gadget-rtrc/issues/65 and fixed a few days later in [https://github.com/Krinkle/mw-gadget-rtrc/releases/tag/v1.3.1 RTRC version 1.3.1]. [[User:Krinkle|Krinkle]] ([[User talk:Krinkle|talk]]) 20:35, 23 November 2022 (UTC)
== Duplicated links ==

== InsertWikiEditorButton do not appear (same like extrabuttons.js) ==
{| class="wikitable"
{| class="wikitable"
! Type
| Suggestion
|-
! Setup
| ''unknown''
|-
! Tool
! Tool
| Krinkle_InsertWikiEditorButton.js
| RTRC
|-
|-
! &nbsp;
| This gadget instaled as [[:kk:Special:Diff/2470884|default]] on kkwiki, (link Жаңартулар) how to remove RTRC link? Жаңартулар and RTRC links are duplicated. Gadget page: [[:kk:МедиаУики:Gadget-RTRC.js]]. Please, help me.
[[User:Arystanbek|Arystanbek]] ([[User talk:Arystanbek|talk]]) 16:02, 6 October 2016 (UTC)
|-
|}

== InsertWikiEditorButton do not appear (same like extrabuttons.js) ==
{| class="wikitable"
! Type
! Type
| Does not load
| Does not load
Line 233: Line 103:
! Setup
! Setup
| Windows10, Chrome
| Windows10, Chrome
|-
|}

! Tool
Ive tried several buttonscripts in vector.js,but It seems that only the ''math''-button appears. What am I doing wrong? See https://da.wikipedia.org/wiki/User:Rodejong/vector.js for my current vector.js
| Krinkle_InsertWikiEditorButton.js
|-
! &nbsp;
| Ive tried several buttonscripts in vector.js,but It seems that only the ''math''-button appears. What am I doing wrong? See https://da.wikipedia.org/wiki/User:Rodejong/vector.js for my current vector.js
To exclude problems with browsers etc.. On Dutch Wikipedia, all is wrking fine:
To exclude problems with browsers etc.. On Dutch Wikipedia, all is wrking fine:
https://nl.wikipedia.org/wiki/User:Rodejong/vector.js
https://nl.wikipedia.org/wiki/User:Rodejong/vector.js
Line 244: Line 111:
Hope you will be able to point out what needs to be changed. Thank you!
Hope you will be able to point out what needs to be changed. Thank you!
[[User:Rodejong|Rodejong]] ([[User talk:Rodejong|talk]]) 23:44, 13 November 2016 (UTC)
[[User:Rodejong|Rodejong]] ([[User talk:Rodejong|talk]]) 23:44, 13 November 2016 (UTC)
|-
|}


:I reviewed your [https://da.wikipedia.org/w/index.php?title=Bruger:Rodejong/vector.js&diff=prev&oldid=8773902 dawiki version] from shortly before this message and that appears to work fine today on that wiki. I assume this has been resolved since as there have been numerous edits after that and the script is still there. Sorry about missing this message. Feel free to @-ping me if you still encounter an issue. [[User:Krinkle|Krinkle]] ([[User talk:Krinkle|talk]]) 20:53, 23 November 2022 (UTC)
== Pause ==

{| class="wikitable"
== Names of projects in GUC ==
! Type
| Question
|-
! Setup
| Google Chrome, Chrome OS
|-
! Tool
| RTRC / Pause
|-
! &nbsp;
| What is the Pause slider for? And how do you pause, because sliding that slider makes no difference to me.
--[[User:Mr. Guye|Mr. Guye]] ([[User talk:Mr. Guye|talk]]) 18:45, 9 April 2017 (UTC) {{small|Mention me when you respond.}}
|-
|}
:@[[User:Mr. Guye|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. [[User:Krinkle|Krinkle]] ([[User talk:Krinkle|talk]]) 03:33, 16 April 2018 (UTC)


== Callback problem ==
{| class="wikitable"
{| class="wikitable"
! Type
| Feature
|-
! Setup
| Wikisource / Firefox / Linux Mint
|-
! Tool
! Tool
| Global user contributions
| [https://fr.wikisource.org/wiki/Utilisateur:Chroll/vector.js My vector.js ]
|-
|-
! &nbsp;
| Hi Krinkle

I'm trying to use your tool 'krInsertWikiEditorButton', it works very fine, I can see the buttons I've added, the one which inserts and appens text around the selected text is ok but the one which has a callback seems doing nothing. It's very difficult to have a good view of what is possible in customizing WikiEditor for Vector. So I nned help if possible.

Thanks
[[User:Chroll|Chroll]] ([[User talk:Chroll|talk]]) 11:40, 30 November 2017 (UTC)
|-
|}

== [BUG] Top of dif section cut off ==

{| class="wikitable"
! Type
! Type
| Suggestion
| Bug
|-
! Setup
| Chrome(unknown version)/Win10
|-
! Tool
| RTRC
|-
! &nbsp;
| How to replicate the bug: go to RTRC, click a "dif", close "dif", repeat last two until you see something like the image.
I was using Chrome when I discovered the bug, and couldn't replicate it on Firefox.
[[File:RTRC bug.png|thumb|A screenshot of a bug I found while patrolling with the RTRC tool.]]
|-
|}
|}


Maybe names of projects (listed as wikisections), for example sv.wikipedia.org, could be token from [https://translatewiki.net/w/i.php?title=Special:Translate&group=ext-wikimediaprojectnames&language=sl&filter=%21translated&action=translate Wikimedia Project Names] on Translatewiki. I believe it would be more clear view and faster reading/searching.
== Names of projects in GUC ==

{| class="wikitable"
! Type
| Suggestion
|-
! Setup
| ''unknown''
|-
! Tool
| Global user contributions
|-
! &nbsp;
| Maybe names of projects (listed as wikisections), for example sv.wikipedia.org, could be token from [https://translatewiki.net/w/i.php?title=Special:Translate&group=ext-wikimediaprojectnames&language=sl&filter=%21translated&action=translate Wikimedia Project Names] on Translatewiki. I believe it would be more clear view and faster reading/searching.


Besides, maybe a button for interface language selection could be added. And a direct link on Translatewiki at the bottom like Edit Counter (EC) has it (I didn't know until recently that the tool is translatable). Wish you all the best, --[[User:Janezdrilc|Janezdrilc]] ([[User talk:Janezdrilc|talk]]) 09:26, 19 July 2018 (UTC)
Besides, maybe a button for interface language selection could be added. And a direct link on Translatewiki at the bottom like Edit Counter (EC) has it (I didn't know until recently that the tool is translatable). Wish you all the best, --[[User:Janezdrilc|Janezdrilc]] ([[User talk:Janezdrilc|talk]]) 09:26, 19 July 2018 (UTC)
|-
|}


== CVNSimpleOverlay ==
== Translating messages ==
{| class="wikitable"
{| class="wikitable"
! Type
| Bug
|-
! Setup
| Chrome, Firefox and MS Edge / Windows 10 and Windows 7
|-
! Tool
! Tool
| WhatLeavesHere
| [[CVNSimpleOverlay]]
|-
|-
! &nbsp;
| 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,
<span style="color:Red; font-variant:small-caps; text-shadow:#848484 2px 1px 1px">[[User:JOAN|JOAN]] <b>~</b> <sup>([[User talk:JOAN|Questions?]])</sup></span> 00:36, 16 November 2018 (UTC)
|-
|}
: Confirming [[User:JOAN|JOAN]]'s find: I have had the script loaded in my global.js for three years, and it recently stopped working. '''[[User:Sam Sailor|Sam]] [[User talk:Sam Sailor|Sailor]]''' 10:12, 25 November 2018 (UTC)
:: Also Agree, I just come back in french patrol and nothing appears. [[User:Tomybrz|<font color="#e65c00"><b><i>Tomybrz</i></b></font>]] <small>[[User Talk:Tomybrz|<span style="font-variant:small-caps; color:#ff9933">Bip Bip</span>]]</small> 17:09, 21 December 2018 (UTC)
:::I ping [[User:Krinkle|Krinkle]] or [[User:Timo Tijhof (WMF)|Timo]] to please help us repair this valuable tool. :) --<span style="color:Red; font-variant:small-caps; text-shadow:#848484 2px 1px 1px">[[User:JOAN|JOAN]] <b>~</b> <sup>([[User talk:JOAN|Questions?]])</sup></span> 17:44, 21 December 2018 (UTC)
: @[[User:Sam Sailor|Sam]], @[[User:Tomybrz|Tomybrz]], @[[User:JOAN|JOAN]]: Apologies for the inconvenience. These were intentionally disabled. See [https://phabricator.wikimedia.org/T207900#4698685 T207900] for details. Once the CSP policy is adjusted for <code>*.wmflabs.org</code> (or at least <code>cvn.wmflabs.org</code> and <code>tools.wmflabs.org/intuition/</code>), I can comfortably re-enable these tools. --[[User:Krinkle|Krinkle]] ([[User talk:Krinkle|talk]]) 19:40, 21 December 2018 (UTC)
::Ok! Thanks [[User:Krinkle|Krinkle]]. <span style="color:Red; font-variant:small-caps; text-shadow:#848484 2px 1px 1px">[[User:JOAN|JOAN]] <b>~</b> <sup>([[User talk:JOAN|Questions?]])</sup></span> 16:12, 3 January 2019 (UTC)
:::Ping [[User:Geom|Geom]]. <span style="color:Red; font-variant:small-caps; text-shadow:#848484 2px 1px 1px">[[User:JOAN|JOAN]] <b>~</b> <sup>([[User talk:JOAN|Questions?]])</sup></span> 16:12, 3 January 2019 (UTC)
{{od}} {{ping|Sam Sailor|JOAN}} : since nobody update the task on phabricator, i added <code>&oldid=18174822</code> in the loader script :
<code>mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Krinkle/Scripts/CVNSimpleOverlay_wiki.js&oldid=18174822&action=raw&ctype=text/javascript');</code>. Regards. [[User:Tomybrz|<font color="#e65c00"><b><i>Tomybrz</i></b></font>]] <small>[[User Talk:Tomybrz|<span style="font-variant:small-caps; color:#ff9933">Bip Bip</span>]]</small> 20:35, 8 February 2019 (UTC)

== Translating messages ==
{| class="wikitable"
! Type
! Type
| Doc
| Doc
|-
! Setup
| N/A
|-
! Tool
| WhatLeavesHere
|-
! &nbsp;
| The gadget seems to fetch messages from some external location, but they are in English. How to translate messages for non-English wiki's?
[[user:bdijkstra|bdijkstra]] ([[user talk:bdijkstra|talk]]) 15:30, 3 January 2019 (UTC)
|-
|}
|}


The gadget seems to fetch messages from some external location, but they are in English. How to translate messages for non-English wiki's?
== MediaWiki:Gadget-massdelete.js working from global.js ==
[[user:bdijkstra|bdijkstra]] ([[user talk:bdijkstra|talk]]) 15:30, 3 January 2019 (UTC)
{| class="wikitable"
! Type
| Other
|-
! Setup
| ''unknown''
|-
! Tool
| [[s:en:MediaWiki:Gadget-massdelete.js]]
|-
! &nbsp;
| 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.


:You can translate via https://translatewiki.net/wiki/Translating:Intuition. I've documented this now on [[User:Krinkle/Tools/WhatLeavesHere]] for future reference. Thanks! [[User:Krinkle|Krinkle]] ([[User talk:Krinkle|talk]]) 21:11, 23 November 2022 (UTC)
Tool is working fine at enWS.
&nbsp;— [[user:billinghurst|billinghurst]] ''<span style="font-size:smaller">[[user talk:billinghurst|sDrewth]]</span>'' 11:36, 6 February 2019 (UTC)
|-
|}
:[[User:Billinghurst|Billinghurst]]: [[User:Tulsi Bhagat/massdelete.js]] works for me. &mdash;<span style="font-size:smaller; font-style:italic">Sgd.</span>&nbsp;[[user talk:Hasley|<span style="color:#069; font-weight:bold">Hasley</span>]] 12:46, 20 April 2020 (UTC)


== Load contributions by user when starting from Special:Contributions ==
== Load contributions by user when starting from Special:Contributions ==
{| class="wikitable"
{| class="wikitable"
! Type
| Feature
|-
! Setup
| ''unknown''
|-
! Tool
! Tool
| RTRC
| RTRC
|-
|-
! &nbsp;
! Type
| Feature
| For example, when starting RTRC from [[c:Special:Contributions/124.45.19.66]], could RTRC load the contributions by that user?
|}

For example, when starting RTRC from [[c:Special:Contributions/124.45.19.66]], could RTRC load the contributions by that user?
[[User talk:Alexis Jazz|Alexis Jazz]] (ping me) 14:21, 29 November 2019 (UTC)
[[User talk:Alexis Jazz|Alexis Jazz]] (ping me) 14:21, 29 November 2019 (UTC)


Better yet, provide a link on Special:Contributions named "[https://knowyourmeme.com/memes/all-the-things Patrol ALL the things!]" that directly starts mass patrol! [[User talk:Alexis Jazz|Alexis Jazz]] (ping me) 19:25, 1 December 2019 (UTC)
Better yet, provide a link on Special:Contributions named "[https://knowyourmeme.com/memes/all-the-things Patrol ALL the things!]" that directly starts mass patrol! [[User talk:Alexis Jazz|Alexis Jazz]] (ping me) 19:25, 1 December 2019 (UTC)
|-
|}


== How are rctags added to the menu ==
== How are rctags added to the menu ==

== How are rctags added to the menu? ==
{| class="wikitable"
{| class="wikitable"
! Type
| Question
|-
! Setup
| ''unknown''
|-
! Tool
! Tool
| RTRC
| RTRC
|-
|-
! &nbsp;
! Type
| Question
| I could not find where RTRC looks for the tags used in the menu. I want to add some more rctags for myself or in general. Thanks.
[[User:GPSLeo|GPSLeo]] ([[User talk:GPSLeo|talk]]) 21:00, 7 January 2020 (UTC)
|-
|}
|}


I could not find where RTRC looks for the tags used in the menu. I want to add some more rctags for myself or in general. Thanks.
== The blank page... is blank ==
[[User:GPSLeo|GPSLeo]] ([[User talk:GPSLeo|talk]]) 21:00, 7 January 2020 (UTC)

== costumization ==
{| class="wikitable"
{| class="wikitable"
! Type
| Bug
|-
! Setup
| Google Chrome, Windows
|-
! Tool
! Tool
| RTRC
| [[User:Krinkle/Tools/Global SUL|Global SUL]]
|-
|-
! &nbsp;
| When I open the blank page [[Special:BlankPage/globalsul]], nothing happen.
--[[User:ValeJappo|ValeJappo]] ([[User talk:ValeJappo|talk]]) 08:54, 28 May 2020 (UTC)
:SOLVED: If it is in commons.js works, if in global.js not.--[[User:ValeJappo|ValeJappo]] ([[User talk:ValeJappo|talk]]) 09:10, 28 May 2020 (UTC)
|-
|}

== costumization ==
{| class="wikitable"
! Type
! Type
| Feature, addition and suggestion
| Feature, addition and suggestion
Line 449: Line 178:
! Setup
! Setup
| Google Chrome / Microsoft edge, Opera, Mozilla pc:(win 7) laptop:(win10) / mobile: (android 10) (android 11)
| Google Chrome / Microsoft edge, Opera, Mozilla pc:(win 7) laptop:(win10) / mobile: (android 10) (android 11)
|-
! Tool
| RTRC
|-
! &nbsp;
| Good evening, I wanted to ask if it was possible to customize the gadget in the local wiki (?) .. it would be interesting to keep the autodiff predefined, rather than having to activate it voluntarily. It would be possible? It would make this gadget easier to use, with fewer buttons to press! Anyway, congratulations for the excellent job! If I can give advice, which is linked to the question I asked before, would it be possible to add the "Remember selection for future searches" button? It would make it even more complete! Thank you very much for reading. A cordial greeting and await your reply. --Fierodelveneto (talk) 21:03, 4 July 2020 (UTC)
--[[User:Fierodelveneto|Fierodelveneto]] ([[User talk:Fierodelveneto|talk]]) 21:04, 4 July 2020 (UTC)
|-
|}
|}

Good evening, I wanted to ask if it was possible to customize the gadget in the local wiki (?) .. it would be interesting to keep the autodiff predefined, rather than having to activate it voluntarily. It would be possible? It would make this gadget easier to use, with fewer buttons to press! Anyway, congratulations for the excellent job! If I can give advice, which is linked to the question I asked before, would it be possible to add the "Remember selection for future searches" button? It would make it even more complete! Thank you very much for reading. A cordial greeting and await your reply. --Fierodelveneto (talk) 21:03, 4 July 2020 (UTC)
--[[User:Fierodelveneto|Fierodelveneto]] ([[User talk:Fierodelveneto|talk]]) 21:04, 4 July 2020 (UTC)


== Translation ==
== Translation ==
{| class="wikitable"
{| class="wikitable"
! Tool
| RTRC
|-
! Type
! Type
| Other
| Other
Line 466: Line 193:
! Setup
! Setup
| Google Chrome / Microsoft edge, Opera, Mozilla pc:(win 7) laptop:(win10) / mobile: (android 10) (android 11)
| Google Chrome / Microsoft edge, Opera, Mozilla pc:(win 7) laptop:(win10) / mobile: (android 10) (android 11)
|-
! Tool
| RTRC
|-
! &nbsp;
| Good morning, in vec.wiki, although the translation of RTRC on translatewiki has been made, it does not appear .. the English language appears instead! How can we do?
--[[User:Fierodelveneto|Fierodelveneto]] ([[User talk:Fierodelveneto|talk]]) 09:35, 8 July 2020 (UTC)
|-
|}
|}

Good morning, in vec.wiki, although the translation of RTRC on translatewiki has been made, it does not appear .. the English language appears instead! How can we do?
--[[User:Fierodelveneto|Fierodelveneto]] ([[User talk:Fierodelveneto|talk]]) 09:35, 8 July 2020 (UTC)

:This appears to work now. At https://vec.wikipedia.org/w/index.php?title=Special:BlankPage/RTRC&uselang=vec, I see the interface in a language that is not English. Feel fee to @-ping me here if you encounter the issue still. [[User:Krinkle|Krinkle]] ([[User talk:Krinkle|talk]]) 21:14, 23 November 2022 (UTC)


== Migtrate RTRC help page into Translate Extension (in Autotranslate mode, like {{tl|translated tag}}) ==
== Migtrate RTRC help page into Translate Extension (in Autotranslate mode, like {{tl|translated tag}}) ==
{| class="wikitable"
{| class="wikitable"
|-
! Type
| Other
|-
! Setup
| ''unknown''
|-
! Tool
! Tool
| RTRC
| RTRC
|-
|-
! &nbsp;
! Type
| Other
| Dear @[[User:Krinkle|Krinkle]], if you not be opposing, I want to migrate [[User:Krinkle/Tools/Real-Time Recent Changes|RTRC help page]] into Translate Extension (in Autotranslate mode, like {{tl|translated tag}}).
|}

Dear @[[User:Krinkle|Krinkle]], if you not be opposing, I want to migrate [[User:Krinkle/Tools/Real-Time Recent Changes|RTRC help page]] into Translate Extension (in Autotranslate mode, like {{tl|translated tag}}).
* Will be created subpage [[User:Krinkle/Tools/Real-Time Recent Changes/i18n]]
* Will be created subpage [[User:Krinkle/Tools/Real-Time Recent Changes/i18n]]
* English text from the [[User:Krinkle/Tools/Real-Time Recent Changes]] will be copied into [[User:Krinkle/Tools/Real-Time Recent Changes/i18n]] and marked for translation
* English text from the [[User:Krinkle/Tools/Real-Time Recent Changes]] will be copied into [[User:Krinkle/Tools/Real-Time Recent Changes/i18n]] and marked for translation
Line 498: Line 218:
Please approve this change.
Please approve this change.
[[User:Kaganer|Kaganer]] ([[User talk:Kaganer|talk]]) 16:01, 8 February 2022 (UTC)
[[User:Kaganer|Kaganer]] ([[User talk:Kaganer|talk]]) 16:01, 8 February 2022 (UTC)

|-
:@[[User:Kaganer|Kaganer]] I consider the page-translate significantly unusable and applying it to my documentation pages would mean I can no longer write and maintain the documentation myself. I don't mind regular subpages being created, however. These are compatible with Special:MyLanguage, TNTN, and the {{tl|Languages}} navigation template, which I have [https://meta.wikimedia.org/w/index.php?title=User%3AKrinkle%2FTools%2FReal-Time_Recent_Changes&type=revision&diff=24116831&oldid=24116808 added] for automatic discovery and promotion of translations if you choose add any. I suggest copying the page and use watchlist for updates in the future. It will likely change less than once a year because RTRC is stable. [[User:Krinkle|Krinkle]] ([[User talk:Krinkle|talk]]) 21:21, 23 November 2022 (UTC)
|}


== running Global_SUL.js does not create local accounts ==
== running Global_SUL.js does not create local accounts ==
{| class="wikitable"
{| class="wikitable"
! Tool
| [[:m:User:Krinkle/Tools/Global_SUL.js]], installed via [[:m:User:MsynBot/common.js]]
|-
! Type
! Type
| Bug
| Bug
Line 508: Line 231:
! Setup
! Setup
| most recent Firefox, Chrome, and Edge
| most recent Firefox, Chrome, and Edge
|-
|}

! Tool
Logged in with my bot account User:MsynBot, I can open [[:m:Special:BlankPage/globalsul]] and run the process. It makes successful (HTTP 200) requests to <code>/w/index.php?title=MediaWiki:Delete/en&action=render</code> in all projects and logs them on the BlankPage, but according to [https://meta.wikimedia.org/wiki/Special:CentralAuth?target=MsynBot Special:CentralAuth] no new local accounts have been created for the account. Quite some time ago I have used this script with my main account without any problems.
| [[:m:User:Krinkle/Tools/Global_SUL.js]], installed via [[:m:User:MsynBot/common.js]]
|-
! &nbsp;
| Logged in with my bot account User:MsynBot, I can open [[:m:Special:BlankPage/globalsul]] and run the process. It makes successful (HTTP 200) requests to <code>/w/index.php?title=MediaWiki:Delete/en&action=render</code> in all projects and logs them on the BlankPage, but according to [https://meta.wikimedia.org/wiki/Special:CentralAuth?target=MsynBot Special:CentralAuth] no new local accounts have been created for the account. Quite some time ago I have used this script with my main account without any problems.
—[[User:MisterSynergy|MisterSynergy]] ([[User talk:MisterSynergy|talk]]) 21:13, 21 November 2022 (UTC)
—[[User:MisterSynergy|MisterSynergy]] ([[User talk:MisterSynergy|talk]]) 21:13, 21 November 2022 (UTC)
:Solved it now via a different method (accessing all projects manually) because I need this quickly and this page seems pretty unattended. I still think this is broken and should be fixed, since the manual method really isn't a pleasure to go through. —[[User:MisterSynergy|MisterSynergy]] ([[User talk:MisterSynergy|talk]]) 00:15, 22 November 2022 (UTC)
:Solved it now via a different method (accessing all projects manually) because I need this quickly and this page seems pretty unattended. I still think this is broken and should be fixed, since the manual method really isn't a pleasure to go through. —[[User:MisterSynergy|MisterSynergy]] ([[User talk:MisterSynergy|talk]]) 00:15, 22 November 2022 (UTC)
:FWIW, same problem when I just tested. — [[User:Xaosflux|<span style="color:#FF9933; font-weight:bold; font-family:monotype;">xaosflux</span>]] <sup>[[User talk:Xaosflux|<span style="color:#009933;">Talk</span>]]</sup> 17:30, 22 November 2022 (UTC)
:FWIW, same problem when I just tested. — [[User:Xaosflux|<span style="color:#FF9933; font-weight:bold; font-family:monotype;">xaosflux</span>]] <sup>[[User talk:Xaosflux|<span style="color:#009933;">Talk</span>]]</sup> 17:30, 22 November 2022 (UTC)
::@[[User:MisterSynergy|MisterSynergy]] @[[User:Xaosflux|Xaosflux]]: Thanks for reporting. The issue is in the last 1-2 years, modern browsers have changed to longer allow a JavaScript request from one website (e.g. Meta-Wiki) to contact another website "as if" you contacted that website directly yourself. Instead, when GlobalSul is making a request to the new wiki, it does not have your global login cookies attached, and so GlobalSul's JavaScript is behaving as if each request is inside an Private/Incognito-like window that only knows about Meta-Wiki. The reasons for this change in browsers makes sense, and I do not believe there is an easy way around this. Perhaps we can explore using <code>api.php</code> with the "centralauthtoken" parameter but I do not know if this works when the account does not yet exist. In any event, this requires more research and changes than I have time for. If you find a way, do let me know, I'd be happy to incorporate the change into the script or help you write/debug the specific way. [[User:Krinkle|Krinkle]] ([[User talk:Krinkle|talk]]) 21:30, 23 November 2022 (UTC)
:::Thank you for looking into this. Explanation seems reasonable; I had some xsrf stuff in mind, but I'm clearly not an expert here …
:::If you can't fix it, maybe put a warning to the script page and/or [[User:Krinkle/Tools/Global SUL]] that it is kinda broken. I had to spend quite some time to figure out that it is likely not a problem on my side two days ago. —[[User:MisterSynergy|MisterSynergy]] ([[User talk:MisterSynergy|talk]]) 21:42, 23 November 2022 (UTC)
::::@[[User:MisterSynergy|MisterSynergy]] I put a note on [[User:Krinkle/Tools/Global SUL]]. — [[User:Xaosflux|<span style="color:#FF9933; font-weight:bold; font-family:monotype;">xaosflux</span>]] <sup>[[User talk:Xaosflux|<span style="color:#009933;">Talk</span>]]</sup> 22:28, 23 November 2022 (UTC)
:::@[[User:Krinkle|Krinkle]] thanks for the notice, I was sort of able to hack it to work browser-side by using an old browser (Firefox Portable ESR60) - this certainly isn't "recommended". Perhaps we could do something similar from the toolserver oauth? — [[User:Xaosflux|<span style="color:#FF9933; font-weight:bold; font-family:monotype;">xaosflux</span>]] <sup>[[User talk:Xaosflux|<span style="color:#009933;">Talk</span>]]</sup> 22:25, 23 November 2022 (UTC)
:::{{re|Krinkle}} See [[Special:Diff/23341705/24495667|patch]]. This works for me in a private window in Firefox 108, with ''all'' third-party cookies blocked. <code>mw.ForeignApi</code> does all the <code>centralauthtoken</code> magic here. [[User:Suffusion of Yellow|Suffusion of Yellow]] ([[User talk:Suffusion of Yellow|talk]]) 01:29, 6 February 2023 (UTC)
::::@[[User:Suffusion of Yellow|Suffusion of Yellow]] {{done|Thanks!}} I've [https://meta.wikimedia.org/w/index.php?title=User%3AKrinkle%2FTools%2FGlobal_SUL.js&diff=24511725&oldid=23341705 applied] your patch. [[User:Krinkle|Krinkle]] ([[User talk:Krinkle|talk]]) 18:14, 8 February 2023 (UTC)
:::::@[[User:Krinkle|Krinkle]] I have not tried to figure out what changed yet, but the fix from @[[User:Suffusion of Yellow|Suffusion of Yellow]] is no longer working for me with Firefox 117 (MacOS). -- [[User:BryanDavis|BryanDavis]] ([[User talk:BryanDavis|talk]]) 22:37, 11 September 2023 (UTC)
::::::{{re|BryanDavis}} Still works for me, using Firefox 117 on Linux, and with all third-party cookies blocked. [[Special:CentralAuth/BryanDavis]] says you ''did'' create hundreds of accounts, about ten minutes before posting here. Was that through a different browser? [[User:Suffusion of Yellow|Suffusion of Yellow]] ([[User talk:Suffusion of Yellow|talk]]) 00:26, 13 September 2023 (UTC)

== OrphanTalk return an invalid page at vi.wikipedia ==

{| class="wikitable"
! Tool
| [https://orphantalk.toolforge.org/ OrphanTalk]<!-- Which tool or gadget this is about -->
|-
|-
! Type
| Not sure if it's a bug or not<!-- One of: bug, feature, suggestion, or other -->
|-
! Ping
| @[[User:Krinkle|Krinkle]]
|-
! Setup
| Google Chrome Version 120.0.6099.217 (Official Build) (64-bit) in Windows 10 version 22H2 (OS build 19045.3803)
|}
|}
'''Description:''' [https://orphantalk.toolforge.org/ OrphanTalk] returns a list of pages that contain [[:w:vi:Thảo luận:Wikipedia talk:Công cụ|Thảo luận:Wikipedia talk:Công cụ]]. In Vietnamse Wikipedia:
* "Thảo luận" is article talk namespace
* "Wikipedia talk" must be "Thảo luận Wikipedia" (localized)

=== Proof ===
[[File:OrphanTalk return an invalid page at viwiki.png|thumb|Screenshot]]
Please see the screenshot.
=== Step to reproduce ===
# Open Google Chrome and go to https://orphantalk.toolforge.org/
# Select these option:
## Wiki: vi.wikipedia.org
## Namespace: Talk
## Hide redirect(s): YES
## Hide subpages(s): YES
## Limit: 100
# Submit.
=== Environment ===
* Browser: Google Chrome Version 120.0.6099.217 (Official Build) (64-bit)
* OS: Windows 10 Pro 22H2 (OS build 19045.3803)

=== Expected results ===
* Should not have returned that invalid page

=== Actual results ===
* OrphanTalk return the following invalid page:
{|
| title="" |[https://vi.wikipedia.org/w/index.php?curid=82496  Wikipedia talk:Công cụ] (full page name: [[:w:vi:Thảo luận:Wikipedia talk:Công cụ|Thảo luận:Wikipedia talk:Công cụ]])
|[https://vi.wikipedia.org/w/index.php?curid=82496 Xem] • [https://vi.wikipedia.org/w/index.php?curid=82496&action=history Xem lịch sử] • [[:vi::Wikipedia_talk:Công_cụ|Trang nội dung]] • [https://vi.wikipedia.org/w/index.php?curid=82496&action=delete&wpReason=%5B%5Bm%3AUser%3AKrinkle%2FTools%23OrphanTalk%7CKrinkle%2FOrphanTalk%5D%5D%3A+Trang+th%E1%BA%A3o+lu%E1%BA%ADn+m%E1%BB%93+c%C3%B4i Xóa] • [https://vi.wikipedia.org/w/index.php?title=Special:WhatLinksHere&target=Th%E1%BA%A3o+lu%E1%BA%ADn%3AWikipedia_talk%3AC%C3%B4ng_c%E1%BB%A5 Các liên kết đến đây] • [https://vi.wikipedia.org/w/index.php?curid=82496&diff=curr Thay đổi cuối cùng]
|}
* Click on https://vi.wikipedia.org/w/index.php?curid=82496 and other links returns:
<code><nowiki>
MediaWiki internal error.

Original exception: [482918c0-f96f-464b-8f21-13de2718a2a3] 2024-01-14 09:25:11: Fatal exception of type "Wikimedia\Assert\PostconditionException"

Exception caught inside exception handler.

Set $wgShowExceptionDetails = true; at the bottom of LocalSettings.php to show detailed debugging information.
</nowiki></code>
==== Console log ====
* at: https://orphantalk.toolforge.org/ (this seems unrelated)
<code><nowiki>Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'attribution-reporting'.</nowiki></code>
* at https://vi.wikipedia.org/w/index.php?curid=82496
<code><nowiki>/w/index.php?curid=82496:1 GET https://vi.wikipedia.org/w/index.php?curid=82496 500 (Internal Server Error)</nowiki></code>

[[User:Hide on Rosé|<span style="background-image:linear-gradient(90deg,black,purple,red);color:transparent;background-clip:text;-webkit-background-clip:text;font-family:Sans-Serif;font-size:110%">Hide on Rosé</span>]]&nbsp;<sup>[[User talk:Hide on Rosé#top|<span style="font-family:Sans-Serif;color:red;font-size:120%">t</span>]]</sup> 09:29, 14 January 2024 (UTC)

Latest revision as of 21:33, 28 March 2024

Create a new subject

For RTRC, please report to Phabricator instead.
For Global user contributions, please report to Phabricator instead.
Archive:

Configuration options[edit]

Tool WhatLeavesHere
Type Feature

Gday Krinkle. Been using WhatLeavesHere at enWP, after using it in other places, and it is useful for spam fighting. I would like to see the ability to have some configuration for its use at enWP to hide some of the templates. Looking at w:en:Special:WhatLeavesHere?target=List_of_As_Told_by_Ginger_episodes it picks up Templates and I think that for the general user this will be confusing. So a tweak so that by user you can set it up in a configuration file as per the popups, or whether there is a click twist that turns on configs and remembers one's settings, with certain things being default off. Anyway, just thoughts, thanks for listening and especially thanks for your tools and your assistance. billinghurst sDrewth 02:28, 24 January 2012 (UTC)Reply

@Billinghurst If I understand correctly, your intention is to easily find outgoing page/article links and hide e.g. file/template links. There is a namespace menu for reducing the result to only the Main namespace. I would be open to a JavaScript code change (via pull request at https://github.com/Krinkle/mw-gadget-whatleaveshere) to make this option remembered via localStorage. Krinkle (talk) 20:15, 23 November 2022 (UTC)Reply

Search icon padding[edit]

Type Suggestion
Setup Firefox Aurora 12
Tool VectorSearchNav

I got another suggestion, but his is only about aesthetics. Add #searchButton { padding-right: 1.2em !important } to the line where the CSS is added. It'll make the icon looks better :) Locos epraix 02:46, 4 March 2012 (UTC)Reply

@Locos epraix When I try this today, I do not see a visual difference. Perhaps the issue has resolved itself since then. Krinkle (talk) 20:17, 23 November 2022 (UTC)Reply

A few suggestions for the recent changes tool[edit]

Tool User:Krinkle/Tools/Real-Time Recent Changes
Type Suggestion

After using the tool for a while, I've felt that there could be a few extra details that can be added (some more possible than others of course, but they are just suggestions).

  • A way to undo/rollback through the script without it opening a new page (if the user doesn't want it they can just do some type of variable = 0 on their common.js); If an undo/rollback was given, an option is available so you can warn the user (similar to Huggle), but allows you to enter a custom message (since all wiki's are different of course).
  • Things from the Special:Log to be viewed to, either in a smaller separate section or in the main view
  • If something new appears in Special:NewFiles, it loads the previous image as the old revision and the uploaded image as the new one. (If this special page isn't possible to operate with, Special:Log/upload might be possible too)..
  • If one of the edits is a tagged change from Special:Tags, in front of the time either * for the tags or change/add-on to !. Then whatever the tag was after the edit, like so (not properly spaced, but still gives a main idea):

(diff)  *  01:32 Article     • T • C • Vandal     Adding important info   [ Possible Vandalism ]

  • In a show/hide under the revision, a preview of the new page revision is shown to immediately see if an error occurred with the new revision, without having to leave the script.

These are just some small things that I thought should be added. :)
Hairrr (talk) 02:44, 1 August 2012 (UTC)Reply

@Hairrr Thanks for sharing these ideas. I still try to maintain RTRC, but major changes like this require more time than I have these days. I encourage you to share these ideas with other people interested in RTRC at https://github.com/Krinkle/mw-gadget-rtrc, and perhaps yourself or others in your community can provide suggested code changes in a pull request which I could then deploy for all RTRC users. Krinkle (talk) 20:26, 23 November 2022 (UTC)Reply

Help needed for using AnonymousI18N in gomwiki[edit]

Tool AnonymousI18N
Type Help needed for installation

Hello Krinkle, we have recently tried installing AnonymousI18N in gom.wikipedia.org . The Phabricator task will give you an idea of whats happened thus far. When we initially copied the code with all the languages to Common.js, it was working fine. However, we wanted to have only gom-latn and gom-deva in the list, so we left only these two in the list of available languages, but this didn't work (AnonymousI18N did not load) (Attempt 1). Then we tried adding en to the list, this also did not work (Attempt 2). Finally, we tried keeping gom instead of gom-deva, this didn't work either (Attempt 3). Please could you help solve this? Thanks, The Discoverer (talk) 06:29, 15 July 2015 (UTC)Reply

I see that the issue has been solved and the task closed. The language menu uses the autonym of each language as its label as recognised by people who are looking to select that language. For example, the label for DE/German is "Deutsch", the label for NL/Dutch is "Nederlands", and the label for English is English. The check is in MediaWiki:Gadget-AnonymousI18N.js as wpAvailableLanguages.en === 'English'. The fix was in this gomwiki edit. --Krinkle (talk) 20:33, 23 November 2022 (UTC)Reply

RTL compatibility[edit]

Tool RTRC
Type Bug
Setup activate gadget on RTL wiki

latest change taught left-hand-side menu to be "shy", i.e., retreat left under some conditions. unfortunately, this functionality screws up the gadget for RTL wikis, as the menu actually "advances" instead of retreat - with RTL wikis the menu is on the right-hand side, and transforming left cause it to overshadow the list itself (note: this was reported by another user - i'm just the messenger, and am not familiar with the pre-change behavior, i just saw the problem after the change. for now, the user works around the issue with personal css, using !important, to cancel the transformation).

(sorry for reporting here and not on github - apparently, reporting an issue on github requires a github account, which is a bit much for the moment...)

peace. קיפודנחש (talk) 17:04, 11 August 2016 (UTC)Reply

For the record, this was reported the same day at https://github.com/Krinkle/mw-gadget-rtrc/issues/65 and fixed a few days later in RTRC version 1.3.1. Krinkle (talk) 20:35, 23 November 2022 (UTC)Reply

InsertWikiEditorButton do not appear (same like extrabuttons.js)[edit]

Tool Krinkle_InsertWikiEditorButton.js
Type Does not load
Setup Windows10, Chrome

Ive tried several buttonscripts in vector.js,but It seems that only the math-button appears. What am I doing wrong? See https://da.wikipedia.org/wiki/User:Rodejong/vector.js for my current vector.js To exclude problems with browsers etc.. On Dutch Wikipedia, all is wrking fine: https://nl.wikipedia.org/wiki/User:Rodejong/vector.js

Hope you will be able to point out what needs to be changed. Thank you! Rodejong (talk) 23:44, 13 November 2016 (UTC)Reply

I reviewed your dawiki version from shortly before this message and that appears to work fine today on that wiki. I assume this has been resolved since as there have been numerous edits after that and the script is still there. Sorry about missing this message. Feel free to @-ping me if you still encounter an issue. Krinkle (talk) 20:53, 23 November 2022 (UTC)Reply

Names of projects in GUC[edit]

Tool Global user contributions
Type Suggestion

Maybe names of projects (listed as wikisections), for example sv.wikipedia.org, could be token from Wikimedia Project Names on Translatewiki. I believe it would be more clear view and faster reading/searching.

Besides, maybe a button for interface language selection could be added. And a direct link on Translatewiki at the bottom like Edit Counter (EC) has it (I didn't know until recently that the tool is translatable). Wish you all the best, --Janezdrilc (talk) 09:26, 19 July 2018 (UTC)Reply

Translating messages[edit]

Tool WhatLeavesHere
Type Doc

The gadget seems to fetch messages from some external location, but they are in English. How to translate messages for non-English wiki's? bdijkstra (talk) 15:30, 3 January 2019 (UTC)Reply

You can translate via https://translatewiki.net/wiki/Translating:Intuition. I've documented this now on User:Krinkle/Tools/WhatLeavesHere for future reference. Thanks! Krinkle (talk) 21:11, 23 November 2022 (UTC)Reply

Load contributions by user when starting from Special:Contributions[edit]

Tool RTRC
Type Feature

For example, when starting RTRC from c:Special:Contributions/124.45.19.66, could RTRC load the contributions by that user? Alexis Jazz (ping me) 14:21, 29 November 2019 (UTC)Reply

Better yet, provide a link on Special:Contributions named "Patrol ALL the things!" that directly starts mass patrol! Alexis Jazz (ping me) 19:25, 1 December 2019 (UTC)Reply

How are rctags added to the menu[edit]

Tool RTRC
Type Question

I could not find where RTRC looks for the tags used in the menu. I want to add some more rctags for myself or in general. Thanks. GPSLeo (talk) 21:00, 7 January 2020 (UTC)Reply

costumization[edit]

Tool RTRC
Type Feature, addition and suggestion
Setup Google Chrome / Microsoft edge, Opera, Mozilla pc:(win 7) laptop:(win10) / mobile: (android 10) (android 11)

Good evening, I wanted to ask if it was possible to customize the gadget in the local wiki (?) .. it would be interesting to keep the autodiff predefined, rather than having to activate it voluntarily. It would be possible? It would make this gadget easier to use, with fewer buttons to press! Anyway, congratulations for the excellent job! If I can give advice, which is linked to the question I asked before, would it be possible to add the "Remember selection for future searches" button? It would make it even more complete! Thank you very much for reading. A cordial greeting and await your reply. --Fierodelveneto (talk) 21:03, 4 July 2020 (UTC) --Fierodelveneto (talk) 21:04, 4 July 2020 (UTC)Reply

Translation[edit]

Tool RTRC
Type Other
Setup Google Chrome / Microsoft edge, Opera, Mozilla pc:(win 7) laptop:(win10) / mobile: (android 10) (android 11)

Good morning, in vec.wiki, although the translation of RTRC on translatewiki has been made, it does not appear .. the English language appears instead! How can we do? --Fierodelveneto (talk) 09:35, 8 July 2020 (UTC)Reply

This appears to work now. At https://vec.wikipedia.org/w/index.php?title=Special:BlankPage/RTRC&uselang=vec, I see the interface in a language that is not English. Feel fee to @-ping me here if you encounter the issue still. Krinkle (talk) 21:14, 23 November 2022 (UTC)Reply

Migtrate RTRC help page into Translate Extension (in Autotranslate mode, like {{translated tag}})[edit]

Tool RTRC
Type Other

Dear @Krinkle, if you not be opposing, I want to migrate RTRC help page into Translate Extension (in Autotranslate mode, like {{translated tag}}).

Please approve this change. Kaganer (talk) 16:01, 8 February 2022 (UTC)Reply

@Kaganer I consider the page-translate significantly unusable and applying it to my documentation pages would mean I can no longer write and maintain the documentation myself. I don't mind regular subpages being created, however. These are compatible with Special:MyLanguage, TNTN, and the {{Languages}} navigation template, which I have added for automatic discovery and promotion of translations if you choose add any. I suggest copying the page and use watchlist for updates in the future. It will likely change less than once a year because RTRC is stable. Krinkle (talk) 21:21, 23 November 2022 (UTC)Reply

running Global_SUL.js does not create local accounts[edit]

Tool m:User:Krinkle/Tools/Global_SUL.js, installed via m:User:MsynBot/common.js
Type Bug
Setup most recent Firefox, Chrome, and Edge

Logged in with my bot account User:MsynBot, I can open m:Special:BlankPage/globalsul and run the process. It makes successful (HTTP 200) requests to /w/index.php?title=MediaWiki:Delete/en&action=render in all projects and logs them on the BlankPage, but according to Special:CentralAuth no new local accounts have been created for the account. Quite some time ago I have used this script with my main account without any problems. —MisterSynergy (talk) 21:13, 21 November 2022 (UTC)Reply

Solved it now via a different method (accessing all projects manually) because I need this quickly and this page seems pretty unattended. I still think this is broken and should be fixed, since the manual method really isn't a pleasure to go through. —MisterSynergy (talk) 00:15, 22 November 2022 (UTC)Reply
FWIW, same problem when I just tested. — xaosflux Talk 17:30, 22 November 2022 (UTC)Reply
@MisterSynergy @Xaosflux: Thanks for reporting. The issue is in the last 1-2 years, modern browsers have changed to longer allow a JavaScript request from one website (e.g. Meta-Wiki) to contact another website "as if" you contacted that website directly yourself. Instead, when GlobalSul is making a request to the new wiki, it does not have your global login cookies attached, and so GlobalSul's JavaScript is behaving as if each request is inside an Private/Incognito-like window that only knows about Meta-Wiki. The reasons for this change in browsers makes sense, and I do not believe there is an easy way around this. Perhaps we can explore using api.php with the "centralauthtoken" parameter but I do not know if this works when the account does not yet exist. In any event, this requires more research and changes than I have time for. If you find a way, do let me know, I'd be happy to incorporate the change into the script or help you write/debug the specific way. Krinkle (talk) 21:30, 23 November 2022 (UTC)Reply
Thank you for looking into this. Explanation seems reasonable; I had some xsrf stuff in mind, but I'm clearly not an expert here …
If you can't fix it, maybe put a warning to the script page and/or User:Krinkle/Tools/Global SUL that it is kinda broken. I had to spend quite some time to figure out that it is likely not a problem on my side two days ago. —MisterSynergy (talk) 21:42, 23 November 2022 (UTC)Reply
@MisterSynergy I put a note on User:Krinkle/Tools/Global SUL. — xaosflux Talk 22:28, 23 November 2022 (UTC)Reply
@Krinkle thanks for the notice, I was sort of able to hack it to work browser-side by using an old browser (Firefox Portable ESR60) - this certainly isn't "recommended". Perhaps we could do something similar from the toolserver oauth? — xaosflux Talk 22:25, 23 November 2022 (UTC)Reply
@Krinkle: See patch. This works for me in a private window in Firefox 108, with all third-party cookies blocked. mw.ForeignApi does all the centralauthtoken magic here. Suffusion of Yellow (talk) 01:29, 6 February 2023 (UTC)Reply
@Suffusion of Yellow Thanks! I've applied your patch. Krinkle (talk) 18:14, 8 February 2023 (UTC)Reply
@Krinkle I have not tried to figure out what changed yet, but the fix from @Suffusion of Yellow is no longer working for me with Firefox 117 (MacOS). -- BryanDavis (talk) 22:37, 11 September 2023 (UTC)Reply
@BryanDavis: Still works for me, using Firefox 117 on Linux, and with all third-party cookies blocked. Special:CentralAuth/BryanDavis says you did create hundreds of accounts, about ten minutes before posting here. Was that through a different browser? Suffusion of Yellow (talk) 00:26, 13 September 2023 (UTC)Reply

OrphanTalk return an invalid page at vi.wikipedia[edit]

Tool OrphanTalk
Type Not sure if it's a bug or not
Ping @Krinkle
Setup Google Chrome Version 120.0.6099.217 (Official Build) (64-bit) in Windows 10 version 22H2 (OS build 19045.3803)

Description: OrphanTalk returns a list of pages that contain Thảo luận:Wikipedia talk:Công cụ. In Vietnamse Wikipedia:

  • "Thảo luận" is article talk namespace
  • "Wikipedia talk" must be "Thảo luận Wikipedia" (localized)

Proof[edit]

Screenshot

Please see the screenshot.

Step to reproduce[edit]

  1. Open Google Chrome and go to https://orphantalk.toolforge.org/
  2. Select these option:
    1. Wiki: vi.wikipedia.org
    2. Namespace: Talk
    3. Hide redirect(s): YES
    4. Hide subpages(s): YES
    5. Limit: 100
  3. Submit.

Environment[edit]

  • Browser: Google Chrome Version 120.0.6099.217 (Official Build) (64-bit)
  • OS: Windows 10 Pro 22H2 (OS build 19045.3803)

Expected results[edit]

  • Should not have returned that invalid page

Actual results[edit]

  • OrphanTalk return the following invalid page:
Wikipedia talk:Công cụ (full page name: Thảo luận:Wikipedia talk:Công cụ) Xem • Xem lịch sử • Trang nội dung • Xóa • Các liên kết đến đây • Thay đổi cuối cùng

MediaWiki internal error. Original exception: [482918c0-f96f-464b-8f21-13de2718a2a3] 2024-01-14 09:25:11: Fatal exception of type "Wikimedia\Assert\PostconditionException" Exception caught inside exception handler. Set $wgShowExceptionDetails = true; at the bottom of LocalSettings.php to show detailed debugging information.

Console log[edit]

Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'attribution-reporting'.

/w/index.php?curid=82496:1 GET https://vi.wikipedia.org/w/index.php?curid=82496 500 (Internal Server Error)

Hide on Rosé t 09:29, 14 January 2024 (UTC)Reply