Wikipedia talk:Twinkle
This page is for general discussion and questions related to Twinkle. It is also one possible venue for reporting bugs and requesting new features; although see the note below. Consider also checking Twinkle's documentation, which may answer your question. |
Bugs and feature requests can be reported at https://github.com/azatoth/twinkle (you will need to have a GitHub account). This will probably result in the issue being noticed sooner, as an e-mail is sent to all Twinkle developers. Alternatively, start a new discussion on this page. Possibly slower service, but you will be able to gain consensus, etc., if you need to. |
Index 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 21, 22, 23, 24, 25, 26, 27, 28, 29, 30 31, 32, 33, 34, 35, 36, 37, 38, 39, 40 41, 42, 43, 44, 45, 46, 47, 48 |
Other archives
|
This page has archives. Sections older than 20 days may be automatically archived by Lowercase sigmabot III. |
Automated "merge from"
Twinkle generates the {{merge to}} and {{merge from}} tags correctly, but the section name in the "discuss=" pointer doesn't match the name generated. It's still better than most manual merges, so I suppose I shouldn't complain, but it could be better. Perhaps an option to name the section, also? — Arthur Rubin (talk) 15:21, 28 December 2019 (UTC)
- Sorry for the delay in response Arthur Rubin, but I'm not quite sure what exactly you're asking for. I can tell you're talking about David Hampton and Six Degrees of Separation (play), but what specifically did you want changed? ~ Amory (u • t • c) ~ Amory (u • t • c) 03:32, 7 January 2020 (UTC)
- In that specific example, Twinkle generated
|discuss=Talk:Six Degrees of Separation (play)#Proposed merge with David Hampton
in the {{mergefrom}} and {{mergeto}} templates, but generated the section (visibly) as Talk:Six Degrees of Separation (play)#Proposed merge of David Hampton into Six Degrees of Separation (play). The section name in the "discuss" field has to match the generated section title. I patched it by adding an {{anchor}} template to the generated discussion section. — Arthur Rubin (talk) 04:51, 7 January 2020 (UTC)
- In that specific example, Twinkle generated
Add /* PAGE NAME */ to edit summary for RPP
Can we add /* PAGE NAME */ to the edit summary when requesting page protection? This allows user to quickly find the section on WP:RPP from history pages and their own contribution page, so they can check for responses to the request.--- C&C (Coffeeandcrumbs) 09:41, 30 December 2019 (UTC)
- @Coffeeandcrumbs: https://github.com/azatoth/twinkle/pull/790 DannyS712 (talk) 10:11, 30 December 2019 (UTC)
- DannyS712, I was trying to follow the github and I noticed it was merged to azatoth:master. What is the next step? When does it become part of current version? --- C&C (Coffeeandcrumbs) 07:18, 17 January 2020 (UTC)
- @Coffeeandcrumbs: Whenever @Amorymeltzer: releases the next update DannyS712 (talk) 07:32, 17 January 2020 (UTC)
- Thanks, I am just curious how this all works. --- C&C (Coffeeandcrumbs) 10:16, 17 January 2020 (UTC)
- @Coffeeandcrumbs: Whenever @Amorymeltzer: releases the next update DannyS712 (talk) 07:32, 17 January 2020 (UTC)
- DannyS712, I was trying to follow the github and I noticed it was merged to azatoth:master. What is the next step? When does it become part of current version? --- C&C (Coffeeandcrumbs) 07:18, 17 January 2020 (UTC)
"Adding entry at WP:RM/TR: failed to find target spot for the entry"
When I try to make a Requested Move and ticks "Uncontroversial technical request", Twinkle presents me with the error mesage "Adding entry at WP:RM/TR: failed to find target spot for the entry". When I untick "Uncontroversial technical request", Twinkle works fine. Veverve (talk) 10:42, 31 December 2019 (UTC)
- @Veverve: I have restored the comment at the top of WP:RM/TR, as I suspect Twinkle is looking for this exact text. -- John of Reading (talk) 10:58, 31 December 2019 (UTC)
- @John of Reading: it now works correctly! Veverve (talk) 11:01, 31 December 2019 (UTC)
- @Alex 21: I have undone part of this edit that you made. Your addition looks good to me, but it should wait until the Twinkle developers have adjusted their code to allow for it. -- John of Reading (talk) 11:04, 31 December 2019 (UTC)
- Exactly. There was a recent, related discussion at WT:RM/TR. I've gone and made this change as well as that one, and will quickly update the on-wiki Twinkle gadget. Please let me know of any additional changes or tweaks so I can update Twinkle. ~ Amory (u • t • c) 11:57, 31 December 2019 (UTC)
@John of Reading:The problem is now back again! Veverve (talk) 02:20, 6 January 2020 (UTC)
- @Amorymeltzer: What comment is Twinkle looking for, currently? The comment was expanded on 26 December, but unfortunately with a typo, which was fixed on 28 December. -- John of Reading (talk) 07:25, 6 January 2020 (UTC)
- @John of Reading and Veverve: No, it's been changed since. I changed the comment on 31 December to combine the two conversations, but the
this line
was removed without comment later on New Year's Eve. I will update the gadget to use the text currently present, but Twinkle currently needs a consistent text to look for. ~ Amory (u • t • c) 10:44, 6 January 2020 (UTC)- @Amorymeltzer: I wonder if it would be better in the long run to stick something in the comment that looks like magic, perhaps
{{TWINKLE-INSERT-MARKER}}
, and code Twinkle to look for this marker and then the end of the comment. Then the rest of the comment could be revised without breaking Twinkle. -- John of Reading (talk) 11:07, 6 January 2020 (UTC)- Yeah, a text like "Twinkle marker" would be fine, although I'm generally hesitant to impose Twinkle unless absolutely necessary. In the end, all the various XfD locales have a better solution: the message doesn't change. I can make the regex search more generic to avoid this ongoing, should take care of most things. ~ Amory (u • t • c) 11:43, 6 January 2020 (UTC)
- @Amorymeltzer: I wonder if it would be better in the long run to stick something in the comment that looks like magic, perhaps
- @John of Reading and Veverve: No, it's been changed since. I changed the comment on 31 December to combine the two conversations, but the
PROD error
From WP:PROD:
- A special case is BLPPROD: an article which has had the BLPPROD-tag removed still can be PRODed via the process described here.
I tried to propose deletion of the article Neve Te Aroha Ardern Gayford; TWINKLE reported that I may not do so because there was a previous PROD removed, but history shows it was a WP:BLPPROD. I sent it to WP:AFD, but if anyone thinks it meets WP:CSD#A7, go ahead. — Arthur Rubin (talk) 18:23, 8 January 2020 (UTC)
WP:UWs removed from the menu?
Why have some of the entries in Twinkle's WP:UW pop-up menu been removed? For example, the {{Uw-mos1}} series has been removed, but I don't think it was the only one... Why was this done? --IJBall (contribs • talk) 00:03, 10 January 2020 (UTC)
- @IJBall: It is still there - but I have to scroll down to the bottom of two scrollbars to see it. The list of warnings has a scrollbar, as you'd expect, and the whole dialog has a scrollbar as well, which looks like a mistake. I'm using Firefox 72.0.1 and Windows 10. -- John of Reading (talk) 07:17, 10 January 2020 (UTC)
- You're right – that was the issue: I was only scrolling to the bottom of the "inside" scrollbar, not both scrollbars... What is weird, I guess, is that I don't remember this being an issue before, so something's changed – either within Twinkle, or with the newest version of Firefox. As you're using Firefox too, I've got to think the issue is Firefox. --IJBall (contribs • talk) 07:21, 10 January 2020 (UTC)
- This is a known problem with a patch being developed at github, but it kind of stalled. ‑‑Trialpears (talk) 07:26, 10 January 2020 (UTC)
- You're right – that was the issue: I was only scrolling to the bottom of the "inside" scrollbar, not both scrollbars... What is weird, I guess, is that I don't remember this being an issue before, so something's changed – either within Twinkle, or with the newest version of Firefox. As you're using Firefox too, I've got to think the issue is Firefox. --IJBall (contribs • talk) 07:21, 10 January 2020 (UTC)
partial blocks functionality?
Well, partial blocks are a thing now, so I'm curious as to whether there is any possibility the feature will be integrated into Twinkle's block function? It seems like a pretty useful little tool, and I'm sure I'm not the only one who prefers the ease of Twinkle blocks. Beeblebrox (talk) 22:29, 15 January 2020 (UTC)
- It's come up, yes. The short answer is I'm hoping to work on something basic this week and next, life depending. It's not entirely clear yet, though, what the framework should be for things like templates, although QEDK's work on {{uw-pblock}} is helpful. ~ Amory (u • t • c) 01:26, 16 January 2020 (UTC)
- Excellent. I didn't expect it would be there from day one, but was kind of surprised not to see any mention of it here. I should've known you were all over it already. Beeblebrox (talk) 20:34, 16 January 2020 (UTC)
What does ARV stand for?
--MoonyTheDwarf (Braden N.) (talk) 17:54, 16 January 2020 (UTC)
- @Moonythedwarf: Advance Reporting and Vetting. --qedk (t 桜 c) 18:10, 16 January 2020 (UTC)
Endorsing PRODs doesn't work in talk page has old prod template
It looks like Twinkle now places {{old prod}} at the talk page at the time of nomination. However, it seems that this stops the script for endorsing an existing PROD via {{Proposed deletion endorsed}}, since it finds the {{old prod}} and aborts. May be I missed something, but previously it always asked if one wanted to endorse instead if an existing PROD was in place. I don't recall if talk prod notice was ever present in those cases. — HELLKNOWZ ▎TALK 21:58, 18 January 2020 (UTC)
You are invited to join the discussion at Wikipedia:Administrators' noticeboard#Twinkle and speedies. AntiCompositeNumber (talk) 02:42, 21 January 2020 (UTC)Template:Z48
Changes to Template:Expand language
These aren't breaking changes, but this template was recently updated to allow up to three languages to be specified using the parameters langcode2, otherarticle2, langcode3, and otherarticle3, so it would be nice if these could be supported by Twinkle. Ionmars10 (talk) 16:27, 22 January 2020 (UTC)
January 2020 Twinkle updates, features, and behaviors (2020-01-24)
This latest update is a big one: partial blocking support is here! The warn menu also has two brand new menus: one that puts the single notices and warnings together, and one that shows every single message available. The menus for picking warnings and deletion sorting categories for AfD noms has been improved, and there are a number of bug fixes as well as improved handling and functionality. Changes not otherwise attributed were made by User:Amorymeltzer.
- block:
- Add support for partial blocks (813)
- You can toggle "partial" status for both blocks and templating by selecting the checkbox.
- There is, as of now, only one template for partial blocks, {{uw-pblock}} (made by QEDK)
- If you wish, you can set your preferences to default to selecting the partial option.
- Rename {{uw-ublock-famous}} to {{uw-ublock-wellknown}} (784, by User:Ammarpad)
- Add support for partial blocks (813)
- warn:
- Add menu listing all template warnings in one menu, for fast and easy searching. You can set a preference to select it by default (773)
- Add option to show all the single-notice messages in a single menu. It's off by default but a preference is available to turn it on (759)
- Show a note if the user is attempting to warn someone for making an old edit (>24h) (757)
- Move uw-wrongsummary from the single-warning list to the single-notice list (761)
- If a user has two warnings with the same timestamp, Twinkle now considers the bottom one the most recent, not the top (768)
- Rename {{uw-inline-el}} to {{uw-elinbody}} (768)
- warn/xfd: Improve menus (replace jquery.chosen with select2) (692, by User:SD0001)
- xfd: Update hidden comment at RM/TR (791)
- csd:
- Tweak item descriptions to more closely match their wording at WP:CSD (764)
- Allow users to request salting (789, by User:DannyS712)
- protect:
- Fix bug for pages made into redirects between loading and tagging (by using text returned by API) (781, by User:SD0001)
- Add a section link in the edit summary when listing at WP:RfPP (790, by User:DannyS712)
- talkback:
- unlink: Fix bug preventing unlinking when links used a leading colon (794)
- arv: Disable UAA and promotional account-only options for IP editors (774)
- prod: Trim PROD talk page edit summary (771, by User:SD0001)
- config: Better detect very old Twinkle preferences (746, by User:SD0001)
- batchdelete: Fix bug in select all/select none buttons (806, by User:SD0001)
- General Twinkle:
- In Timeless, place links under a "Twinkle" heading (763, by User:SD0001)
- Add select2 library (v4.0.12) to handle menu options and searching better (switch from chosen) (812)
- Remove checks for versions 9 and lower of Internet Explorer, no longer supported by the MediaWiki software (see here and here) (756, by User:SD0001)
This section should serve as a catching ground should anything not work properly or if any new bugs crop up, as well as for any feedback or suggestions. There were a lot of changes behind the scenes, so feel free to ping me. As always, input is welcome at the GitHub repo as well. Finally, if you're interested in helping out with Twinkle development, we've started guideline to help new contributors get set up — check it out! ~ Amory (u • t • c) 18:12, 24 January 2020 (UTC)
Technical changes
Also, for the more technical folks, there are a number of behind the scenes changes, briefly noted below:
- Use server time rather than client time wherever possible (block, prod, speedy, warn, xfd) (741, by User:SD0001)
- This adds
getLoadTime()
to retrieve the timestamp the API loaded the page
- This adds
- Remove
Morebits.queryString
(725, by User:SD0001) - Adjust how the revert/rollback links are loaded (
Twinkle.fluff()
instead ofTwinkle.fluff.init()
) (792, by User:Amorymeltzer) - Unify twinkleconfig and friendlyconfig preference objects, mark as version 2 (762 and 800, by User:SD0001)
- Fix two bugs in
lookupCreation
for redirects (805, by User:SD0001) - Restore hardcoded values for
Date.monthNames
andDate.monthNamesAbbrev
(796, by User:Amorymeltzer) batchOperation
executespostFinish()
even when thepageList
is empty, and will generate individual status lines even if theworker
function is not usingMorebits.wiki.page
orMorebits.wiki.api
(782, by User:SD0001)
Additionally, the select2 library added above as an alternative to chosen is available as a Gadget in MediaWiki:Gadget-definition, so it can easily be accessed by other user scripts and tools. Additionally, 692 added a few functions to the Morebits library in Morebits.select2
that improve the handling of select2 menus. ~ Amory (u • t • c) 18:12, 24 January 2020 (UTC)