Wikipedia talk:Twinkle

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
(Redirected from Wikipedia talk:TW)

Language problems[edit]

I noticed that the Twinkle automated system for non-English welcomes does not support some languages for which we have a template, such as Italian and Hindi. Can this be fixed? Kind regards 14 novembre (talk) 🇮🇹 11:19, 3 April 2024 (UTC)[reply]

What are the exact template names please? –Novem Linguae (talk) 11:47, 3 April 2024 (UTC)[reply]
@Novem Linguae {{welcomeen-it}} and {{welcomeen-hi}} 14 novembre (talk) 🇮🇹 13:15, 3 April 2024 (UTC)[reply]
Sounds good. I created a ticket. Same advice as in the section above though. You can just add these to Twinkle via your Twinkle preferences. –Novem Linguae (talk) 14:40, 3 April 2024 (UTC)[reply]
@Novem Linguae Perfect. Thank you so much and kind regards 14 novembre (talk) 🇮🇹 15:58, 3 April 2024 (UTC)[reply]

Confused[edit]

It is in the speedy deletion procedure. Summaries for administrators are always "speedy deletion of <pagename>" while for all others (including me) it is "speedy deletion nomination of <pagename>" Why are summaries different for admins and others? Toadette (Let's talk together!) 22:37, 3 April 2024 (UTC)[reply]

@ToadetteEdit: Admins have the option of directly deleting the page with Twinkle, rather than simply nominating it for deletion. When this happens, Twinkle will leave a different warning template on the user's talk page that's been rewritten to inform the user that the page had already been deleted. For example, see the difference between {{Db-vandalism-notice}} and {{Db-vandalism-deleted}}. —k6ka 🍁 (Talk · Contributions) 12:32, 4 April 2024 (UTC)[reply]

{{Uw-copyright-new}} body text revision and improvements[edit]

Good day, this is a courteous message to inform Twinkle’s maintainers and users that:

  1.  Implemented: Revision and improvement to the body text in the warning message for {{Uw-copyright-new}}, a 'Single-issue warning' in Twinkle.
  2. Not sure. This should only affect Twinkle, and its users, if the boldtext parameter is used. In such a case, string of text in |boldtext=string of text may no longer function as expected as the body text at {{Uw-copyright-new/body}} has changed. But it seems it would be used more by users who would add the template manually than via Twinkle.
  3. Checked: Checked testcases and tried implementation with Twinkle in many ways as possible. Functioning as expected.

waddie96 ★ (talk) 19:35, 5 April 2024 (UTC)[reply]

I only see the word "boldface" in Twinkle's code somewhere else, not in connection with {{Uw-copyright-new}}. I don't think any action is needed. Thank you for checking. –Novem Linguae (talk) 21:54, 5 April 2024 (UTC)[reply]

question about notifications[edit]

I have noticed that when users respond to a welcome message that I have left using twinkle, I don't seem to get notified. Is there a way for me to fix this? Gaismagorm (talk) 20:00, 7 April 2024 (UTC)[reply]

It's a good idea and has been requested before. More info in this ticket. –Novem Linguae (talk) 21:35, 7 April 2024 (UTC)[reply]
ah ok Gaismagorm (talk) 21:48, 7 April 2024 (UTC)[reply]

For file maintenance - add these two templates[edit]

For file maintenance, I suggest adding both {{Nominated for deletion on Commons}} and {{Deleted on Commons}} among the Twinkle options, as useful notice tags that the Commons copies of local files were nominated for deletion or deleted.

This is helpful in conducting future undeletion of files, in which the Commons copy should be requested for undeletion instead of transferring the local copy to Commons, as the transfer action effectively overwrites the deleted Cpmmons copy of the same file name. JWilz12345 (Talk|Contrib's.) 03:04, 8 April 2024 (UTC)[reply]

Sounds good to me. Ticket created. In the meantime, you can add them in Wikipedia:Twinkle/Preferences#tag -> Custom file maintenance tags to display -> Edit items. –Novem Linguae (talk) 08:53, 9 April 2024 (UTC)[reply]
@Novem Linguae thanks for opening the suggestion at GitHub. By the way, I also suggest the tags will be automatically placed above the information fields, like this. If the template is found at the lower part of the description page, some future file movers may not notice it and still conduct transfer of the said file even if there is an identical copy on Commons that can be simply requested for undeletion. JWilz12345 (Talk|Contrib's.) 10:19, 9 April 2024 (UTC)[reply]
@JWilz12345. Do you know if this is the "normal" spot to put the template? Is there an MOS:FILEORDER somewhere? Do we need to get consensus for placing these tags in an odd spot? –Novem Linguae (talk) 21:11, 12 April 2024 (UTC)[reply]

Custom topic title[edit]

Is it possible to customize topics' titles or heading when using Twinkle? —Saqib (talk | contribs) 18:08, 11 April 2024 (UTC)[reply]

@Saqib. Is this for placing warnings on user talk pages? Something else? Do you have a diff you could provide of what Twinkle currently does, along with what you'd suggest changing the text to? –Novem Linguae (talk) 21:13, 12 April 2024 (UTC)[reply]
@Novem Linguae: I meant is there a way to customize the title when posting a warning message on a user talk page, instead of using the default title based on the current month. --—Saqib (talk | contribs) 17:26, 13 April 2024 (UTC)[reply]
I don't see anything like this in Wikipedia:Twinkle/Preferences#warn. There is other software that uses month headers, such as WP:HUGGLE, so changing the header name could result in problems. –Novem Linguae (talk) 02:34, 14 April 2024 (UTC)[reply]

Changes to Template:Db-notice-multiple[edit]

Hi. Redrose64 reverted my changes, so I'll need to discuss this with you. I made the change for Template:Db-notice-multiple, which added features that can help users clarify if it was a hoax or not, or an unsourced biography of a living person that is entirely negative in tone or not. What do you think about the change? Should we accept the change?
Link to change: https://en.wikipedia.org/w/index.php?title=Template:Db-notice-multiple&oldid=1218647146 71.208.39.196 (talk) 17:13, 13 April 2024 (UTC)[reply]

You'll probably want to discuss this at Template talk:Db-notice instead of here. –Novem Linguae (talk) 02:35, 14 April 2024 (UTC)[reply]

Uw-ai1 set[edit]

Hi, what's the process of getting the {{Uw-ai1}} through 3 warning templates added? microbiologyMarcus [petri dish·growths] 16:29, 16 April 2024 (UTC)[reply]

Looks like we already have a ticket for it. Next step is a volunteer dev needs to write the patch and submit it to GitHub as a pull request. –Novem Linguae (talk) 21:40, 16 April 2024 (UTC)[reply]

Add Template:Uw-talkinarticle Series[edit]

Could we add {{uw-talkinarticle1}}, {{uw-talkinarticle2}}, and {{uw-talkinarticle3}}? It is already found on WP:UV, would be good to have on Twinkle. (I have already added it to my custom preferences, but its not ideal). I would prefer if was standard UW option. Classicwiki (talk) If you reply here, please ping me. 20:28, 17 April 2024 (UTC)[reply]

Ticket created.Novem Linguae (talk) 23:40, 17 April 2024 (UTC)[reply]

Patch to change the linter to eslint-config-wikimedia[edit]

Developers might be interested in this: I created a patch tonight to change Twinkle from its custom eslint rules, to use the plugin eslint-config-wikimedia. Eslint-config-wikimedia is the standard wikimedia set of linter rules. I think there's some good advantages to switching to the standard wikimedia linter (discussed in more detail in the ticket). I've turned off controversial rules such as requiring spaces in parentheses, and turned off limiting line lengths to 100 characters. If there's any concerns or objections, please let me know here or in the ticket. I think getting more rules turned on via this plugin is going to be an important step in modernizing the codebase.

Note that this patch also applies all the auto fixes, which includes a conversion from var to let/const. Wikimedia grade A support appears to be firmly at ES6 now, so it should be safe to make ES6 upgrades. This new linter also includes strict rules (stricter than previously) that warn if we try to use features over ES6, which is a nice feature for making sure we align with grade A support.

Thanks. –Novem Linguae (talk) 06:54, 22 April 2024 (UTC)[reply]

Talk Page with AIV Issue[edit]

Hi there,

Sorry that the title might not mean what you thought it means. I’ve encountered a problem many times where Twinkle brings me to the talk page of “wiki/User talk:User name/IP” which is annoying. This happens when I do the following:

  1. Revert vandalism from diffs in Recent Changes
  2. Warn user/IP in their talk page
  3. Right after warning, click TW and ARV
  4. Because the page automatically refreshes after a few seconds after warning user through TW menu, it brings me to wiki/User talk:Username/IP (note that Username/IP is the username or IP address of the vandalizing editor).

This issue is really annoying and should be fixed. Could others review that this is not just happening to me? Thank you! Myrealnamm (💬talk · ✏️contribs) at 22:46, 25 April 2024 (UTC)[reply]

So the problem is that Twinkle is closing the ARV screen before you're able to hit submit, because of the auto refresh? –Novem Linguae (talk) 05:07, 26 April 2024 (UTC)[reply]
Yes, and it brings me to "wiki/User talk:Username or IP address" which is an invalid page.
The ARV screen is useful right after warning a user because it auto fills all the important details about vandalizing, so it would be helpful if it doesn't refresh if you go to the ARV screen in time. Myrealnamm (💬talk · ✏️contribs) at 14:37, 26 April 2024 (UTC)[reply]
Sorry, forgot to ping: @Novem Linguae Myrealnamm (💬talk · ✏️contribs) at 14:37, 26 April 2024 (UTC)[reply]
This might be a dumb comment, but maybe... wait until the page refreshes before trying to multi-tag with TW in one set? Primefac (talk) 15:10, 26 April 2024 (UTC)[reply]
Thanks, but if the page refreshes the auto fill for ARV reporting is gone. I think... Myrealnamm (💬talk · ✏️contribs) at 17:40, 26 April 2024 (UTC)[reply]
I have just verified: when I reverted vandalism and warn the user, and go to the ARV menu, Twinkle brings me to /wiki/User talk:Username or IP. Myrealnamm (💬talk · ✏️contribs) at 20:41, 26 April 2024 (UTC)[reply]
OK, I was able to reproduce this. I had to click really fast to beat the refresh though, which I think is on a timer for only 3 or 5 seconds. Ticket created. I don't plan on working on this soon, so for now you may just want to get in the habit of hitting F5 (refresh) as soon as Twinkle's status says it has posted the warning. Then do ARV after that. –Novem Linguae (talk) 06:23, 28 April 2024 (UTC)[reply]
Or long-press Esc after submitting the warning to prevent the page from refreshing. Nardog (talk) 06:32, 28 April 2024 (UTC)[reply]
@Nardog,
I tried to hold esc while hitting ARV, however, once I am in the ARV page and esc is pressed, it will "close" that dialogue and bring back to the warning page (which is already open) and show another "Warning complete. Reloading page in a few seconds" under the previous. After the few seconds, it will bring me to an even more non-sense page @Novem Linguae.
Example: /wiki//wiki/User talk:103.105.145.206
Myrealnamm (💬talk · ✏️contribs) at 00:11, 29 April 2024 (UTC)[reply]
I mean long-press Esc right right after "Warning complete, reloading talk page in a few seconds" for a few seconds. Then open ARV. Nardog (talk) 04:41, 29 April 2024 (UTC)[reply]
Hello @Novem Linguae,
Thanks for your reply. My point is that after going to a user or IPs talk page after reverting vandalism, Twinkle knows about what happened (from “Grabbing data of earlier revision) and auto fill ARV screen, Warn screen and more. However, I believe that if I refresh the page, the auto fill is removed/cleared. @Nardog I will try that. Myrealnamm (💬talk · ✏️contribs) at 18:02, 28 April 2024 (UTC)[reply]

Update on TwinkleMobile[edit]

TwinkleMobile now has the revert feature thanks to a recent update of the Minerva skin, phab:T350181. Please give it a try, everyone. Plantaest (talk) 17:24, 29 April 2024 (UTC)[reply]

"Twinkle Rollback" includes error with articles with "Map" feature[edit]

Hello,

On this certain article, Interstate 90 in New York, when I revert multiple vandalism by someone with the "Rollback" button in Twinkle by "comparing selected revisions", it gives me a dialogue to confirm that they have made 3 edits and I would like to revert them all. However, Twinkle keeps a "map" button that is most likely unintended.

Example:

From Wikipedia, the free encyclopedia Notice: Stopping revert. Map

After map shows [1].

Does this occur to every article that has a "map" in it?

Thanks! Myrealnamm (💬talk · ✏️contribs) at 21:53, 29 April 2024 (UTC)[reply]

The [1] with the external site logo just represents the logo in the link given. Right after the word "Map" shows the logo. Myrealnamm (💬talk · ✏️contribs) at 21:59, 29 April 2024 (UTC)[reply]

Toc styles for config page[edit]

Vector 2022 has not (for a long time) provided styles for tables of content. Twinkle-config.js currently constructs a table of contents by hand more-or-less matching what you would have found in old Vector and in the other skins but because Vector 2022 does not send styles, the rendering ends up being more or less "basic" (see Wikipedia:Twinkle/Preferences). I would guess most other skins this displays as a "normal" table of contents.

Not sure if the best solution is to pull in all the styles Twinkle might want here (noting that all the other skins send table of contents styles basically everywhere) or what (the rules could be prefaced with .skin-vector-2022 so that only Vector gets different skinning, etc). Izno (talk) 22:01, 29 April 2024 (UTC)[reply]