User talk:Xiplus/TwinkleGlobal

Active discussions

Twinkle CSD FeatureEdit

Please add Out of project scope as a reason. Thanks. -- CptViraj (📧) 14:33, 15 October 2019 (UTC)

@CptViraj:   Done.--Xiplus (talk) 14:51, 15 October 2019 (UTC)
Thankyou for making this Twinkle global, It's very helpful. -- CptViraj (📧) 14:53, 15 October 2019 (UTC)

You may refer to SWViewer/config.json for the speedy templates (and reasons) in various wikis I think. --WhitePhosphorus (talk) 05:03, 16 October 2019 (UTC)

TwinkleGlobal 的速删理由Edit

Not a translation 也挺常用的 --WhitePhosphorus (talk) 09:18, 18 December 2019 (UTC)

@WhitePhosphorus: 完成。--Xiplus (talk) 11:01, 18 December 2019 (UTC)
@WhitePhosphorus: 這個似乎只在commons, wikidata, meta, mediawiki才使用,似乎不夠通用,所以移除了。你可以在設定頁面自訂加入該理由。--Xiplus (talk) 00:13, 16 January 2020 (UTC)

CSD dropdown list suggestionsEdit

Hi there, can you please add "Empty page". ~riley (talk) 01:42, 8 January 2020 (UTC)

@~riley: Done. --Xiplus (talk) 11:14, 9 January 2020 (UTC)
  • Sorry to usurp this, but similar vein: would it be possible to add a CSD dropdown item like "implausible redirect" or is that too project specific for global twinkle? --TheSandDoctor Talk 01:05, 13 January 2020 (UTC)


您好。请问是否能在Global Twinkle加入”use {{cot}} and {{cob}}"选项?Minorax (talk) 14:03, 14 February 2020 (UTC)

@Minorax: 請詳細說明。--Xiplus (talk) 14:05, 14 February 2020 (UTC)
如果我想一次过在SRG要求监管员全域鎖定许多用户(列20-30个以上),这可能导致页面混乱。加入{{cot}}和{{cob}}能将表“折叠”起来。Minorax (talk) 14:13, 14 February 2020 (UTC)
  • @Minorax: 現在提報10個以上會自動摺疊,門檻值可以在設定頁自訂。--Xiplus (talk) 02:28, 15 February 2020 (UTC)
谢谢!Minorax (talk) 02:32, 15 February 2020 (UTC)

Speedy template for jawikiEdit

ja:Template:Delete 说是特别给处理跨维基破坏/spam 但不懂日文的人准备的。对于 Global Twinkle 来说可能用这个模板而不是 ja:Template:即時削除 好一些。 --WhitePhosphorus (talk) 04:41, 3 March 2020 (UTC)

@WhitePhosphorus:   Done. --Xiplus (talk) 08:54, 3 March 2020 (UTC)

How does it work?Edit


I installed the gadget in my global.js, yet I see no indication of it working. Did I do something wrong?Jonteemil (talk) 22:22, 19 April 2020 (UTC)

@Jonteemil: Please configure your preference at User:Xiplus/Twinkle/Preferences. Minorax (talk) 23:56, 19 April 2020 (UTC)
@Minorax: I can't. I just get this result. I try to purge but nothing happens.Jonteemil (talk) 00:10, 20 April 2020 (UTC)
@Jonteemil: The bug has been fixed. Click "purge" button in Preferences page again. --Xiplus (talk) 00:24, 20 April 2020 (UTC)
@Xiplus: Thanks! It works now :).Jonteemil (talk) 00:27, 20 April 2020 (UTC)
I'm having trouble saving my preferences. The page just freezes at [1] without saving.Jonteemil (talk) 00:32, 20 April 2020 (UTC)
@Jonteemil: Fixed. Try again. --Xiplus (talk) 00:40, 20 April 2020 (UTC)

@Xiplus: Awesome, thanks! Faster service is probably impossible :).Jonteemil (talk) 00:43, 20 April 2020 (UTC)


Is it possible to add in an option to report pages to Global sysops/Requests? Minorax (talk) 02:48, 4 May 2020 (UTC)

I wrote a thing that mostly does this in my global.js, though it'll need some tweaks to work as a module properly --DannyS712 (talk) 03:18, 4 May 2020 (UTC)
@Minorax: Can you give me some examples (diffs)?--Xiplus (talk) 05:14, 4 May 2020 (UTC)
@Xiplus: Something like Special:Diff/20039553 & Special:Diff/20039555. Preferably just interwikilinks, like b:ja:Example. DannyS712's script seems good enough to be merged into this. So it'll be something like: Please delete, "reason", "interwikilink". --Minorax (talk) 05:49, 4 May 2020 (UTC)
@Minorax: When to mark CSD template on the page? When to request at GS/R?--Xiplus (talk) 07:03, 4 May 2020 (UTC)
@Xiplus: The CSD portion can be kept as per normal. As for when to request at GS/R, it'll be something like how a user reports to SRG. --Minorax (talk) 07:12, 4 May 2020 (UTC)
@Minorax: I have added this function. You will see the option in CSD panel if you are on a GS wiki. --Xiplus (talk) 09:48, 4 May 2020 (UTC)
@Xiplus: Thank you. Minorax (talk) 10:39, 4 May 2020 (UTC)

Occasionally, some pages have already been tagged for deletion by other users, so it is rather redundant to retag the page again. So, is it possible to add in an option to not tag the page? Minorax (talk) 12:13, 5 May 2020 (UTC)

@Minorax: Twinkle can detect old template on the page now. It will ask user whether to replace old template with new one. You can choose "Cancel". --Xiplus (talk) 02:18, 6 May 2020 (UTC)
Thanks. --Minorax (talk) 12:18, 6 May 2020 (UTC)

Block request on GS/REdit

Hi. Can you please add a feature to report users/IPs to GS/R? Sometimes, requests can be handled locally and a global block is not needed. Thanks. Ahmadtalk 09:13, 12 May 2020 (UTC)

@Ahmad252: Can you give me some diff links as examples? --Xiplus (talk) 09:34, 12 May 2020 (UTC)
Special:PermaLink/20079784, for example. Although LWCU is not needed, other links fit the purpose here. It's Please block {{LockHide|USERNAME|PROJECT:LANG:}}: REASON.. Ahmadtalk 10:38, 12 May 2020 (UTC)
@Ahmad252: Done. --Xiplus (talk) 08:51, 13 May 2020 (UTC)
Thanks! Ahmadtalk 10:34, 13 May 2020 (UTC)

Update rollback for Global TWEdit

On June 13, the English Wikipedia edition of twinkle was update to include rollback links for Special:RecentChanges and page histories.

Could you incorporate this into Global TW? Can I Log In (talk) 22:52, 26 June 2020 (UTC)

@Can I Log In Done. Xiplus (talk) 02:37, 27 June 2020 (UTC)

TwinkleGlobal RequestEdit

At: User:Xiplus/Twinkle/modules/twinkleconfig.js, line with:

box.appendChild(document.createTextNode('If you want to set Twinkle preferences, you can use the '));

Can this be changed to "If you want to change TwinkleGlobal preferences"? I use a local version of Twinkle at enwiki, this causes two exact duplicate banners for Twinkle preferences, one for local and one for this Twinkle. It'd be nice if it was made clearer which is for global and which is my Twinkle gadget. Thanks! ProcrastinatingReader (talk) 15:18, 2 July 2020 (UTC)

@ProcrastinatingReader:   Done. Xiplus (talk) 16:21, 2 July 2020 (UTC)
Thank you! :) ProcrastinatingReader (talk) 16:22, 2 July 2020 (UTC)

@Xiplus: Could you also change “Unable to load your Twinkle preferences” to “Unable to load your TwinkleGlobal preferences”? 𝟙𝟤𝟯𝟺𝐪𝑤𝒆𝓇𝟷𝟮𝟥𝟜𝓺𝔴𝕖𝖗𝟰 (𝗍𝗮𝘭𝙠) 19:36, 30 October 2020 (UTC)

New featureEdit


Can w:Wp:Twinkle/Preferences#Tag be implemented to TwinkleGlobal? This would be very appreciated at Commons and probably other wikis to where files and aricles are tagged with diverse cleanup templates. The costume tags would have to be added in three steps. First which wiki(s) it would be active on, what namespace(s) it would be active on and then the name of the template. Thanks!Jonteemil (talk) 18:42, 4 July 2020 (UTC)

@Jonteemil: If different wikis use different templates, it will be hard to combine this feature into TwinkleGlobal. I suggest you to use User:Hoo_man/tagger.js. Xiplus (talk) 03:08, 5 July 2020 (UTC)
Ok, thanks.Jonteemil (talk) 20:12, 6 July 2020 (UTC)

Cannot read parentNode of nullEdit

While looking through the logs I found an error that occurs on Flow Pages e.g.

I suspect this should be easy to rectify.

Hope this is helpful!

Uncaught TypeError: Cannot read property 'parentNode' of null
t stack_trace 	
	at Object.oldid  eval at <anonymous> (, <anonymous>:7175:58
at Object.twinklefluff [as fluff]  eval at <anonymous> (, <anonymous>:6936:33
at HTMLDocument.TwinkleGlobal.load  eval at <anonymous> (, <anonymous>:4919:16
at mightThrow
at process

Jdlrobson (talk) 23:03, 9 July 2020 (UTC)

@Jdlrobson: Fixed. Thanks for your reporting. Xiplus (talk) 23:36, 9 July 2020 (UTC)

Marking as patrolledEdit

I have reverted an edit from RecentChanges, but that edit was not automatically marked as patrolled (I am talking about the red exclamation mark). Also, how can I translate the TwinkleGlobal interface? --NGC 54 (talk / contribs) 18:36, 7 August 2020 (UTC)

@NGC 54: On which Wiki? Xiplus (talk) 11:11, 8 August 2020 (UTC)
@Xiplus: w:ro:Special:Diff/13566942. --NGC 54 (talk / contribs) 11:18, 8 August 2020 (UTC)
@NGC 54: Can you manually patrol it after rollbacking by TW? Is undoing edits autopatrolled? Because TW use undo function by API. If it's not autopatrolled, I think the bug is in MediaWiki instead of TW. Xiplus (talk) 11:36, 8 August 2020 (UTC)
"Can you manually patrol it after rollbacking by TW?". Yes, I can. But the manually patrolling it is less better than the automatic patrolling. --NGC 54 (talk / contribs) 11:47, 8 August 2020 (UTC)

Usrere reightsEdit

What usrere reights fdores onre nrerefd to usre thre svcreipt? It fdoresn't worek on somre wikis ifd I avctivcatre it threrere. 𝟙𝟤𝟯𝟺𝐪𝑤𝒆𝓇𝟷𝟮𝟥𝟜𝓺𝔴𝕖𝖗𝟰 (𝗍𝗮𝘭𝙠) 18:04, 19 September 2020 (UTC)

What user rights does one need to use the script? It doesn't work on some wikis if I activate it there. 𝟙𝟤𝟯𝟺𝐪𝑤𝒆𝓇𝟷𝟮𝟥𝟜𝓺𝔴𝕖𝖗𝟰 (𝗍𝗮𝘭𝙠) 18:10, 19 September 2020 (UTC)
@1234qwer1234qwer4: Nothing. Please tell me which wikis you can't use it? Xiplus (talk) 00:38, 20 September 2020 (UTC)
Okay, now that I check it seems I just didn't wait long enough for the script to load. Will post an update if I experience something that suggests otherwise. 𝟙𝟤𝟯𝟺𝐪𝑤𝒆𝓇𝟷𝟮𝟥𝟜𝓺𝔴𝕖𝖗𝟰 (𝗍𝗮𝘭𝙠) 20:39, 21 September 2020 (UTC)

CSD Template on kowikiEdit

@Xiplus: kowiki uses the applicant variable, so it must be {{subst:삭제 신청. Thanks. Gomdoli (talk) 11:32, 5 October 2020 (UTC)

@Gomdoli4696: Done. Xiplus (talk) 14:33, 5 October 2020 (UTC)

Link to TwinkleGlobal preferencesEdit

I suggest the link also be shown on your global.js page. 𝟙𝟤𝟯𝟺𝐪𝑤𝒆𝓇𝟷𝟮𝟥𝟜𝓺𝔴𝕖𝖗𝟰 (𝗍𝗮𝘭𝙠) 21:21, 10 October 2020 (UTC)

@1234qwer1234qwer4: Done. Xiplus (talk) 00:14, 13 October 2020 (UTC)

Grant request for localising Twinkle to other wikisEdit

Hi Xiplus and others. I wanted to note that I have made a Rapid Grant request for localising the functionality of Twinkle to other wikis – even including modules such as Tag, XFD, CSD and Block. See Grants:Project/Rapid/SD0001/Twinkle localisation. Feel free to drop any comments or community endorsements. Thanks! SD0001 (talk) 13:44, 14 October 2020 (UTC)

Warn/Notify usersEdit

Hey. I'm unable to warn disruptive users, specifically in my case an IP at en.wikibooks. When I click the "Warn" option, it opens a box saying "Warn/Notify users" but nothing pops up inside the box (it's a blank box). I'm wondering what is going on? Because it would be very convenient if this issue can be resolved and I can warn users with a simple click of a few options. Thanks. —Atcovi (Talk - Contribs) 15:00, 29 October 2020 (UTC)

@Atcovi: There is no Warn feature in TwinkleGlobal. I think you are not using TwinkleGlobal. Xiplus (talk) 15:25, 29 October 2020 (UTC)
Unfortunate. Alright, thank you! —Atcovi (Talk - Contribs) 15:28, 29 October 2020 (UTC)
@Atcovi: You might look into the gadget section of your preferences section on Wikibooks. 𝟙𝟤𝟯𝟺𝐪𝑤𝒆𝓇𝟷𝟮𝟥𝟜𝓺𝔴𝕖𝖗𝟰 (𝗍𝗮𝘭𝙠) 19:33, 30 October 2020 (UTC)

TwinkleGlobal IssueEdit

Hi there. I have noticed an issue with twinkle global where the CSD deletion options and "rollback" buttons aren't there. Is there a problem with the program or am I doing something wrong? Thanks, --IWI (talk) 13:50, 25 January 2021 (UTC)

@ImprovedWikiImprovment: Which pages that Twinkle can't work on? Xiplus (talk) 12:46, 29 January 2021 (UTC)
Hello, and thanks for answering. Some wikis it works on, but some it doesn't. Mainly the smaller wikis it doesn't work on. --IWI (talk) 12:48, 29 January 2021 (UTC)
@ImprovedWikiImprovment: Can you give me some specific pages or URL? Xiplus (talk) 12:50, 29 January 2021 (UTC)
Looking now it seems to be working good now. I'm not sure what caused this, I am very sorry for wasting your time :/ --IWI (talk) 13:04, 29 January 2021 (UTC)
@ImprovedWikiImprovment: OK. It may takes more than 10 seconds to load scripts when you visit the wiki for the first time. Xiplus (talk) 13:09, 29 January 2021 (UTC)
Yeah that might have been the problem. I am so sorry for this :( --IWI (talk) 13:15, 29 January 2021 (UTC)

stopped working todayEdit

The script has not been loading today. I tried using the &safemode=true URL parameter and importing the script individually through the console, but it did not throw any errors. 𝟙𝟤𝟯𝟺𝐪𝑤𝒆𝓇𝟷𝟮𝟥𝟜𝓺𝔴𝕖𝖗𝟰 (𝗍𝗮𝘭𝙠) 11:11, 8 February 2021 (UTC)

@1234qwer1234qwer4: Which pages that Twinkle didn't load on? Xiplus (talk) 11:16, 8 February 2021 (UTC)
This seems to have been a device issue. I will restart my computer and check again, as the script loads fine on a different device. 𝟙𝟤𝟯𝟺𝐪𝑤𝒆𝓇𝟷𝟮𝟥𝟜𝓺𝔴𝕖𝖗𝟰 (𝗍𝗮𝘭𝙠) 11:38, 8 February 2021 (UTC)

Twinkle bug with bullet pointsEdit

Hi Xiplus, liking Global Twinkle. I just came across an issue from the original version with bullet points in the dropdown, when they should not be there. That issue is described here. From what its look like it has been fixed upstream but not here. Could you take a look at this? Thanks in advance. --Wiki13 (talk) 23:13, 9 February 2021 (UTC)

@Wiki13: I didn't see the bug. But I have applied the patch. Xiplus (talk) 06:05, 10 February 2021 (UTC)

CSD choose a different template in jawikiEdit

@Xiplus: The Note says {{Delete}} will be used as speedy deletion template on this wiki. But d:Q4847311 shows the jawiki template for csd is w:ja:Template:即時削除. I saw your done at #Speedy template for jawiki, but now, it uses {{Delete}} again.

And by the way, can TW allow me to add a fixed template at the top of the page and allow me to modify the parameters of that template before submitting it? For example, can I add a w:ja:Template:即時版指定削除 to CSD or somewhere and add its parameters?--LaMagiaaa (talk) 12:42, 12 February 2021 (UTC)

@LaMagiaaa: 1) He said we should use Template:Delete instead of Template:即時削除. Template:Delete was created for SWMT (see description on ja:Template:Delete). So TwinkleGlobal don't follow settings on wikidata when you are on jawiki. 2) There is no such function in TwinkleGlobal and original (enwiki) Twinkle. It's hard to build and use the function on different wikis. Xiplus (talk) 09:38, 13 February 2021 (UTC)
Xiplus, Okay. Thanks for your reply. --LaMagiaaa (talk) 09:53, 13 February 2021 (UTC)
Return to the user page of "Xiplus/TwinkleGlobal".