Wikipedia talk:Twinkle

(Redirected from Wikipedia talk:TWINKLE)
Latest comment: 4 hours ago by Primefac in topic Unlink and disambiguation pages

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

Template:Db-x3 edit

Please add Template:Db-x3. Gonnym (talk) 15:16, 2 May 2024 (UTC)Reply

My 2 cents as the closer is that it would be most convenient to place this under the "redirects" header. Mach61 01:13, 3 May 2024 (UTC)Reply

CSD speedy deletion tool notification bug? edit

Regarding the speedy deletion nomination tool, I WP:G4'd a redirect and NOT an article. Twinkle then left a notification on the creator's page whilst simultaneously welcoming the user. Is this an intended feature for when an article gets CSD nominated if the user's talk page also needs to be created? I'm not sure if this is intended for when a redirect gets speedy delete nominated though. Thanks, Fork99 (talk) 10:52, 3 May 2024 (UTC)Reply

Actually thinking about it, I think the intent to welcome makes sense, just I think that the wording is a bit off with the "problem user welcome template" as it mainly talks about article policy. Fork99 (talk) 11:01, 3 May 2024 (UTC)Reply

Unlink and disambiguation pages edit

I am wondering what the Unlink tool should do on disambiguation pages. Edits like this aren't really helpful: manual removal of the entire entry is the correct action, not just unlinking of the term. Perhaps it would be best to just skip disambiguation pages and tell Twinkle users to deal with disambiguation pages by hand? Ping @Liz whose edits made me notice this issue. —Kusma (talk) 16:36, 9 May 2024 (UTC)Reply

Two things. First, Liz doesn't answer pings, so if you want her to know about this discussion you'll need to drop a talk page note. Second, there's a checklist given when unlinking, so anything with (surname) or (disambiguation) should be unchecked by the user doing the unlinking.
That said, making it uncheck those pages automatically would prevent things like this from happening as often, so I can't say that I'm opposed to the idea. I don't know a ton about the backend of Twinkle so I don't know if it would be able to detect if a page is a dab, though. Primefac (talk) 16:40, 9 May 2024 (UTC)Reply
A third possible option would be to have an option like with WP:XFDC in which the user could specify "delink or remove entirely", but I somehow think the devs are going to throw forks at me for even suggesting it. Primefac (talk) 16:42, 9 May 2024 (UTC)Reply
Removing entirely is often the right action for dabs, even if they don't have (disambiguation) in the title. Theoretically there might be a WP:DABMENTION elsewhere, but I would hope AfDs for such cases replaced the article by a redirect rather than deleting. There may also be rare cases where the deleted link is not the main topic (*[[Joe Redlink]], a singer with [[Deleted Band]]) but we probably want to delete those entries too. (And if the devs throw forks at us, we can use choose either version!) Certes (talk) 17:21, 9 May 2024 (UTC)Reply
Thanks. I have not done any deletions of widely linked pages for a while, so I am not too familiar with the current interface. Unchecking dabs and dab-like pages by default seems a good first step. I will let Liz know of this discussion. —Kusma (talk) 21:26, 9 May 2024 (UTC)Reply
Thanks for letting me know about this discussion. Since many admins tend to "specialize" in different areas, it would help to know where this problem is arising, is it with CSD-tagged articles, PRODS or pages deleted through the XFD processes. If we could specify when the behavior you find problematic is occurring, and there is some kind of consensus that this problem exists, if it's not a change with Twinkle, then it could be a matter of advising a half dozen admins to process deletions differently. For example, I only know of 5 or 6 admins who regularly handle PRODS so this might be a matter of retraining.
My only hesitation when this issue has come up before is we have to find a way of dealing this that can scale. We're not talking about checking links on a dozen articles a day but on hundreds of pages that are deleted daily. The current system is probably too blunt but I deleted an article the other day that had 94 links to other articles. While it's not much effort to scan a list of links, checking each link individually is not feasible with each page deletion. I'm not saying the current system is perfect (it obviously isn't) we are doing what we can with a decreasing number of admins. An admin I work with took a week off and the drafts that needed to be reviewed immediately piled up and we didn't "catch up" for days. I'll check back and see what y'all have to say about this. Liz Read! Talk! 23:53, 9 May 2024 (UTC)Reply
The example specifically used above was the PROD of Clint Morris. Primefac (talk) 11:35, 10 May 2024 (UTC)Reply