User talk:Plantaest/TwinkleMobile

edit

This is arguably one of the most used feature of Twinkle. Do you think it can be done? Neocorelight (Talk) 01:48, 3 July 2022 (UTC)Reply

Bumping this message so @Plantaest can remember this suggestion. I tried testing the feature on WP:SAND and it's still broken. Ahri.boy (talk) 01:27, 29 April 2024 (UTC)Reply
@Ahri.boy: Yup, I added. Thanks! Plantaest (talk) 12:55, 29 April 2024 (UTC)Reply
It actually works now. Awesome. Neocorelight (Talk) 05:41, 1 May 2024 (UTC)Reply

Hello

edit

Please will I be able to use rollback in twinkle Uricdivine (talk) 22:14, 17 July 2022 (UTC)Reply

In mobile display? No. You have to switch to desktop view to use it. Neocorelight (Talk) 01:42, 18 July 2022 (UTC)Reply

Neocorelight how can I switch to desktop view while still using a mobile? Or is it not possible?.. CHEERS Uricdivine (talk) 14:50, 18 July 2022 (UTC)Reply

@Uricdivine, @Neocorelight: Currently TwinkleMobile doesn't have rollback feature. But you can use mobileUndo and/or Restorer userscripts to get this feature on mobile. P.T.Đ (talk) 18:55, 18 July 2022 (UTC)Reply
@Uricdivine: look at the bottom of each page. Neocorelight (Talk) 22:08, 18 July 2022 (UTC)Reply

Thanks.. everything now works. Uricdivine (talk) 22:16, 18 July 2022 (UTC)Reply

Issue

edit

Brought up a topic in another twinkle issue but turns out its only for desktop. My issue is my twinkle is loading unreliably please help. UricdivineTalkToMe 18:25, 12 August 2022 (UTC)Reply

@Uricdivine: Sorry, I don't understand the issue. What is "loading unreliably"? If this is a Twinkle-related problem, you should ask at Wikipedia talk:Twinkle. P.T.Đ (talk) 14:24, 17 August 2022 (UTC)Reply
Done  UricdivineTalkToMe 18:04, 17 August 2022 (UTC)Reply
P.T.Đ, I have brought my problem to the link you said a user said I should bring it back here.
 
Screenshot for a user
the screenshot I sent are my script please are there any ones that might make my twinkle not load in every page I visit?.  UricdivineTalkToMe 11:53, 18 August 2022 (UTC)Reply
@Uricdivine: Are there pages where TwinkleMobile doesn't work? Can you give some examples? You can also clear cache, cookies and history on your mobile browser and test again. P.T.Đ (talk) 12:13, 18 August 2022 (UTC)Reply
P.T.Đ, is not a particular page. Any time I go to warn a user or enter a page and want to use a twinkle feature , twinkle doesn't open. I have cleared cache and all that but twinkle is not loading everytime  UricdivineTalkToMe 14:35, 18 August 2022 (UTC)Reply
@Uricdivine: I did some test, but didn't find any problems. TwinkleMobile will load 2-3 seconds after the page has finished loading, so you need to wait a bit. P.T.Đ (talk) 15:27, 18 August 2022 (UTC)Reply
P.T.Đ, Am aware it takes seconds to load, but sometimes it doesn't even show atall. Maybe the problem is because I tap tab menu too fast when I enter a page. Let me exercise patience and see if the problem persists then I notify you  UricdivineTalkToMe 18:59, 18 August 2022 (UTC)Reply

About TwinkleGlobal support

edit

Besides TwinkleMobile, I also use TwinkleGlobal by Xiplus for crosswiki antivandalist purposes. I would like to ask if it is possible to support TwinkleGlobal in TwinkleMobile?---Billytanghh (talk) 03:19, 20 August 2022 (UTC)Reply

@Billytanghh: I'm not sure, but I'll try. P.T.Đ (talk) 12:54, 21 August 2022 (UTC)Reply
@Billytanghh, ZI Jony, and Yahya: TwinkleGlobal on mobile: User:Plantaest/TwinkleMobile § TwinkleGlobalMobile (not good but it works). Plantaest (talk) 10:22, 23 September 2022 (UTC)Reply
Thanks @Plantaest. —Yahya (talkcontribs.) 12:31, 23 September 2022 (UTC)Reply

January 2024

edit

@Plantaest, I've installed everything both the (TwinkleMobile.js and TwinkleMobile.css) per your instructions, but the twinkle is not showing, I don't know what is wrong. I hope you can help me. Yotrages (talk) 18:29, 14 January 2024 (UTC)Reply

@Yotrages: You should edit the page User:Yotrages/minerva.js like this: User:Plantaest/minerva.js. Plantaest (talk) 21:24, 14 January 2024 (UTC)Reply
@Plantaest, I've done it what else. Yotrages (talk) 7:25, 15 January 2024 (UTC)
@Yotrages: You need to copy the content from page User:Plantaest/minerva.js and paste it into page User:Yotrages/minerva.js without making any edits (such as changing 'Plantaest' to 'Yotrages'). Plantaest (talk) 07:26, 15 January 2024 (UTC)Reply
@Plantaest, Oh sorry, I've changed it, so will it be accessible now. Yotrages (talk)

12:48, 15 January 2024 (UTC)

twinklefluff.js

edit

Hi Plantaest :) I was just wondering what the reason was for excluding this module from the script? The reason I ask is because, since the desktop diff page started being used on mobile, Twinkle action links appear when viewing a diff/viewing a previous revision in Minerva - however, when TwinkleMobile is enabled in my minerva.js, I get a JavaScript error when using any of these links (example below).

https://en.m.wikipedia.org/w/load.php?lang=en&modules=ext.gadget.Twinkle&skin=minerva&version=1ureq at line 467: TypeError: undefined is not an object (evaluating 'Twinkle.fluff.revertToRevision')

All the best, ‍—‍a smart kitten[meow] 08:18, 23 April 2024 (UTC)Reply

@A smart kitten: Thanks. I did not add the fluff module due to its incompatibility with the Minerva skin. However, following a recent update to the Minerva skin, I've integrated the fluff module into TwinkleMobile. Now, you can use revert functions. P/S: You will see two lines of [rollback (AGF)] || [rollback] || [vandalism], but it's okay. Plantaest (talk) 12:54, 29 April 2024 (UTC)Reply
I've hidden the second line, a little better. Plantaest (talk) 13:08, 29 April 2024 (UTC)Reply
Thanks, Plantaest :) I'm no longer seeing a second [restore this version] line, but I still see a second set of [rollback] [vandalism] buttons - would it be possible to hide the second set of them as well? All the best, ‍—‍a smart kitten[meow] 15:18, 29 April 2024 (UTC)Reply
@A smart kitten: I can't reproduce that error. I still only see one line. I think you can ignore it :) Plantaest (talk) 15:36, 29 April 2024 (UTC)Reply

Duplicate Twinkle

edit

Hi,

My mobile device is showing duplicate Twinkles in diffs: probably one from original Twinkle and one from Mobile. How can I disable desktop Twinkle on mobile view? Myrealnamm (💬pros · ✏️cons) 15:46, 29 June 2024 (UTC)Reply

Never mind, it fixed itself Myrealnamm (💬pros · ✏️cons) 16:12, 29 June 2024 (UTC)Reply
Now it’s showing duplicate warning windows. Hmm. I have to go so I’ll send more info later Myrealnamm (💬pros · ✏️cons) 16:29, 29 June 2024 (UTC)Reply

Twinkle Usage

edit

Hello Plantaest, Today I thought of using Twinkle on my Mobile. But after going through your steps I created a new page as described and pasted the format in it (User:Shashvat Verma/minerva.js) (mw.loader.load('//vi.wikipedia.org/w/index.php?title=User:Plantaest/TwinkleGlobalMobile.js&action=raw&ctype=text/javascript'); // en:User:Plantaest/TwinkleMobile by vi:User:Plantaest)

But as I have literally zero experience in coding I have no idea how to use this tool.

Please guide me... Shashvat Verma (talk) 12:37, 20 September 2024 (UTC)Reply

Sometime twinkle doesn't load

edit

Twinkle is working completely fine but sometime twinkle failed to load and and an error messege appear at bottom says

Javascript error https://en.m.wikipedia.org/w/index.php?title=User:KEmel49/common.js&action=history at line 168: Uncaught TypeError: Cannot read properties of undefined (reading 'elementid')

––kemel49(connect)(contri) 18:20, 17 October 2024 (UTC)Reply