Adding article functionality to Template:Welcome cookie

edit

Hello,

Would it be possible to add article naming functionality to Template:Welcome Cookie in the same way as Template:Welcome? This way, the template would say something to the effect of "I noticed your edits on <x article> and wanted to welcome you! Etc. Let me know if this has already been discussed!

Thanks!

JuxtaposedJacob (talk) | :) | he/him | 09:34, 28 October 2024 (UTC)Reply

Thanks for the idea. This page is mainly for changing the Twinkle gadget. Requests for coders to edit/improve templates might be a better fit for WP:RT or WP:VPT. Hope that helps. –Novem Linguae (talk) 09:50, 28 October 2024 (UTC)Reply
Thank you @Novem Linguae, will follow up there.
Have a great day!
JuxtaposedJacob (talk) | :) | he/him | 06:47, 31 October 2024 (UTC)Reply
  Closing without actionNovem Linguae (talk) 20:40, 31 October 2024 (UTC)Reply

Adding other Welcomeen templates to the default configuration

edit

Hey. As someone who frequently welcomes new users, I sometimes have the occasion to use the many welcomeen templates, which basically says "Hi! Unfortunately, you're not fluent in English. Please edit another language Wikipedia. Thank you." I have had to add several welcomeen templates, and I propose that all be added to the default configuration. Please note that I've used all of them at least once.

Now, I'm vaguely aware that other welcomeen templates exist. On principle, I'm not opposed to having all of them added to the default configuration of Twinkle. I'm just trying to prevent inertia by suggesting only the ones I've had occasion to use. I dream of horses (Hoofprints) (Neigh at me) 22:21, 2 November 2024 (UTC)Reply

CFD/S merging

edit

In Special:Diff/1255067356, I expected it to put a merge tag ({{subst:cfm-speedy}}), but it put a rename tag instead. jlwoodwa (talk) 23:55, 2 November 2024 (UTC)Reply

Misclick? Has it happened anywhere else? Primefac (talk) 12:34, 3 November 2024 (UTC)Reply
I don't see how it could have been a misclick – there's no "rename vs merge" option to incorrectly select, and it did go through as C2F (as shown in Special:Diff/1255067358). I think the issue is that the speedy category criteria are mostly for renaming, and Twinkle doesn't know that C2F is the exception – it's for speedy merging. jlwoodwa (talk) 15:15, 3 November 2024 (UTC)Reply
@Jlwoodwa. Can you confirm the steps you took? Was it TW -> XFD -> CfD/S -> C2D?
When I did that on testwiki just now, it placed {{subst:cfr-speedy|1=Trochilinae}}. But you're saying it should instead place {{subst:cfm-speedy|1=Trochilinae}}? –Novem Linguae (talk) 15:34, 11 November 2024 (UTC)Reply
Almost – it was TW→XfD→CfD/S→C2F. Most of the speedy category criteria are used for renaming, but WP:C2F is for merging, so I think it should place {{subst:cfr-speedy}} in most cases and {{subst:cfm-speedy}} only when C2F is used. jlwoodwa (talk) 16:44, 11 November 2024 (UTC)Reply

Request for a new warning to be added

edit

Every once in a while I have to use the Uw-pronouns series of warnings, and it kind of bugs me that this isn't available for use with twinkle. I'm not quite sure if this is right place to suggest something like this, and if it isn't then I would greatly appreciated being pointed in the right direction. Gaismagorm (talk) 00:44, 4 November 2024 (UTC)Reply

Can we have a warning for renominating pages where the discussion was recently closed?

edit

This would be very ideal as I am not always aware when using Twinkle whether a page has recently been nominated for deletion or not. I just made that same mistake again and I think this problem is avoidable. Something like this:

  • Warning: This page was was recently nominated for deletion and had its discussion closed. Please take caution before renominating again.

or something similar. Awesome Aasim 02:41, 8 November 2024 (UTC)Reply

See also this issue (related, but different), about giving a heads-up when undeleting a page that was previously undeleted. — Frostly (talk) 23:15, 10 November 2024 (UTC)Reply
There's also this thing called "checking the talk page first" as that is the normal location for notifications of previous nominations. Just Step Sideways from this world ..... today 01:13, 11 November 2024 (UTC)Reply
edit

Following a TfD, {{Advert}} and {{Promotional tone}} have been merged and moved to {{Promotional}}. Please update Twinkle accordingly. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 17:11, 8 November 2024 (UTC)Reply

mw.loader.load('ext.gadget.TwinkleAr');

edit
 
the options that i never get in arwiki

Hi Every one,

I'm Ayoub from arwiki, sorry if i ask for help in the wrong place nd sorry for my english, As you may know arwiki use

mw.loader.load('ext.gadget.TwinkleAr');

as here to load Twinkle, and it works very well, but in File namespace when i choiceTw>Tag its gives me nothing, but in articles pages it works, so I need help to fix that probleme,   Thank you — أيوب (Talk 📧) 21:41, 8 November 2024 (UTC)Reply

It might be better to get a technical person from your own wiki to look into this. Have you tried posting somewhere like ar:ويكيبيديا:الميدان/تقنية or ar:نقاش_ويكيبيديا:لمح_البصر? –Novem Linguae (talk) 17:20, 11 November 2024 (UTC)Reply
@Novem Linguae Thank you for replay, I tried to share this issus with Interface administrators in Wikipedia:Interface administrators' noticeboard there, but i don't get any information exept that Twinkle in arwiki is load from enwiki, that's why i open this topic here hoping find any help. — أيوب (Talk 📧) 19:49, 11 November 2024 (UTC)Reply
@Novem Linguae thank you again, the issus is fixed. — أيوب (Talk 📧) 21:16, 11 November 2024 (UTC)Reply
You're welcome.   Closing without actionNovem Linguae (talk) 03:27, 12 November 2024 (UTC)Reply

Twinkle does not update selections when copy-pasting via right click

edit

Virtually what the title says. I discovered this as I got lazy when adding tags via twinkle.
Steps:
1. Open the Twinkle gadget for tagging
2. Use the copy paste feature when right clicking to paste in a valid option (in my case, unreferenced)
Expected result: Twinkle should update to show the unreferenced option.
Actual result: Nothing updates and it stays on the screen from when it was opened.
Cheers! Klinetalkcontribs 18:32, 16 November 2024 (UTC)Reply

Request for an RfPP preset that addresses specific pattern of disruptive editing

edit

It would be nice to be able to select a page-protection preset designed to address MAB-style IP sockpuppetry on noticeboards where we want to avoid restricting new editors' access. Currently I've been applying 1-hour or 2-hour autoconfirmed or pending changes restrictions; I don't have strong opinions about what exact number is best but I can propose 2 hours pending changes as the preset in order to have a concrete suggestion to start with. The current sockpuppetry log statement is essentially fine, could be made more precise as Persistent sockpuppetry of a high-traffic forum. signed, Rosguill talk 22:31, 19 November 2024 (UTC)Reply

Twinkle shows Teahouse is protected when it expired two minutes ago

edit

At 23:45 November 19, 2024, I was going to remove the protection template from the teahouse when Twinkle says that it is protected. It actually expired two minutes ago (23:43 November 19). I think this is because my local time is "earlier" than UTC time (for example, if UTC is at 13:00, my local time is still before that), and Twinkle assumes my time zone is the same as UTC.

 
I captured a screenshot of the error.

Myrealnamm (💬Let's talk · 📜My work) 23:58, 19 November 2024 (UTC)Reply

Renaming fluff to rollback

edit

Hello talk page watchers. I have a patch in the queue that, once merged, will rename "fluff" to "rollback". Fluff is the bespoke name for Twinkle's rollback module which provides [rollback] links on diff pages. Anyway, this also involves renaming the preference variables confirmOnFluff and confirmOnMobileFluff. Changing these preference names will make Twinkle forget those two particular preferences for 937 users that are not using the default setting. If this patch is merged as is, those folks will have to go to their Twinkle preferences and turn those preferences back on manually.

Anyway, just wanted to check with the group first. Is this kind of collateral damage acceptable here? (A bunch of the 937 are probably inactive.) Or does it need to be mitigated somehow, with backwards compatibility code, an WP:AWB run to change them all, etc? I'm leaning towards it being acceptable, but happy to hear other thoughts. Thanks. –Novem Linguae (talk) 09:15, 21 November 2024 (UTC)Reply

  DoneNovem Linguae (talk) 10:47, 22 November 2024 (UTC)Reply
I'd personally lean towards doing an AWB run to rename the variables, because it's low-risk and a quick fix. — Frostly (talk) 10:01, 23 November 2024 (UTC)Reply
SD0001 wrote a patch to provide reverse compatibility, so we'll just do that I think. –Novem Linguae (talk) 17:23, 23 November 2024 (UTC)Reply

Problems with WP:Twinkle

edit

When I try to revert edits on any article or Wikipedia page, it doesn't seem to revert it. Instead, it says this for example:

Grabbing data of earlier revisions: revision Diff revision number that was made 1 revisions ago by IP or username

I don't know if I'm the only one having this issue with Twinkle.

To note that I'm using Wikipedia on advanced mobile mode. I'll try on my desktop computer to see if it has the same problem or not, I haven't tried on my computer yet but will do it soon.

Anyway, can anybody tell me if this is a technical issue or a bug? PEPSI697 (💬📝) 00:37, 24 November 2024 (UTC)Reply

Only the "Restore this revision" feature works for me at the moment. PEPSI697 (💬📝) 00:47, 24 November 2024 (UTC)Reply
I tried to revert edits by 114.10.102.221 by clicking "Rollback", but this feature still didn't work for me. Achmad Rachmani (talk) 13:53, 24 November 2024 (UTC)Reply
I came here looking to see if anyone had asked this question.
I've had this problem since yesterday. Same message just sits on the screen. This is using mobile and Twinkle.
I will see what happens when I switch to Desktop, I didn't think to see what happened when I switched. Knitsey (talk) 13:57, 24 November 2024 (UTC)Reply
I've just tried it in Desktop mode and using Twinkle, still doesn’t work. Knitsey (talk) 14:06, 24 November 2024 (UTC)Reply
Rollback (PERM, as well as Twinkle isn't working for me. Knitsey (talk) 14:11, 24 November 2024 (UTC)Reply
Moved thread from VPT. I couldn't reproduce any problems with rollback or vandalism rollback buttons on WP:Sandbox. @PEPSI697 Do you get any WP:JSERRORs in the browser console? – SD0001 (talk) 16:59, 24 November 2024 (UTC)Reply
This is likely related to me renaming twinklefluff to twinkletollback this week. Will take a look. Need to get a good steps to reproduce though. Maybe a specific twinkle setting is involved. –Novem Linguae (talk) 19:21, 24 November 2024 (UTC)Reply
@Novem Linguae @SD0001 I've been experiencing the same issues for the past few days. Can you assist me please?. ®asteem Talk 19:43, 24 November 2024 (UTC)Reply
Looks like all 3 of these folks don't have any Twinkle options set (twinkleoptions.js doesn't exist). @Rasteem. Can you please check for WP:CONSOLEERRORs and report back? Can you also let me know what skin you are using, and if you are on mobile or not? –Novem Linguae (talk) 20:44, 24 November 2024 (UTC)Reply
OK, I was able to reproduce this. I think it only happens if there's no twinkleoptions.js file. "jQuery.Deferred exception: Cannot read properties of undefined (reading 'confirmOnFluff') TypeError: Cannot read properties of undefined (reading 'confirmOnFluff')", stack trace coming from "if (name === 'confirmOnRollback' && Twinkle.prefs.confirmOnFluff !== undefined) {". Will release a hotfix shortly. –Novem Linguae (talk) 21:09, 24 November 2024 (UTC)Reply
@Novem Linguae Yes, currently I'm on mobile. But how can I add twinkleoptions.js Manually.? ®asteem Talk 21:16, 24 November 2024 (UTC)Reply
Don't worry about it. I fixed the code instead. Try rolling back something in exactly 10 minutes. Should be fixed once caches clear in 10 minutes. –Novem Linguae (talk) 21:32, 24 November 2024 (UTC)Reply
Your prompt assistance is greatly valued. Thank you for your help and support!.  
I've created User:Rasteem/twinkleoptions.js and manually installed a script for custom Twinkle options. Fortunately, now I'm able to revert the changes using the Twinkle tool's rollback feature. It's now working correctly. [1] ®asteem Talk 21:47, 24 November 2024 (UTC)Reply
Feel free to try it without a twinkleoptions.js file. Should be fixed. –Novem Linguae (talk) 21:53, 24 November 2024 (UTC)Reply
Thanks @Novem Linguae:, mine seems to be working OK now. Knitsey (talk) 22:11, 24 November 2024 (UTC)Reply
Yep, Twinkle is working fine for me again as well. All good. PEPSI697 (💬📝) 05:01, 25 November 2024 (UTC)Reply

Moving Template:Welcomeunsourced to Template:Welcome-unsourced

edit

Would this be fine if I added a redirect? Sangsangaplaz (Talk to me! I'm willing to help) 15:33, 28 November 2024 (UTC)Reply