User talk:Krinkle

From Meta, a Wikimedia project coordination wiki

Hi. I have been missing "my link" to the move to Commons tool for some time. Perhaps you could have a look at this and update link (http://tools.wmflabs.org/commonshelper/). Thank you. --MGA73 (talk) 17:36, 15 April 2014 (UTC)[reply]

MoreContributions[edit]

Is it on Labs yet? PiRSquared17 (talk) 12:36, 10 May 2014 (UTC)[reply]

Thanks for asking. At the moment I don't have plans to migrate it. Too many Toolserver-specific things I don't have time to migrate at the moment. However I do plan to collaborate with Luxo on https://tools.wmflabs.org/guc/. That way we can improve the tool for everyone. His does most of what mine can already, the one or two extra features mine has (wildcard suffix for IP addresses, and selecting one wiki instead of all) can be implemented in his tool instead. –Krinkletalk 14:48, 10 May 2014 (UTC)[reply]

Thanks[edit]

Hi Krinkle, Thanks for your edits in Urdu Wikipedia last night. I have no technical user who maintain such gadgets, javascript and css codes, If you maintain these scripts on regular basis it would be great support for us :-) Muhammad Shuaib (talk) 06:45, 20 May 2014 (UTC)[reply]

Hi Muhammad Shuaib,
Thank you for your message, I appreciate it. I unfortunately am not involved with the Urdu Wikipedia and can't really help much on a regular basis (not proactively). Yesterday I performed general maintenance based on critical issues or migration concerns that I found through searching all Wikimedia Foundation wikis at once (I am a global interface editor). However if you need any help with specific issues (e.g. you want to change how something looks or how something works), feel free to ask. Ask on either Steward requests/Miscellaneous or on my talk page here, and I'll see what I can do. –Krinkletalk 15:34, 20 May 2014 (UTC)[reply]
Thanks :) edit tools don't load below the text editor while editing any page. Muhammad Shuaib (talk) 15:38, 20 May 2014 (UTC)[reply]
I tried to update the Edittools system on your wiki. It should be working now. –Krinkletalk 17:17, 24 May 2014 (UTC)[reply]
After your edits in common css, titles and subtitles appear in another font, not in orginal urdu nastaleeq font. Muhammad Shuaib (talk) 16:57, 21 May 2014 (UTC)[reply]
I'm not sure what you're referring to. Is it better now? –Krinkletalk 17:18, 24 May 2014 (UTC)[reply]

Bureaucrat on Beta Wikipedia (Forwarded Message From User_talk:Barras#Bureaucrat_on_Beta_Wikipedia)[edit]

Hello Krinkle,

I wish to apply/become a Bureaucraft on the Beta Wikipedia (http://en.wikipedia.beta.wmflabs.org/wiki). Unfortunately, the stewards who have made accounts on the Beta Wikipedia seem to be inactive or retired, which is why I contacted Barras. Barras redirected me to your page here and suggested that you might be able to address this topic. Towards the end of 2013, I took a Wikibreak. When I came back to Wikipedia in 2014, I found that http://en.wikipedia.beta.wmflabs.org/wiki/User:Charmlet has been inactive for almost one year now. I would like to take leadership of his project and continue it further, as I believe it will be a success (I was involved in helping him with Charmlet's project, but it was never complete for release). Becoming a bureaucraft will allow me to use some of the importing tools, etc. to enhance/further the project. Please let me know your thoughts on this matter; I would greatly appreciate if you would consider me for this opportunity. --JustBerry (talk) 17:14, 24 May 2014 (UTC)[reply]

Additionally, I would be willing to help with the management of the site, including giving users rights w/application. I have noticed that users have tried to apply for user rights on the talk pages of multiple bureaucrats and stewards on the Beta Wikipedia, but, once again, they appear to be inactive/retired. Please let me know your thoughts on this as well. --JustBerry (talk) 17:14, 24 May 2014 (UTC)[reply]

Done by PiRSquared17.

Problem in Sindhi Chars[edit]

Hi Krinkle, we have created a template in urdu wikipedia for special sindhi characters, but these charachters dont appear in wiki pages except titles. If you would paste this template here in meta, these characters will appear, Because Nastaleeq font dosnt have support of these characters. So please fix this problem as these chars will appear in all wiki pages. Thanks :) --Muhammad Shuaib (talk) 09:16, 5 June 2014 (UTC)[reply]

OrphanTalk results limited[edit]

Hi! It's a great tool but unfortunately reveals only pages starting with letters A–C on my homewiki. As I don't want to delete all orphan talks straight away, deleting them all to make space for next results wouldn't be a good solution. If not listing all results then could it be possible to add parameter "from"? E.g "from=E" would list results starting with letter E, F, G etc. Thanks! 88.196.241.249 10:27, 20 June 2014 (UTC)[reply]

jquery.makeCollapsible.js[edit]

Hi, in it.wiki we would like to replace NavFrame and "Collapsible tables" (section 2 and 3 in mw:Manual:Collapsible elements) with mw-collapsible. We have only two issues:

  • with Collapsible tables there was the "autocollapse" option. I can't find this feature with "mw-collapsible" so I have used something like this in the global MediaWiki:Common.js:
if ($('.mw-collapsible').length > 1) {
    $('.mw-collapsible.mw-autocollapse').each(function (i, el) {
        if (!$(el).hasClass('mw-collapsed')) {
            $(el).addClass('mw-collapsed');
        }
    });
}
Then I have added mw-autocollapse class to the elements I want to auto-collapse. Is there a better way? Do you think this feature can be implementend directly in jquery.makeCollapsible.js?
  • fadeIn and fadeOut are not always animating smoothly. Can I configure, just in case, fadeIn/fadeOut duration to zero ?

Thanks in advance. --Rotpunkt (talk) 13:56, 27 June 2014 (UTC)[reply]

I experimented that the previous code doesn't always work (especially with "Preview"). --Rotpunkt (talk) 10:14, 28 June 2014 (UTC)[reply]
The following code works better, but the initial closing animation is visible and annoying:
$(window).load(function () {
    if ($('.mw-collapsible').length > 1) {
        $('.mw-collapsible.mw-autocollapse').each(function (i, el) {
            if (!$(el).hasClass('mw-collapsed')) {
                $(el).find('.mw-collapsible-toggle > a').click();
            }
        });
    }
});
--Rotpunkt (talk) 17:00, 28 June 2014 (UTC)[reply]
Hi Rotpunkt,
The makeCollapsible plugin has this functionality built-in already. When you give an element class mw-collapsible mw-collapsed it will be collapsed by default, and the initial auto collapse will be done without an animation (exactly what you want). You can see a demonstration at testwiki:User:Krinkle/Test suite for mw-collapsible. –Krinkletalk 13:02, 29 June 2014 (UTC)[reply]
Hi, Krinkle, thanks for the answer, but there was a misunderstanding: what you have answered is not what we were looking for. With the old "Collapsible tables" if you put also the class "autocollapse" to a table it's collapsed "only" when there are more then one! :) I am going to make an example for you. --Rotpunkt (talk) 13:39, 29 June 2014 (UTC)[reply]
The examples:
As you can see in it:Utente:Rotpunkt/TwoCollapsibles, the code "works", but however the initial animation is a problem.
--Rotpunkt (talk) 13:59, 29 June 2014 (UTC)[reply]
I was thinking: implementing the autocollapse class outside the makeCollapsible plugin, as I was trying to do, could be even better. For example it allows you to filter the elements to which this behaviour apply, for example only tables, replacing the selector $('.mw-collapsible') with $('table.mw-collapsible'). --Rotpunkt (talk) 14:49, 29 June 2014 (UTC)[reply]
Hi, I have restricted the autocollapse behaviour to tables (working only with tables is ok for us) and added hide() for elements after the first tr (like for the old "collapsible tables" implementation):
$(window).load(function () {
    if ($('table.mw-collapsible').length > 1) {
        $('table.mw-collapsible.selfcollapsible').each(function (i, el) {
            if (!$(el).hasClass('mw-collapsed')) {
                $(el).find('tr:not(:first)').hide();
                $(el).find('.mw-collapsible-toggle > a').click();
            }
        });
    }
});
Now, with hide(), the animation is very fast (see it:Utente:Rotpunkt/TwoCollapsibles) although it has not gone away completely. It would be nice to remove it at all. --Rotpunkt (talk) 11:36, 30 June 2014 (UTC)[reply]
Yet another try: I have used:
$(function () {
    if ($('table.mw-collapsible').length > 1) {
        $('table.mw-collapsible.selfcollapsible').each(function (i, el) {
            if (!$(el).hasClass('mw-collapsed')) {
                $(el).addClass('mw-collapsed');
                $(el).find('tr:not(:first)').hide();
            }
        });
    }
});
It's similar to the first try but with also hide(). No animation at all but sometimes it starts with label "Hide" ("nascondi" in italian). I don't understand why, indeed with debug=true it always works fine: https://it.wikipedia.org/w/index.php?title=Utente:Rotpunkt/TwoCollapsibles&debug=true works, instead without debug https://it.wikipedia.org/w/index.php?title=Utente:Rotpunkt/TwoCollapsibles it shows initially "hide" ). --Rotpunkt (talk) 12:56, 30 June 2014 (UTC)[reply]

┌─────────────────────────────┘
I found the problem! It was related to localStorage:

  • with $wgResourceLoaderStorageEnabled=false => makeCollapsible is called always after MediaWiki:Common.js, so it finds the mw-collapsed class I have added in Common.js and changes the toggle label from "collapse" to "expand"
  • with $wgResourceLoaderStorageEnabled=true => makeCollapsible is sometimes called before MediaWiki:Common.js so the toggle label remains "collapse" ("nascondi" in italian). This execution order can be demonstrated putting console.log at the beginning of makeCollapsible and inside Common.js. I don't know if this is a bug.

So my final fix is:

$(function () {
    if ($('table.mw-collapsible').length > 1) {
        $('table.mw-collapsible.selfcollapsible').each(function (i, el) {
            if (!$(el).hasClass('mw-collapsed')) {
                // makeCollapsible already called?
                if ($(el).data('mw-made-collapsible')) {
                    // hide() speeds up table collapsing
                    $(el).find('tr:not(:first)').hide();
                    $(el).find('.mw-collapsible-toggle > a').click();
                } else {
                    $(el).addClass('mw-collapsed');
                }      
            }
        });
    }
});

--Rotpunkt (talk) 22:34, 30 June 2014 (UTC)[reply]

expand/collapse bold with mw-collapsible[edit]

Hi Krinkle, in itwiki we are trying to migrate all collapsible tables and NavFrames to mw-collapsible. I would like to point you to this issue: the same HTML code produces different results using mw-collapsible => expand/collapse is bold. Should it be fixed in jquery.makeCollapsible.js/jquery.makeCollapsible.css so that expand/collapse link is displayed "normal" ? Example:

Table using class mw-collapsible => expand/collapse is bold
This is a test

--

Table using collapsible => hide/show is not bold
This is a test

Thanks in advance. --Rotpunkt (talk) 09:48, 16 July 2014 (UTC)[reply]

Queries update[edit]

FYI, I updated one of your queries. Feel free to revert it if you don't want it, and I won't update other query (without asking it) ;). Southparkfan 13:06, 26 July 2014 (UTC)[reply]

Hi,
Thanks, that's great! They're not really meant to be periodic queries though. It's just a place where I (used to) publish the result of a query I was asked to run. Thanks for the update. If you're looking to do periodic queries, perhaps you want to help write a tool for it and store the results in Tool Labs and schedule the runs via a job queue on a grid. Note that https://tools.wmflabs.org/lists/ exists, and myself I reserved query (https://github.com/Krinkle/mw-tool-query/issues/1 plan]). I haven't had time to work on it yet, but it would replace things like Get Top RC Pages, Get Top RC Users, InterfaceFiles, SingleAuthorTalk, and others. –Krinkletalk 09:40, 27 July 2014 (UTC)[reply]
Hi, a query tool seems interesting. I don't know if these Get Top RC * and the other things could be merged into the lists tool, but I guess it's better to build a query tool for those scripts. Let me know if you have made any progress on it. P.S: if you want to re-write TSUsers, you could probably merge that also in the query tool.I guess that isn't possible. Southparkfan 23:17, 27 July 2014 (UTC)[reply]

GUC-tool[edit]

Hoi Krinkle. Jij bent een van de maintainers van de GUC-tool zie ik... ik wil even doorgeven dat hij niet meer werkt. Hij laadt helemaal niet. Kun jij er ajb even naar kijken? Het is al een paar dagen zo en het is toch knap irritant aangezien we die tool ontzettend vaak gebruiken en er geen alternatief is. Dank alvast. Trijnsteltalk 13:34, 20 August 2014 (UTC)[reply]

Hoi,
Weet niet zeker wat er aan de hand was, maar leek inderdaad niet meer te reageren. Heb de guc webservice opgeschoond en herstart. Lijkt nu weer goed te draaien: https://tools.wmflabs.org/guc/?user=KrinkleKrinkletalk 01:38, 22 August 2014 (UTC)[reply]

MediaWiki:Gadget-bkl-check.js[edit]

Hello Krinkle,

please have a look at de.wikipedia.org/wiki/MediaWiki_Diskussion:Gadget-bkl-check.js

Best regards, --Bildungsbürger (talk) 07:03, 26 August 2014 (UTC)[reply]

Thanks. Replied. –Krinkletalk 13:20, 26 August 2014 (UTC)[reply]

Javascript depreciated methods and MediaWiki releases[edit]

Hello,

I think you, or perhaps another global interface editor, once created a page containing all the pages of MediaWiki namespace of all wikis using specific functions (about to disappear). Could you tell me the page in question if this is the case? — Automatik (talk) 20:57, 29 September 2014 (UTC)[reply]

Hi Automatik,
There isn't a page showing the uses of the functions, but there are announcements and overviews of the functions themselves for you to look for in your own code:
Krinkletalk 21:51, 29 September 2014 (UTC)[reply]
Ok, thank you for the answer. I'm sure I saw a page like I described, but it wasn't you. Thanks for the links. — Automatik (talk) 22:13, 29 September 2014 (UTC)[reply]
@Automatik: There is also fr:Utilisateur:Ltrbot/Fonctions obsolètes. Maybe the author could run it also on other wikis? Helder 13:36, 2 October 2014 (UTC)[reply]
I can run it on any wiki which would ask to, but I think the question was for frwiki (where the specific problem was solved). — Ltrlg (talk) – 15:11, 5 October 2014 (UTC)[reply]
Than you both (Helder, Ltrlg) for the answer. It wasn't only for frwiki, so I'll ask when needed for others wikis (especially frwikt). — Automatik (talk) 10:40, 12 October 2014 (UTC)[reply]

Does it only work with Files? — revi 10:01, 7 October 2014 (UTC)[reply]

Snapshots tool not updating[edit]

Hello Krinkle!

Can you take a look at your snapshoot-Tool in Toollabs? It seems, that it doesn't fetch the wmf/1.25wmf* branches :/

Can you fix that? Thanks! --Florianschmidtwelzow (talk) 14:45, 21 October 2014 (UTC)[reply]

Looks like the updater got removed from the schedule. It's back on now. Thanks! –Krinkletalk 02:38, 23 October 2014 (UTC)[reply]
Great, thanks :) --Florianschmidtwelzow (talk) 15:46, 24 October 2014 (UTC)[reply]

wikEd/TemplateData[edit]

Hi Krinkle,

I am planning to make wikEd and Extension:TemplateData compatible. wikEd uses its own rich-text iframe insteasd of the the standard textarea (see w:User:Cacycle/wikEd#Scripts, add-ons, and extensions for details). Does Extension:TemplateData have any hooks that wikEd could use or do you have any other suggestions to make this work? Cacycle (talk) 10:30, 27 October 2014 (UTC)[reply]

TemplateData doesn't have hooks specifically for this, and I don't think it should. There is already a TextSelection API with a method for retrieving contents of a text area. I'd recommend WikiEd implements this method so that when things like EditWarning (or indeed TemplateData) need the contents of the text area (which may be hidden by WikiEd), it'll work as expected. CodeEditor (which, like WikiEd, has a custom iframe as well) implements this method, and EditWarning uses this API; thus the EditWarning works as expected when using CodeEditor. Once TemplateData uses this API, WikiEd can override the content retrieval the same way CodeEditor does. Please file a bug for TemplateData requesting it uses textSelection('getContents') instead of val(), similar to mediawiki-core's EditWarning module. –Krinkletalk 18:53, 28 October 2014 (UTC)[reply]

RefTool[edit]

Hi krinkle, Gadget-refToolBar dosent work on urdu wikipedia, plz help fix the problem. Thanks --Muhammad Shuaib (talk) 13:11, 29 October 2014 (UTC)[reply]

Hi Muhammad Shuaib,
Sorry but I don't think I can help you. I didn't install the gadget on ur.wikipedia.org and also don't author the "refToolbar" gadget. Perhaps ask User:Mr.Z-man or User:Kaldari? They are listed as authors. Thanks! –Krinkletalk 20:46, 30 October 2014 (UTC)[reply]
Oh okeh and thanks :) --Muhammad Shuaib (talk) 18:11, 31 October 2014 (UTC)[reply]

Error in sidebar[edit]

Hi krinkle, please see this image, it seems like any error occurred in urdu wiki side bar css. plz help fix this problem. Thanks :) --Muhammad Shuaib (talk) 11:29, 18 November 2014 (UTC)[reply]

@Muhammad Shuaib: It was caused by this edit. I've reverted it. –Krinkletalk 14:48, 18 November 2014 (UTC)[reply]
Thanks a lot :) --Muhammad Shuaib (talk) 14:51, 18 November 2014 (UTC)[reply]

Hi Krinkle, Krenair suggest me to involve you in the above conversation. Could you pass and leave a comment at your earliest convenience? Thanks, --Andyrom75 (talk) 04:27, 25 November 2014 (UTC)[reply]

Fuchsia tags in cvn-sw[edit]

Hi!

This is a complete shot in the dark, but perhaps you can point me in the right direction if you don't know the answer. The fuchsia tags in cvn-sw (like Possible gibberish? and Copyvio?) are rarely correct and I would like to help improve them. Do you know who I should talk to? Nirmos (talk) 20:09, 30 November 2014 (UTC)[reply]

@Nirmos: I'd try #wikimedia-stewards and #countervandalism. The relevant code is in the CVNBot software. I haven't looked in its source code for a while, but here's what I found:
So, it basically only relates to the size of the edit or page creation. Which, depending on what we know about the editing user, is considered a "Large edit/create" or "Possible copyvio/gibberish".
Krinkletalk 20:19, 30 November 2014 (UTC)[reply]
Thank you very much. So, in AbuseFilter terms, the software currently only uses two variables: action and edit_delta. In that case, my question is: Why isn't it looking at added_lines? Is it because it's difficult to write a language-neutral filter? Is it a technical limitation? Or is it because of performance reasons? (I hope it's the first one because I can do that.) Nirmos (talk) 20:45, 30 November 2014 (UTC)[reply]
Nirmos: It's a technical limitation because the real-time feed of edits made on wikis (stream, API) provides meta data about changes (much like the Special:RecentChanges page). It doesn't contain full change diffs. That would be much too large. That kind of information is only available, in a performant and scalable way, when the software is implemented as a MediaWiki extension (like AbuseFilter). Alternatively, the bot would have to download every change from the wiki as it happens. The latter would not be worth the overhead. In the long run: I'd like to refactor the MediaWiki software so that change tags (e.g. those added by AbuseFilter) are available in the real-time feeds. The CVNBot IRC channels should become obsolete in favour of a more streamlined recent changes interface for patrollers (much like RTRC). –Krinkletalk 02:32, 20 December 2014 (UTC)[reply]

Global user page migration[edit]

Hello Krinkle. I deleted your local user pages on all wikis as you requested via Synchbot. You can see the full log on your archive page. :) —Pathoschild 23:36, 28 February 2015 (UTC)

ReferenceTooltips[edit]

Why stopped working this gadget (js, css) on Kazakh Wikipedia? --Arystanbek (talk) 12:30, 5 March 2015 (UTC)[reply]

AnonymousI18N[edit]

Hello Krinkle,

I copied AnonymousI18N code from Wikidata:MediaWiki:Common.js to Wmca:MediaWiki:Common.js, it's working pretty fine but seems that it doesn't remember my choice... it always fall back to English. I think I did something wrong, but I don't know what. So if you have a minute, I have granted you sysop on WMCA Wiki so you can edit as you wish. Thank you in advance for your help. Best regards. Benoit Rochon (talk) 21:07, 6 March 2015 (UTC)[reply]

@Benoit Rochon: Hi, Thanks for using AnonymousI18N! A few things:
  • Firstly, I've updated WMCA to use the code from Commons instead of Wikidata. That shouldn't make any notable difference right now, but it just in case, update from commons:MediaWiki:Common.js for future reference.
  • I'm not sure what problem you're experiencing. When I open ca.wikimedia.org in an Incognito window (e.g. not logged-in) it suggests me a language (Dutch, British English etc) and clicking that reloads the page. Then any subsequent link also gets that same 'uselang' parameter. I'm curious how you made a different "choice", though, because of the next point:
  • It seems the dropdown menu does not appear in the sidebar at all. This is because AnonymousI18N looks for the "navigation" sidebar section. It seems WMCA renamed this to "About WMC-text". I can fix this for you (or do it yourself), by keeping the the section identifier back to "navigation". You're free to change the label (on wmca:MediaWiki:Navigation) to "The organisation" or "About WMC", but the internal ID for the top section on wmca:MediaWiki:Sidebar must be "navigation".
Krinkletalk 23:21, 6 March 2015 (UTC)[reply]
Hello Krinkle, thank you so much for your help, I really appreciate it. Maybe this is why the Wiki doesn't remember my language choice... no dropdown menu... I didn't even realise that! Now, I'm not sure I understand the point #3 regarding the sidebar menu. Maybe I messed around with that menu a couple years ago, because I have had a lot of problems with the menu since then. Please feel free to correct it; if you need more accessibility, just let me know. Thanks in advance. Best regards. 14:49, 7 March 2015 (UTC)[reply]
@Benoit Rochon: Okay, I've done, it. I didn't change it for you previously as I wanted to verify this is okay with you. As for access, I didn't necessarily need administrator rights as I'm already a Global interface editor. However I did need your permissions to make non-trivial changes. It should be working now. You're welcome! –Krinkletalk 22:17, 9 March 2015 (UTC)[reply]

Script maintenance[edit]

Hi Krinkle. While maintaining my force LTR script I came across User:Krinkle/Scripts/Vector LTR.js, which does the same thing. Would you be interested in becoming a maintainer on Wikimedia-contrib, so we can both maintain a definitive version? —Pathoschild 01:46, 19 March 2015 (UTC)

@Pathoschild Yup. By all means. Note that back in 2013 we already synced up once (Wikimedia-contrib#11). It seems I didn't mention my own script at the time, but that's where the changes came from. –Krinkletalk 03:49, 19 March 2015 (UTC)[reply]
Great. I added you as a collaborator on the repository. I'll update everyone to the wikimedia-contrib version of the script going forward. —Pathoschild 04:01, 19 March 2015 (UTC)
I updated User:Krinkle/Scripts/Countervandalism.js to use force ltr, but I noticed it was disabled due to strange side-effects. Do those side-effects still happen with the new version? —Pathoschild 00:43, 20 March 2015 (UTC)
@Pathoschild I've reverted User:Krinkle/Scripts/Vector LTR.js per diff. Feel free to migrate Special:GlobalUsage/Krinkle Vector LTR.js uses directly, however. –Krinkletalk 05:03, 20 March 2015 (UTC)[reply]
Sure, I'll migrate them as part of my cleanup pass. —Pathoschild 05:04, 20 March 2015 (UTC)

I also came across User:Krinkle/Scripts/StewardScript.js. This looks like an early rewrite to remove deprecated functions and adopt mw conventions in StewardScript, but the original StewardScript has been rewritten for the same reasons since then. Is it still needed? —Pathoschild 01:27, 24 March 2015 (UTC)

It was never used by anyone as far as I'm aware. I've requested deletion and redirected the description page. –Krinkletalk 06:46, 24 March 2015 (UTC)[reply]

Edittools for the code editor[edit]

Hi!

As we both know, insertTags() (now mw.toolbar.insertTags()) doesn't work with the code editor. Is there a new function or method that works for CSS, JavaScript and Lua pages? Nirmos (talk) 05:11, 17 July 2015 (UTC)[reply]

Global user contributions[edit]

Hallo Krinkle, das tool läuft nicht richtig. [1] Die Links werden ausgegeben als https://tools.wmflabs.org/wiki/Martinique das wäre zum Beispiel der oberste Eintrag vom 23:14, 28 Dec 2013. --Knochen (talk) 05:41, 25 July 2015 (UTC)[reply]

Re your recent email about document.write, I see that the above linked script at meta has the issue. I don't even know the purpose of the script. Are you able to offer advice about how to handle it? First thought is just take it offline, however, I wouldn't even know how many are actively using it. Thanks.  — billinghurst sDrewth 02:00, 6 August 2015 (UTC)[reply]

@billinghurst: Thanks for your message. The portal script actually does something else, but looks very similar indeed. The confusion is understandable. The document.write() function is provided by the web browser as part of the DOM API. It is not provided by MediaWiki. This function is bad on pages downloaded from a website. However for popup "pages" created by JavaScript, using document.write will work fine. Look how it invokes popupWindow.document.write, not document.write. For popups, the HTML is coming from JavaScript, so the HTML stream is open and must be closed manually. For server-generated web pages, the server is in control of when the HTML is ready ("closed"). After that point, calling document.write() doesn't work, hence it's bad practice to use inside MediaWiki. –Krinkletalk 03:27, 6 August 2015 (UTC)[reply]

Overlapping lists on srwiki[edit]

I was wondering do you know how to fix list that overlap image problem example, how it should be --Milicevic01 (talk) 20:08, 20 August 2015 (UTC)[reply]

@Milicevic01: Thanks for asking. The problem is that sr.wikipedia.org has a customisation in sr:MediaWiki:Common.css that removes the margin rule for the thumbnail:
div.thumb { margin: .1em;
and
div.tleft { margin-right:0.4em;
. Both of these make the margin much smaller, causing an overlap. The MediaWiki software provides a default margin of 1.4em that should not be changed. I recommend removing the rules related to "margin" from the Common.css file. I can help you with that change if you like. --–Krinkletalk 20:29, 20 August 2015 (UTC)[reply]
Yes i would like that --Milicevic01 (talk) 20:36, 20 August 2015 (UTC)[reply]
DoneKrinkle 21:28, 20 August 2015 (UTC)[reply]

GUC edit summaries[edit]

Hi, Krinkle. I noticed the global user contributions (guc) tool omits edit summaries if the edit was to a page section. It links to the section on →, then renders the section title in plaintext followed by a colon, but then gives the closing bracket.

For example, an edit shows in the

API as: "comment": "/* sectionfoo */ summary-by-editor",
guc page as: (→ sectionfoo:) (current)
Special:Contributions page as: (→‎sectionfoo: summary-by-editor) (current)
N.B. (I left in (current) for ease of reading.)

Can this be fixed? Thank you, and thanks for your continued maintenance of the tool's codebase. –84.92.129.87 23:05, 30 August 2015 (UTC)[reply]

@84.92.129.87: Thanks for reporting. I've fixed the bug (commit) and deployed it on Tool Labs. –Krinkletalk 00:19, 1 September 2015 (UTC)[reply]
Sweet. Thanks, looks good. –84.92.129.87 16:12, 2 September 2015 (UTC)[reply]
P.S. It doesn't make much difference ofc but the "found in n projects" statistic count is always 1. –84.92.129.87 16:42, 2 September 2015 (UTC)[reply]

Flow support in GUC[edit]

Hello. Not sure if this is known, but I noticed that edits to Flow boards do not show up in GUC. For example, I left a message a week ago here. GUC lists all the other edits I made that day on that wiki, except for that one. HTH, --Elitre (WMF) (talk) 10:08, 3 September 2015 (UTC) PS: This page would be another example. --Elitre (WMF) (talk) 10:38, 3 September 2015 (UTC)[reply]

@Elitre (WMF): I didn't know about it specifically, but it doesn't surprise me. It's a natural side effect of Flow contributions not being stored in the MediaWiki revision database. There's little I can do about this inside GUC. I imagine it affects other tools as well. –Krinkletalk 16:37, 3 September 2015 (UTC)[reply]
Thanks for the prompt reply. I guess this means there's no value in reporting the issue somewhere else, like Phab? Best, --Elitre (WMF) (talk) 18:34, 3 September 2015 (UTC)[reply]

GOC - ideas[edit]

Hi! Wanted to suggest two things. 1) maybe sort Wikipedias by user's last edit? That is, if I edited project A two days ago and project B - one year ago, place project A as first, not second. 2) not so important, but maybe some table of contents could be enabled? --Edgars2007 (talk) 13:04, 4 September 2015 (UTC)[reply]

@Edgars2007: The GUC tool currently already shows newer changes before older changes of of each wiki. However the wikis themselves are in the order the results are found from the database. This is because it slow to query all databases. It seems preferable to show results as soon as possible instead of waiting for the last result of the last wiki before showing the first one (when re-ordering). However see phabricator:T70358 for a similar idea. In that idea there would be an option you can use to show all changes of all wikis together in one list (not per wiki), and show the last edit on top of all wikis. Does that sound useful? –Krinkle 01:20, 8 September 2015 (UTC)[reply]
Actually yes. I like the idea @phab. But one note - personally I would like to have option to exclude some wikis, where I'm active, so the list is more usefull. At GUC tool it is OK to have all wikis, because they are separated. And one more note - preserve "(current)" - it is important. --Edgars2007 (talk) 07:33, 8 September 2015 (UTC)[reply]

Help developing gadget[edit]

Hi, please see this script, it does not work for auto corrcet mispellings in text editor, but the same script does work here. For example when you will write a urdu word 'اسلاح', it corrects to right word 'اصلاح'. Muhammad Shuaib (talk) 19:22, 8 September 2015 (UTC)[reply]

Your global interface editor status has expired[edit]

Hello Krinke. This message is because the temporary global interface editor global right you hold expired on 20th March. If you wish to have the right renewed, please ask at SRGP for a new extension. Thanks for the wonderful job you do for the projects btw. Best regards, —MarcoAurelio 16:26, 24 March 2016 (UTC)[reply]

CVN[edit]

Hi, deer CVN staff. I have added a account creation in the countervandalism.net. Could you please have a look? Thanks in advanced.--Stang 10:06, 31 March 2016 (UTC)[reply]

CVN IRC Flags[edit]

Hi. I was wondering where can we request operator flags for CVN IRC Channels? the #cvn-wp-fa has been forgotten for a long time and I tend to «bring it to life»! Thanks!--Arian Talk 19:29, 31 March 2016 (UTC)[reply]

Page titles dissapearing at es.wikibooks[edit]

Hi Krinkle. At es.wikibooks the page titles suddenly dissapear once the page is loaded. Any idea why is this happening? Best regards, —MarcoAurelio 08:36, 18 April 2016 (UTC)[reply]

I'm not Krinkle but that appears to be this edit to a gadget which you load in common.js. --Krenair (talkcontribs) 14:50, 18 April 2016 (UTC)[reply]
I've disabled the script, but can't see the titles either. Will wait a bit. I've cleared my caché though. —MarcoAurelio 15:03, 18 April 2016 (UTC)[reply]

Yellow box on srwiki[edit]

... is shorter then on the other wikis example. Any idea why? Web browser: Firefox --Milicevic01 (talk) 17:43, 8 May 2016 (UTC)[reply]

GUC[edit]

Ciao Timo, I believe there's something wrong when GUC tells me it found # of edits in 1 project. According to crossactivity, that number should be around 214. (Also, stalktoy seems to be searching in fewer wikis but still finds more edits? Best, --Elitre (WMF) (talk) 11:37, 16 May 2016 (UTC)[reply]

@Elitre (WMF): Thanks for reporting. This is a known issue (phab:T118662). Unfortunately I can't (yet) prioritise this bug myself, however the code is public and open to patches. –Krinkle 13:23, 16 May 2016 (UTC)[reply]
Oh no, thank you for answering. I had no idea I could use Phab for GUC, will keep that in mind. Have a nice week, --Elitre (WMF) (talk) 15:15, 16 May 2016 (UTC)[reply]

Batch deletion of old MediaWiki translations[edit]

Hi Krinkle. I've encountered all this very old translations that ain't no longer useful. Is there any maintenance script that can delete all of them, regardless if they're equal to the source code or last editted by MediaWiki default? If not, how can I compile a raw list of those titles to get my bot to delete them? Thank you! —MarcoAurelio 21:25, 3 August 2016 (UTC)[reply]

Hi Marco,
There is a maintenance script that can delete messages, but we don't have an automatic way of determining whether a message existed in the past. There are lots of reasons for having MediaWiki namespace pages with titles that do not correspond with currently existing software messages (e.g. custom messages for the sidebar, gadgets, etc.). However if you identified some message keys that can be deleted, leave a comment on this gist and I'll include them in the next run. Be sure to also include a little bit of information about where the message was originally for as I'll need to verify that before deleting. Thanks! --Krinkle (talk) 20:21, 4 August 2016 (UTC)[reply]
Hello,
Thanks for your reply. All of those messages I linked to you were created by Barrie~metawiki in 2004/5/6. Now all of them are provided via translatewiki.net with updated texts, GENDER and PLURAL support, etc. I think we can safely delete them all if you ask me. Anyway, I can delete them too using the delete.py script for pywikibot, but I'll have to compile a list of those titles and I'm not good at mySQL...
Best regards, —MarcoAurelio 20:44, 4 August 2016 (UTC)[reply]
@Marco: Ah, I see. It's not about unused messages, but about outdated translations that are no longer equal. Those will indeed need to be manually deleted. I've compiled a list for you at https://quarry.wmflabs.org/query/11564. --Krinkle (talk) 20:59, 4 August 2016 (UTC)[reply]
Fantastic. I'll get myself flood-flagged (or my bot adminflagged) to do so. I'll also warn RFH just in case somebody thinks I went crazy with too much deletions. Best regards, —MarcoAurelio 21:18, 4 August 2016 (UTC)[reply]
Done. All gone! Thank you. —MarcoAurelio 16:40, 6 August 2016 (UTC)[reply]

Sp-contributions-footer[edit]

Hi Krinkle,

in MediaWiki:Sp-contributions-footer/de

[//tools.wmflabs.org/xtools/ec/?user={{urlencode:{{{1|$1}}}}}&project=metawiki&uselang=de X!s Bearbeitungszähler]

[…]/xtools/ec/[…] has to be […]/xtools-ec/[…]

[//tools.wmflabs.org/xtools-ec/?user={{urlencode:{{{1|$1}}}}}&project=metawiki&uselang=de X!s Bearbeitungszähler]

Maybe you have rights for mw:MediaWiki:Sp-contributions-footer/de also, same entry, same problem, because imported.

Thanks for support --Plagiat (talk) 22:11, 4 November 2016 (UTC)[reply]

all done by Matiia --Plagiat (talk) 18:08, 5 November 2016 (UTC)[reply]

GUC is broken today[edit]

Hi Krinkle

Warning: parse_ini_file(/replica.my.cnf): failed to open stream: No such file or directory in /data/project/guc/labs-tools-guc/settings.php on line 40

Fatal error: Uncaught exception 'Exception' with message 'MySQL login data not found at ' in /data/project/guc/labs-tools-guc/settings.php:42 Stack trace: #0 /data/project/guc/labs-tools-guc/settings.php(14): settings::_getMySQLloginFromFile() #1 /data/project/guc/labs-tools-guc/index.php(27): settings::getSetting('components') #2 {main} thrown in /data/project/guc/labs-tools-guc/settings.php on line 42
https://tools.wmflabs.org/guc/?user=5.228.3.225

Would you mind giving it a poke when you have a chance. Thanks.  — billinghurst sDrewth 20:26, 14 November 2016 (UTC)[reply]

See phab:T146154, planned maintenance on the servers. Sjoerd de Bruin (talk) 21:47, 14 November 2016 (UTC)[reply]

mw-gadgets-jsUpdater[edit]

Hello, according to my records a repository git://github.com/Krinkle/mw-gadgets-jsUpdater.git used to exist but was deleted. Correct? Did it change location or should I just forget it? Nemo 09:09, 18 December 2016 (UTC)[reply]

@Nemo: I'm not sure, however there is https://github.com/Krinkle/mw-gadget-jsUpdater ("gadget", not "gadgets"), which is just an old copy of https://github.com/he7d3r/mw-gadget-jsUpdater for when I submitted a pull request. --Krinkle (talk) 20:19, 18 December 2016 (UTC)[reply]

Hi Krinkle. We have a rollback script on eswiki, which since September, adds <bdi></bdi> tags in edit summary when used (example). Do you know why and how can it be fixed? Thank you for your time. Matiia (talk) 21:19, 29 December 2016 (UTC)[reply]

'Activate prefix pattern search:' in https://tools.wmflabs.org/guc/[edit]

Hi, I'd like to know what the function is of the option 'Activate prefix pattern search:', together with an example, if possible. Thanks in advance. --Backinstadiums (talk) 17:35, 27 January 2017 (UTC)[reply]

@Backinstadiums: It means GUC will look for contributions by any username that starts with that prefix. For example, edits for users who's username starts with "Krinkle" will also include "KrinkleBot". Or edits from all IP addresses that start with 208.80.154.* (mostly Wikimedia Labs). You can also place the percentage symbol to create a so-called "wildcard pattern", for example "208.80.154.%6" where it will find one or more characters in place of the percentage symbol.
» guc prefix "208.80.154.",
» guc prefix "Krinkle",
» guc pattern "208.80.154.%6".
--Krinkle (talk) 05:12, 28 January 2017 (UTC)[reply]
Oh, I hadn't noticed that addition to the tool. Lovely, it will be really useful.  — billinghurst sDrewth 09:12, 28 January 2017 (UTC)[reply]

Error message in GUC[edit]

Warning: dns_get_record(): A temporary server error occurred. in /data/project/guc/labs-tools-guc/src/IPInfo.php on line 90 while trying to access [2] (which, message aside, seems to load correctly?). HTH, Elitre (WMF) (talk) 08:26, 2 February 2017 (UTC)[reply]

@Elitre: Thanks for reporting. Didn't you report this in December as well? I recall looking into this before, and fixing it. Turns out, I did (commit), but forgot to deploy it on Tool Labs. Deployed now! --Krinkle (talk) 20:21, 2 February 2017 (UTC)[reply]

Help[edit]

Hello Krinkle ! I from the Georgian Wikipedia. We have a problem. We have created ka:Mediawiki:Common.js/Edit tools data, but it doesn't work. Mediawiki in Bulgarian Wikipedia works, (see: File:Temporary file.png) but in Georgian Wikipedia not. You can help us ?. - OTOGI Messages 15:30, 1 March 2017 (UTC)[reply]

RTRC and AAlertBot[edit]

Hi, I just wanted to let you know that the bot AAlertBot pops up in the RTRC feed, even with the Hide Bots box ticked. Can this be fixed? Sorry if you're the wrong person to ask. Thanks in advance. Lovkal (talk) 08:22, 3 April 2017 (UTC)[reply]

@Lovkal: Thanks for using RTRC! The "Hide bots" feature is based on the same system as you see on Special:RecentChanges and Special:Watchlist. It relates to whether the edit was marked with the so-called "bot flag", this is similar to the "Minor edit" label most users can apply to their edit, except this one is for robots. When someone creates a bot, they need to first be approved by the community before they are able to use the "Bot flag". Before that, the bots edits will appear as normal edits. For User:AAlertBot, this community did approve the bot flag. See Wikipedia:Bots/Requests for approval/AAlertBot. However it was decided by the bot owner that some edits should not be marked as "bot" so that they can still receive watchlist notifications. See User:AAlertBot#Why doesn't the bot always use the bot flag? for more information.
I didn't know about AAlertBot before you mentioned it here, but from what I understand most of its edits will be hidden when you "Hide bots". However, some of its edits are intentionally not marked as "Bot". This is no different in RTRC, than on Special:RecentChanges or Special:Watchlist. --Krinkle (talk) 20:00, 3 April 2017 (UTC)[reply]
Ah, I see. I just thought that it was a new bot that wasn't in some filter or something yet, since a great many of its edits cluttered up my feed earlier, but it looks like it was only temporary. Thanks anyway, Lovkal (talk) 20:03, 3 April 2017 (UTC)[reply]

Pausing[edit]

How do you pause in RTRC?--Mr. Guye (talk) 02:56, 10 April 2017 (UTC)[reply]

@Mr. Guye: Around the bottom-center of the toolbar is a "Pause" switch. It is also visible in the screenshot at User:Krinkle/RTRC-docs. Does this work for you? --Krinkle (talk) 04:26, 15 September 2018 (UTC)[reply]

Article Creater[edit]

Hi! I am an active Tamil Wikipedian. We wish to create many articles without the help of bots. So, we need a tool which collects data and construct simple sentences according to the given data. Like, Name:-_____ Birthdate:-_______. Then it should make sentences like. _____ is an astronomer. He was born on _______. Is there are any tools like this? Or is this possible to create any tools like this. If yes, then we can create many articles about people, places, films, rivers, etc. Can you design a tool for us sir? Please reply--Shri (talk) 16:00, 14 April 2017 (UTC)[reply]

javascript rewrite tools problematic with RL[edit]

Hi Krinkle. I am hoping that you can help me or at least give me some pointers. I am having loading issues with those scripts that rewrite pages where the rewriting of the display is increasingly not happening and I am having to whack and whack page refresh. An example is MediaWiki:Gadget-SBHandler.js which I used to be able to use without issue on pages like User:COIBot/XWiki/canadaedrugstore.com, to get the rewritten lines in the last section, and in its tricks to blacklist. [This is just typical of tools that I use and clearly for the roles that I do, I load lots of these xwiki, so this is just representative.] As ResourceLoader has developed further, I am presuming that these tools have not kept pace with required developments to rewrite pages. Is there something that I can do to address these issues? And please use simpler terms as I am not a developer, just the occasional tweaker.

Other examples are the copyright/no source/no permission/license scripts at Commons. Maybe it is that I run lots of tabs on my browser, and maybe that is the issue, though my newbie pokes at the console don't inform this simpleton of much. Thanks.  — billinghurst sDrewth 04:18, 30 April 2017 (UTC)[reply]

RTRC[edit]

Hello Krinkle. Can you please add an option to show log events? Thankes, 1Or (talk) 05:49, 23 June 2017 (UTC)[reply]

@1Or Thank you for using RTRC. I have recorded your request at https://github.com/Krinkle/mw-gadget-rtrc/issues/79. --Krinkle (talk) 04:23, 15 September 2018 (UTC)[reply]

fix needed[edit]

I add the code "{{coord|25.9|N|118.3|E|type:adm1st|format=dms|display=title}}" in these two articles: "Fuk-kien" in hakka Wikipedia and "Hok-kiàn-séng" in Minnan Wikipedia, but it cannot display in title [3] [4]. can you fix it? thanks.--112.5.237.102 14:45, 18 August 2017 (UTC)[reply]

@112.5.237.102: Thanks, I've fixed it (zh-min-nan, hak). The articles [5] and [6] now look better. --Krinkle (talk) 20:55, 18 August 2017 (UTC)[reply]

isabelle de charrière in azb language?[edit]

Hello Timo,

There now an article with your name in AZB language, which I cant read. https://azb.wikipedia.org/wiki/%D8%A7%D8%A4%D8%B2%D9%84:%D9%BE%D8%A7%D9%84%D8%A7%DB%8C%D9%87%D9%94_%D8%AE%D8%B1%D8%A7%D8%A8%DA%A9%D8%A7%D8%B1%DB%8C

It is in the article serie of Isabelle de Charrière, on de right side the other languages are not mentioned. Is this an correct article here? Here name, years, sources and portrait are not mentioned. According to me it looks like an incorrect article..... Tell me more please. Boss-well63 (talk) 17:00, 21 August 2017 (UTC)[reply]

@Boss-well63: The above link points to the azb.wikipedia.org version of Special:AbuseFilter. That is not an article, but an administrator control panel. The AZB-language link from your article at https://en.wikipedia.org/wiki/Isabelle_de_Charrière points to a different link, https://azb.wikipedia.org/wiki/%D8%A8%D9%84_%D8%AF%D9%88_%D8%B2%DB%8C%D9%84%D8%A7%D9%86, which is the South Azerbaijani version of that article. I am not sure how or why you ended up on the abuse filter page. This might be a technical problem unrelated to your article. I have reported this as a possible technical issue (T173852). Thanks! --Krinkle (talk) 17:22, 22 August 2017 (UTC)[reply]

One remark about the tool "Global user contributions"[edit]

Hello,
I have one remark about the tool "Global user contributions": it seems that it ignores the topic namespace in Wikidata. For instance, these global contributions show 1 edit on November 9, whereas 2 edits were made.
Regards --NicoScribe (talk) 09:29, 10 November 2017 (UTC)[reply]

Hi NicoScribe,
Thanks for using GUC! The problem of "Structured discussion" (Flow) contributions missing from GUC is a known issue tracked at phab:T114777. The underlying problem is quite difficult to solve because the Flow system stores its data in a different database. They appear for you at Special:Contributions because the Flow system modifies that page to merge the results with its own database. However, when GUC looks at in the internal databases, the Flow edits are not there. I hope to find a good way to solve this, but at the moment, this is not an easy thing to solve. --Krinkle (talk) 19:23, 10 November 2017 (UTC)[reply]

One remark about the tool "Global user contributions" (2)[edit]

Hello,
Thank you for the tool "Global user contributions". It is great, I use it everyday. I have already asked you a question (cf. two sections above), but I have another question today.
Since the beginning of this week (or perhaps a little before that, I do not remember it clearly) I have noticed that GUC is very slow (whereas the tool answered in a few seconds, before this problem). Have you noticed it? For instance, I have just done these requests:

Regards --NicoScribe (talk) 20:19, 13 May 2018 (UTC)[reply]

It's still very slow, makes it harder to follow cross-wiki vandals. Stryn (talk) 16:57, 24 May 2018 (UTC)[reply]
Thanks. I'm aware of the issue but do not have a solution today. I've recorded it at https://phabricator.wikimedia.org/T195515. I suspect this may be due to a change in the Cloud VPS databases, because I have not changed the GUC code recently. Krinkle (talk) 18:08, 24 May 2018 (UTC)[reply]
I see that you are still working on T195515, so I thank you very much. You said "I believe GUC is one of the most popular tools for content reviewers and vandalism correction": yes, it is the best tool against cross-wiki abusers. And generally several accounts and IP ranges must be checked, for each one of these numerous abusers... So I confirm that I am still using GUC, many many many times, every day. --NicoScribe (talk) 11:09, 24 June 2018 (UTC)[reply]

Quality of NTR, NOVA, NOS, VARA[edit]

Theres a prob with recognition Dutch sources (a documentary film available on NTR Player ntr.nl/player?id=NPS_1099780) on wikipedia `Malév_Flight_240` article. Broadcasting is publishing, but the player is not newspaper so unrecognized. Graag126.161.133.77 18:38, 8 June 2018 (UTC)[reply]

error after your edit[edit]

Hi please check my comment at here Yamaha5 (talk) 20:37, 18 October 2018 (UTC)[reply]

Personal importation of 2006 toolbar[edit]

Please excuse my intrusion. I am trying to personally use the old 2006 toolbar that is set up in a couple of places as a gadget (and were I have copied the old code). If one is wishing to use it through one's common.js file, I cannot work out the right wrapper for mw.loader.using. I have tried " 'mediawiki.toolbar' " and " 'ext.gadget.mediawiki.toolbar' " to no avail, and it wouldn't seem to be "user.options" (though I tried). I tried straight mw.loader.load statement all to no avail. Are you able to advise this dinosaur of the appropriate "using" statement so I can get back to my favoured, compact, and customised editor. Thanks.  — billinghurst sDrewth 01:06, 14 December 2018 (UTC)[reply]

Your temporary access has expired (2019)[edit]

Hello, the temporary global access you requested has expired. Just to let you know that If you want it back, feel free to open a new request on stewards' global permission request page on Meta-Wiki later. Please ask me or any other steward if you have any questions. Thank you! — regards, Revi 18:59, 28 February 2019 (UTC)[reply]

Global edit interface renewed[edit]

Hi. Just to let you know that I've just renewed your permissions for another year. Enjoy :-) —MarcoAurelio (talk) 11:32, 8 March 2019 (UTC)[reply]

Hi Krinkle, I reverted your CM change, as it breaks the portal updater template process - was this causing an upstream issue? — xaosflux Talk 18:09, 15 May 2019 (UTC)[reply]

RefToolbar in Sinhala Wikipedia[edit]

Hello, now we no longer have the RefToolbar in our project. Is it due to the changes you did there? I don't have interface admin right so I think I cannot do any changes there. Please help us. --Lee (talk) 03:06, 8 September 2019 (UTC)[reply]

@Lee: Hi, If you mean this edit, I believe this is unrelated. But, I have reverted it just in case. Let me know if it helped.
For help with RefToolbar, check Wikipedia:RefToolbar, or ask for help at Wikipedia talk:RefToolbar. --Krinkle (talk) 03:27, 8 September 2019 (UTC)[reply]
That didn't help. I can see that the CITE link is available in the visual editor but not on the source editor. Anyway thanks for looking in to it. --Lee (talk) 02:08, 9 September 2019 (UTC)[reply]

Yoruba Wikipedia[edit]

Hello Krinkle

Yoruba Wikipedia (https://yo.wikipedia.org/) is not being indexed by Goodgle. Please we will appreciate any help on this. I am a sysop on Yoruba Wikipedia. Thank you. T CellsTalk 06:29, 26 October 2019 (UTC)[reply]

Hi T Cells,
Thanks for letting me know,. I've forward the issue to a different engineering team at Wikimedia Foundation via Phabricator, at https://phabricator.wikimedia.org/T236847. Please login and subscribe there if you want to hear about updates. The engineers might also have further questions to ask there. You can login on Phabricator with your Wikipedia account (option "MediaWiki"). --Krinkle (talk) 21:01, 29 October 2019 (UTC)[reply]
Thank you Krinkle. T CellsTalk 05:39, 30 October 2019 (UTC)[reply]

Where are the translation strings of RTRC?[edit]

Hi, Krinkle. I've seen that the catalan version for RTRC needs some review, there are a few strings missing and one in a wrong language, but I can't figure out where does the gadget get the strings from. I have wandered in your Github repo, but no luck. Can you point it to me, please? And many, many thanks for building a tool that allows us to patrol the changes in a such convenient way! — The preceding unsigned comment was added by Papapep (talk) 13:46, 2 February 2020 (UTC)[reply]

@Papapep: Thank you for using RTRC and offering to help translate. The messages come from tools.wmflabs.org/intuition (source). To contribute translations, see translatewiki.net.
I will add a link to this in the next version of RTRC to make it easier to find in the future! --Krinkle (talk) 20:38, 26 February 2020 (UTC)[reply]

Hotcat frwikinews[edit]

Hi, since this modification the gadget is showing both prefix and "using" part (exemple) even if theres noting in the "using" parametre on MediaWiki:Gadget-HotCat.js/local defaults --SleaY (talk) 22:03, 27 April 2020 (UTC)[reply]

Hi SleaY,
The order of loading is 1: commons:MediaWiki:Gadget-HotCat.js, 2: n:fr:MediaWiki:Gadget-HotCat.js/local_defaults, 3: commons:MediaWiki:Gadget-HotCat.js/fr.
Number 1 defines using in English, and no prefix.
Number 2 disables using, and adds French prefix.
Number 3 adds French using.
There are two ways of installing HotCat on a wiki: Override configuration only, or override configuration and translation. On fr.wikinews.org, HotCat is currently installed as "configuration only" which is only for changing how it works and the colours, not for translation. That is why the French translation is also loaded from Commons, which causes the problem. To avoid the problem you describe there are two options:
--Krinkle (talk) 22:35, 27 April 2020 (UTC)[reply]

User:Caliburn/global.js[edit]

Hi Krinkle :). Your change has broken something, now global js page is categorized under Deleteme. Any idea? Regards. —Sgd. Hasley 12:23, 2 May 2020 (UTC)[reply]

Hi Hasley, sorry about that. My edit was likely the first time since 2016 that your script was re-processed by the wiki software. This means the software change from 2016 that only processes balanced <nowiki> tags, is now applying. Reverting my edit does not remove it from the Deleteme category, unfortunately. But, adding the closing tag for "nowiki" fixes it. I have done this for you. Good day! (Technical details can be found at phab:T236828.) --Krinkle (talk) 16:37, 2 May 2020 (UTC)[reply]

Problem to use classes in JavaScript[edit]

Hi Krinkle! I'm have problem to use classes in a gadget. This message show to me in the console: JavaScript parse error: Parse error: Missing ; before statement in file 'MediaWiki:Gadget-fastbuttons.js/core.js' on line 25 The script can be acessed here. My question is: we cannot use class in gadgets? That’s weird, because the editor doesn’t show any error before save, but the parser do.
Best regards, !Silent (talk) 14:57, 8 June 2020 (UTC)[reply]

Question about mw.ext.gadget[edit]

Hi! RTRC is loaded by calling mw.loader.load('ext.gadget.rtrc') but where is this gadget defined exactly? I cannot find it in MediaWiki:Gadgets-definition and am not sure where else to look. Huji (talk) 20:30, 8 July 2020 (UTC)[reply]

@Huji: Hi! The answer to that questionsdepends on where and how this call exists. Are you referring to situations where users are importing User:Krinkle/RTRC.js in their user script? --Krinkle (talk) 21:52, 8 July 2020 (UTC)[reply]
Yes; when I import User:Krinkle/RTRC.js it assumes an extension called `ext.gadget.rtrc` is already defined and will be loaded. But which code is defining and loading it? Huji (talk) 00:16, 9 July 2020 (UTC)[reply]
@Huji: The module ext.gadget.rtrc is not assumed to be defined. The code uses a conditional ternary. If you're on mediawiki.org where the original gadget exists, or if you're on a wiki with a local gadget by the same name, then it will ask mw.loader to make sure it is loaded (mw.loader will never load the same module twice, this is safe). If there is no RTRC gadget on the current wiki, then it enters the "else" case, which loads the gadget source code directly from mediawiki.org by URL. The getState() function returns null/false if the gadget is not defined. --Krinkle (talk) 01:09, 9 July 2020 (UTC)[reply]
You see, what I did not understand was that when you define rtrc on MediaWiki as a `type=general` gadget, it would be accessible as `ext.gadget.rtrc`. Which part of the RL code adds this `ext.gadget.` prefix to general type gadgets? Huji (talk) 11:54, 9 July 2020 (UTC)[reply]

RTRC vec translations[edit]

Hi, I am an administrator of vec.wiki. We inserted the RTRC gadget and put it as default (here), but there is a problem, we cannot find a way to translate it into Veneto. We have translated Intuition - Rtrc to translatewiki (here), but even after more than two weeks, the translation has not appeared. I am writing to you for this very reason. I await your kind reply and thank you in advance! Greetings and good work. --ꜰɪᴇʀᴏᴅᴇʟᴠᴇɴᴇᴛᴏ (Talk)-(Scrìvame in vec.wiki)-(Contributions) 09:20, 13 July 2020 (UTC)[reply]

@Fierodelveneto: Deploying new translations for RTRC is currently delayed by a new release of the Intuition tool on Toolforge. I am working on this this week, but it is complicated by the switch for new domain names (tools.wmflabs.org -> toolforge.org). I hope to have it running again within two weeks. Sorry for the delay. Thank you for using RTRC! --Krinkle (talk) 17:09, 13 July 2020 (UTC)[reply]
Perfect! I thank you for the clarification! Instead I thank you for creating it! PS. I saw that using the RTRC, the left sidebar hides automatically and is reactivated only by hovering over it with the mouse .. couldn't you create a gadget that allows users to use the sidebar in that way? It would be very interesting! A cordial greeting and a good job! --ꜰɪᴇʀᴏᴅᴇʟᴠᴇɴᴇᴛᴏ (Talk)-(Scrìvame in vec.wiki)-(Contributions) 17:42, 13 July 2020 (UTC)[reply]
@Fierodelveneto: This is now done! --Krinkle (talk) 19:10, 13 July 2020 (UTC)[reply]
tell me where and when, so we will be the first to insert it as a gadget! It would be beautiful! A greeting --ꜰɪᴇʀᴏᴅᴇʟᴠᴇɴᴇᴛᴏ (Talk)-(Scrìvame in vec.wiki)-(Contributions) 19:23, 13 July 2020 (UTC)[reply]

GUC[edit]

Hello, I noticed the GUC does not display the strikethrough typically found on the usernames of blocked accounts. I think it would be a useful feature to implement in order to differentiate between blocked and unblocked Wiki accounts. Is it something fairly easy to add? I will mention User:Luxo here as well. Thanks. Huggums537 (talk) 16:34, 23 July 2020 (UTC)[reply]

RTRC filters[edit]

Hi, I'm a patroller from Turkish Wikipedia who uses usually RTRC instead of recent changes. I have a request about RTRC filters. Is it possible to do hide AWB users & Template & only category changes with additional filters? "Hide patrolled edits" filter doesn't work for AWB users & Template & there are a lot of category changes, so it's hard to follow ip users & new registered users within that much changes. --Can (talk) 20:39, 21 September 2020 (UTC)[reply]

You are busy, I know. I ping u again sorry:) @Krinkle: --Can (talk) 07:50, 28 September 2020 (UTC)[reply]

Twinkle issues[edit]

Hi Krinkle, please see ro:Wikipedia:Cafenea#Wikipedia:Twinkle, this seems to be caused by a recent change made by you.--Strainu (talk) 09:24, 28 October 2020 (UTC)[reply]

WMA on ZuWp[edit]

Greetings Krinkle, i've been trying to activate the WikiMiniAtlas on ZuWP but the MediaWiki:Common.js page is locked, can you please help me out? Regards, 3atbulletz (talk) 17:16, 4 February 2021 (UTC)[reply]

@3atbulletz In what way is it locked? --Krinkle (talk) 17:23, 4 February 2021 (UTC)[reply]
@Krinkle, when i try to edit the page it gives me this message;

[You do not have permission to edit this page, for the following reason:

You do not have permission to edit this JavaScript page because it may affect all visitors.]

I'm stuck, 3atbulletz (talk) 17:31, 4 February 2021 (UTC)[reply]

@3atbulletz Only interface administrators from your community are allowed to develop or deploy local software code. --Krinkle (talk) 17:51, 4 February 2021 (UTC)[reply]
@Krinkle, Thanks for the clarity, much appreciated. Regards, 3atbulletz (talk) 18:09, 4 February 2021 (UTC)[reply]

Input op het trainen van ML-systemen[edit]

Hallo Timo,

Op nlwp zijn we bezig met het ontwikkelen van een kwaliteitsmodel voor artikelen op basis van ORES/ML.

Er wordt ook een paper geschreven over de samenwerking tussen de gemeenschap en ontwikkelaars. Zou jij eens mee willen kijken met je kennis van de wiki-gemeenschappen, maar ook met je technische achtergrond en de eerdere ontwikkeling van RTRC, naar Research:On the collaboration with Wikimedia Communities in the context of building Machine Learning Systems? Zijn de stappen volledig beschreven denk je, of missen we nog iets?

Dank voor je tijd alvast! Ciell (talk) 22:08, 7 March 2021 (UTC)[reply]

GUC loses days[edit]

In this query the tool loses my edits from 15 Aug & 16 Aug, but did some edit in Russian Wikipedia those days. 217.117.125.83 08:42, 20 August 2021 (UTC)[reply]

@217.117.125.83: Hi. This is working as expected. The tool shows "Limited to 20 results per wiki", and the latest 20 are indeed shown from ru.wikipedia.org (see also By wiki). For the older results, follow the "contribs" link next to your IP. --Krinkle (talk) 15:17, 20 August 2021 (UTC)[reply]
Is it possible to find all my edits done those day using your tool? 217.117.125.83 15:26, 20 August 2021 (UTC)[reply]

GUC[edit]

Hello!

Do you still manage GUC? I have namely filed two tasks on phab:tag/tool-global-user-contributions.Jonteemil (talk) 11:02, 21 October 2021 (UTC)[reply]

Schema property 'sameAs' pointing to Wikibase entries for third-party wiki[edit]

Hello Timo, I hope you're doing great, I was wondering; can the configurations made via this task to Wikidata be made on a non-WMF wiki? like can we also make such configuration on a Miraheze wiki? Please your feedback would be highly appreciated Ugochimobi (talk) 11:44, 8 March 2022 (UTC)[reply]

Excuse me[edit]

Could you rename my Beta Cluster account's username to match my current Wikimedia account's username SunAfterRain? My Beta Cluster account is [7], and this username comes with some privacy risk. Thanks. SunAfterRain 02:38, 28 October 2022 (UTC)[reply]

hlist[edit]

FYI, I'm working on moving hlist out of Common.css and I'm down to the last few pages. Right now your User:Krinkle/Scripts/Perf.js is one of them. Previous script writers have used loader.load on the TemplateStyles page (which is Template:Flatlist/styles.css). Izno (talk) 06:03, 11 March 2023 (UTC)[reply]

@Izno: Perf.js is not used on Meta-Wiki locally, it is included from my global.js on all wikis. Any styles local to Meta-Wiki are not relied upon by it. The line of code in question is specific to the Minerva skin, which does not load Common.css, and defines its own .hlist styles. In other skins, Perf.js does not use hlist. Feel free to ignore this one! Besides I think I'm the only person using this, I've not advertised or recommended Perf.js to other people (yet). Krinkle (talk) 04:18, 12 March 2023 (UTC)[reply]

InterProject.js[edit]

Hello. Since you're listed as a maintainer for that script, could you please see and comment on MediaWiki talk:Common.js#InterProject.js? Thank you, —MarcoAurelio (talk) 10:58, 27 March 2023 (UTC)[reply]

@MarcoAurelio I'm not very familiar with how that script is/was used by content on Meta-Wiki. I vaguely recall how it's used on Commons. I see it's removed here now. Assuming it hasn't caused any complains or missing information, looks alright to me! Thanks for asking :) Krinkle (talk) 22:57, 14 October 2023 (UTC)[reply]

Advies over repareren s:nl:Sjabloon:Header[edit]

Dag Krinkle. S:nl:Sjabloon:Header op de nl-wikisource werkt slecht. Ik probeerde door kopieren van de s:en:Template:Header die sjabloon te repareren. Dat leidde bij een testkopieer-preview tot de volgende waarschuwingen :

Sjabloon:Header/styles.css kan test-gekopieerd worden zonder waarschuwing. Voor Sjabloon:Header/main block bleek verder nodig : Sjabloon:Header/main block/styles.css , en ook die kan test-gekopieerd worden zonder waarschuwing.

Vragen:Mogen Sjabloon:Header, Sjabloon:Header/styles.css, Sjabloon:Header/main block, Sjabloon:Header/main block/styles.css Module:Edition en Module:Header gekopieerd worden van de engelse naar de Nederlandse wikisource. Zijn deze samen voldoende om sjabloon Header te repareren? Wat is het effect op de tag Pages index, waar die gebruik maakt van Sjabloon:Header, met name verschijnt dan met de titelheader ook de bijbehorende footer ? Is er een storende interactie met s:nl:Sjabloon:Koptekst die niet gebruikt wordt onder de tag pages index ? Groet. S:nl:Gebruiker:Havang(nl) Havang(nl) (talk) 09:49, 26 August 2023 (UTC)[reply]

@Havang(nl) Hoi! In principe mag een ieder sjablonen van de ene wiki naar een andere kopieëren. Ik ben zelf niet bekend met het Wikisource "Header" sjabloon dus ik kan zo 1-2-3 niet zeggen of het met de twee andere pagina's compleet is. Ik zou zeggen, probeer het! Mag ik vragen waarom je mij specifiek dit vraagt? Wellicht weet ik hier meer over dan ik op moment realizeer. Krinkle (talk) 17:54, 29 August 2023 (UTC)[reply]
Intussen heeft iemand het probleem aangepakt. Ik had enige tijd geleden op wikipedia de vraag gesteld, en daar is iemand nu op gekomen. Met binnen een dag een eerste jubelend resultaat. Het gonst nu van de activiteit op wikisource.--Havang(nl) (talk) 18:02, 29 August 2023 (UTC)[reply]

MediaWiki:Commons.css[edit]

Hello! I'm Kazakh Wikipedia's admin, Amangeldi. I see that you are one of the three who made the latest changes to the MediaWiki:Commons.css page in Kazakh Wikipedia and are more or less active now. I wanted to ask how I can get access to edit this page. Before this, I edited it without any problems, but now for some reason it requires “editsitecss” permission. I looked on MediaWiki, but couldn't find anything. Thank you! --Amangeldi Mukhamejan (talk) 13:36, 1 October 2023 (UTC)[reply]

In 2018, admin for users/content was separated from admins that support with software development skips for programming code in the interface.
You would need membership of the "Inferface admin" group on your wiki. This is controlled in the same way as other admin groups, by burocrats on your wiki.
https://www.mediawiki.org/wiki/MediaWiki_1.32/interface-admin
https://meta.wikimedia.org/wiki/Interface_administrators
https://kk.wikipedia.org/wiki/Special:Listgrouprights
https://kk.wikipedia.org/w/index.php?title=Special:Userlist&group=bureaucrat Krinkle (talk) 19:42, 29 October 2023 (UTC)[reply]

Regarding CVNBot[edit]

Hey Timo, sorry to bother you. I was wondering, is it possible to add CVNBot to #cvn-wp-faconnect? We've recently had some cross-wiki spammers on fawiki, and black/greylisting them (among other useful features of the bot) would've really helped us. Thanks! Arian Talk 13:29, 15 October 2023 (UTC)[reply]

I am not able to help directly but you can file a request at https://phabricator.wikimedia.org/tag/countervandalism-network/ Krinkle (talk) 19:46, 29 October 2023 (UTC)[reply]

FormWizard[edit]

Meta:FormWizard/Config should change the content model as it now only shows as Wikitext. As it already was asked on the discussion page in 2021, I thought it might be a good Idea to ask someone directly. Kind regards,  Rodejong  💬 ✉️  20:43, 16 February 2024 (UTC)[reply]

@Rodejong Attempting this leads to a Invalid JSON: Syntax error message, which cancels the "Change content model of a page" action.
Looking at MediaWiki:Gadget-formWizard-core.js, I don't see how this page is loaded. I see references to subpages of this, but I don't see an how the page itself is loaded. Is it? And should the many subpages be changed as well? Krinkle (talk) 21:13, 16 February 2024 (UTC)[reply]
I was attempting to install it on my own wiki at Miraheze, but I can't make head of tales of it, as I am not a coder. I'm just a copy/paster to be honest. I just saw that the page was in Wikitext. But the page is also in a strange place I think. In my logic, the page should be on: MediaWiki:Gadget-formWizard/Config in stead of Meta:FormWizard/Config, but I could be wrong.
The other files are also on MediaWiki → MediaWiki:Gadget-formWizard.js, MediaWiki:Gadget-formWizard.css and MediaWiki:Gadget-formWizard.
The only thing that could be a deciding factor is monolingual or multilingual which might be the reason for these many pages? Kind regards,  Rodejong  💬 ✉️  21:49, 16 February 2024 (UTC)[reply]