User talk:Xiplus/TwinkleGlobal

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search

TG for mobile web browsers[edit]

Hi @Xiplus:, could you please do something to enables TG on mobile view (Minerva skin). Like, w:en:User:P.T.Đ/TwinkleMobile nor w:bn:ব্যবহারকারী:Yahya/TwinkleMobile.js. Thanks! Regards, ZI Jony (Talk) 11:11, 6 July 2022 (UTC)Reply[reply]

Waiting for upstream work. Xiplus (talk) 13:06, 7 July 2022 (UTC)Reply[reply]

@ZI Jony and Xiplus: I forgot to notice. Plantaest made it, see vi:User:Plantaest/TwinkleGlobalMobile.js Vanhcontact me - talk on viwiki 16:55, 11 October 2022 (UTC)Reply[reply]

p/s: Plantaest is P.T.Đ but has been renamed. Vanhcontact me - talk on viwiki 16:58, 11 October 2022 (UTC)Reply[reply]


The rollback option doesn't on the contributions page for an IP address CIDR range.


Ilovemydoodle (talk) 19:52, 3 August 2022 (UTC)Reply[reply]

There is currently no reliable method to get the IP address for range across wikis, so the function is unavailable. Xiplus (talk) 05:40, 11 August 2022 (UTC)Reply[reply]
@Xiplus: What do you mean by that? – Ilovemydoodle (talk) 04:50, 1 September 2022 (UTC)Reply[reply]
mw.config.get('wgRelevantUserName') is unavailable on Special:Contributions/ Xiplus (talk) 04:56, 1 September 2022 (UTC)Reply[reply]

Lack of spacing between rollback links in page history[edit] (talk) 04:49, 1 September 2022 (UTC)Reply[reply]

@Xiplus: Why does this happen only with 'rollback' links and not 'retore' links? Thanks. – Ilovemydoodle (talk) 05:22, 1 September 2022 (UTC)Reply[reply]
Fixed. Xiplus (talk) 02:31, 14 September 2022 (UTC)Reply[reply]

Issue with commons[edit]

Commons images have more data then just wikitext, when reverting with TW, users are given the false impression that the edits have been fully reverted, when in fact, they have only been partially undone. When clicking on an older revision and clicking 'edit', commons already gives you the option to fully restore it, so I don't see why this can't work for Twinkle too. – Ilovemydoodle (talk) 17:37, 2 September 2022 (UTC)Reply[reply]

Twinkle handles wikitext only. Xiplus (talk) 02:34, 14 September 2022 (UTC)Reply[reply]

CSD options[edit]

You should add 'attack page' and 'created by LTA/ban evader' as options. – Ilovemydoodle (talk) 06:14, 3 September 2022 (UTC)Reply[reply]

You can add these in your preferences. Xiplus (talk) 02:34, 14 September 2022 (UTC)Reply[reply]

CSD template on ViWiki[edit]

CSD Template on Vietnamese Wiki use "-" instead of 1=

Which means {{db-nonsense}} (Example) rather than {{db|1=nonsense}} Vanhdeeptryy (talk) 03:10, 6 September 2022 (UTC)Reply[reply]

@Vanhdeeptryy: How is this different than enwiki?Ilovemydoodle (talk) 03:59, 6 September 2022 (UTC)Reply[reply]
yeah, but CSD in Twinkle Global using {{db|1=c1}} Vanhdeeptryy (talk) 04:08, 6 September 2022 (UTC)Reply[reply]
@Vanhdeeptryy: While this is possible, I don't think it will be easy, as it will require a different localization for all 900+ wikis. – Ilovemydoodle (talk) 04:14, 6 September 2022 (UTC)Reply[reply]

Sorry I didn't understand what you meant at the time and was slow to respond. What I mean by that is that TwinkleGlobal is automatically using the template {{db}} instead of {{db-something}} Vanhcontact me - talk on viwiki 16:52, 11 October 2022 (UTC)Reply[reply]


@Xiplus, I suggest changing * {{MultiLock to {{MultiLock, since the "Lock all" line isn't really supposed to be part of a larger list (and definitely never is one in the reports generated by TwinkleGlobal). Before Special:Diff//23798355, it would show up on the same level as the accounts listed, which made even less sense, but now it just creates a one-element list that isn't really useful in my opinion. ~~~~
User:1234qwer1234qwer4 (talk)
21:07, 13 September 2022 (UTC)Reply[reply]

Done. Xiplus (talk) 01:41, 14 September 2022 (UTC)Reply[reply]

Remove jquery.tipsy[edit]

Can you remove 'jquery.tipsy' out of dependencies array on User:Xiplus/TwinkleGlobal/load.js#L-115, since it isn't used in the source. Plantaest (talk) 08:25, 20 September 2022 (UTC)Reply[reply]

Done. Xiplus (talk) 12:10, 22 September 2022 (UTC)Reply[reply]

Hrwiki speedy-delete change[edit]

@Xiplus: Hi! The hrwiki community has recently decided to rework their deletion procedure. As part of the new procedure, the deletion template must be substituted: {{subst:Brisati|reason}}. Could you kindly change TwinkleGlobal to reflect this change? Thank you! —Ivi104 23:00, 28 September 2022 (UTC)Reply[reply]

Done. Xiplus (talk) 02:41, 29 September 2022 (UTC)Reply[reply]

Why does it seem to drop-down automatically on many sites?[edit]

It ends up blocking access to links underneath it... ~Lofty abyss 17:54, 30 September 2022 (UTC)Reply[reply]

What do you mean? Xiplus (talk) 03:25, 1 October 2022 (UTC)Reply[reply]

hewiki CSD template[edit]

They don't appear to have one. Instead, it looks like CSD requests are listed at he:ויקיפדיה:בקשות_ממפעילים#בקשות_מחיקה (see he:ויקיפדיה:מחיקה מהירה). There's a local script for it, but it's not translatable, so it would be nice if it was supported in TwinkleGlobal. AntiCompositeNumber (talk) 00:59, 5 December 2022 (UTC)Reply[reply]

It looks more like an XFD process. So it won't be supported in TwinkleGlobal. Xiplus (talk) 02:58, 5 December 2022 (UTC)Reply[reply]


Hi, Xiplus, I am an administrator at, and I do a lot of work investigating and blocking socks. Generally, I can request a global lock of a sock from the sock puppet investigation (SPI) report using a script created by someone else (I am NOT good at scripts). However, sometimes I block a sock outside of SPI and I'm too lazy to go to Meta and manually request a glock, so I often let it go. Someone at said that with your script I would be able to use Twinkle at to file a request at Meta. The same person said that installing your script would not interfere with any other local Twinkle options, as I use Twinkle a great deal at Finally, the installation must be done here creating global.js here. Is everything I just said correct? If so, my question is what piece of code do I have to stick into global.js for just this one feature to work? Sorry for the length of this post. Thanks.--Bbb23 (talk) 22:11, 30 January 2023 (UTC)Reply[reply]

@Bbb23: You call install Twinkle by following the instruction in User:Xiplus/TwinkleGlobal#How to install. There will be a "GARV" button in the "TW" dropdown. You can use it to request global lock on any wikis. And there is a advanced usage, see User:Xiplus/TwinkleGlobal#Advanced usage. You need to modify w:en:Module:Sock list and install another script. Xiplus (talk) 07:25, 3 February 2023 (UTC)Reply[reply]