Wikipedia talk:Twinkle

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Twinkle global[edit]

I have installed Twinkle both locally and globally, and I have noticed significant differences between those versions (local has significantly more features). Does anyone know why this is? – Ilovemydoodle (talk) 17:56, 7 July 2022 (UTC)Reply[reply]

Perhaps Twinkle Global was forked from an earlier version of Twinkle Local, then development stopped. Can you provide a link to your global versíon of Twinkle and I'll take a look? What features are missing? –Novem Linguae (talk) 19:05, 7 July 2022 (UTC)Reply[reply]
@Novem Linguae:
1) This version
2) A lot of features (too many to list), Some examples include:
  • Welcome
  • Rollback (AGF)
  • Rollback (vandal)
Ilovemydoodle (talk) 20:24, 7 July 2022 (UTC)Reply[reply]
Courtesy ping @Xiplus, author of the version you linked. –Novem Linguae (talk) 20:43, 7 July 2022 (UTC)Reply[reply]
Twinkle use lots of templates in these functions. So it's hard to make it globally. Xiplus (talk) 01:22, 8 July 2022 (UTC)Reply[reply]
@Xiplus: Could you please try to implement some of these? Most of these features would save me a lot of time over on Wikiquote. – Ilovemydoodle (talk) 02:16, 8 July 2022 (UTC)Reply[reply]
That's a pretty big request. You may have better luck if you request one specific feature. –Novem Linguae (talk) 07:05, 8 July 2022 (UTC)Reply[reply]
Could you add welcome? – Ilovemydoodle (talk) 18:55, 8 July 2022 (UTC)Reply[reply]
I recommend posting this request at meta:User talk:Xiplus/TwinkleGlobal. –Novem Linguae (talk) 05:45, 12 July 2022 (UTC)Reply[reply]

Self-contradictory tag[edit]

Twinkle failed to identify a {{self-contradictory}} tag at Alert, Nunavut, when I attempted to remove it. –LaundryPizza03 (d) 01:12, 9 July 2022 (UTC)Reply[reply]

I created a bug report. Thanks for reporting. –Novem Linguae (talk) 04:35, 9 July 2022 (UTC)Reply[reply]

Issue[edit]

The rollback option doesn't on the contributions page for an IP address CIDR range. – Ilovemydoodle (talk) 22:37, 11 July 2022 (UTC)Reply[reply]

Can you please provide enough information to reproduce the error, such as a link to a diff? –Novem Linguae (talk) 03:57, 12 July 2022 (UTC)Reply[reply]
@Novem Linguae:
Ilovemydoodle (talk) 04:54, 12 July 2022 (UTC)Reply[reply]
Hello friend. Is this in regards to Twinkle Global? You should probably report these at meta:User talk:Xiplus/TwinkleGlobal. Also I do not understand your bug report. When you copy this to the Twinkle Global page, you may want to be more specific about what you are expecting to see and what you are actually seeing. You're talking about rollback so I thought you were talking about the red "Rollback" links that show up in diffs, but your two screenshots are of a contribs page. Hope that helps. –Novem Linguae (talk) 05:08, 12 July 2022 (UTC)Reply[reply]
@Novem Linguae: Could you please clarify exactly what you are asking for clarification on? – Ilovemydoodle (talk) 05:24, 12 July 2022 (UTC)Reply[reply]
Hey there. I'm just trying to say that I do not understand your screenshots or your bug report, it is unclear to me. However it doesn't matter because this is the wrong page. I recommend posting these items at meta:User talk:Xiplus/TwinkleGlobal. –Novem Linguae (talk) 05:44, 12 July 2022 (UTC)Reply[reply]

RM/TR[edit]

The tool to file a request at WP:RM/TR failed because Twinkle could not find the correct place for it. –LaundryPizza03 (d) 12:09, 15 July 2022 (UTC)Reply[reply]

@LaundryPizza03. Thanks for reporting. Can you please provide the name of the page you were trying to RM/TR, and a link to the revision of RM/TR at the time of the attempt? –Novem Linguae (talk) 12:14, 15 July 2022 (UTC)Reply[reply]
Doing some wiki archaeology, I'm going to guess these are the two diffs I need: WMTR code at time of error and input data: {{RMassist/core | 1 = We Make You ( EP) | 2 = We Make You (EP) | discuss = yes | reason = Extraneous spacing. | sig = –[[User:LaundryPizza03|<b style="color:#77b">Laundry</b><b style="color:#fb0">Pizza</b><b style="color:#b00">03</b>]] ([[User talk:LaundryPizza03|<span style="color:#0d0">d</span>]][[Special:Contribs/LaundryPizza03|<span style="color:#0bf">c̄</span>]]) 12:08, 15 July 2022 (UTC) | requester = LaundryPizza03}}. Testing on testwiki, be right back. –Novem Linguae (talk) 20:14, 15 July 2022 (UTC)Reply[reply]
@LaundryPizza03: I've changed an HTML comment back to the form it had when Twinkle last worked. Can you try it again? -- John of Reading (talk) 12:22, 15 July 2022 (UTC)Reply[reply]
@John of Reading. Yeap, you're right. I just checked the code, Twinkle looks for ---- and enter on a new line.* -->, with .* being a wildcard. So the ---- that was deleted threw it off. I've gone ahead and written a patch that will not be quite as dependent on ----. Once it's deployed in a couple months, we'll be able to change that comment to whatever we like, as long as it stays one comment. (Two comments would throw it off.) –Novem Linguae (talk) 20:20, 15 July 2022 (UTC)Reply[reply]

Use[edit]

Please how can I begin using twinkle Uricdivine (talk) 04:47, 17 July 2022 (UTC)Reply[reply]

Hello friend. You appear to be using the Minerva skin. I'd recommend blanking your User:Uricdivine/minerva.js page, then following the install directions at User:P.T.Đ/TwinkleMobile. Hope that helps. –Novem Linguae (talk) 05:42, 17 July 2022 (UTC)Reply[reply]

Thank you so much i really appreciate. Are there any relevant boxes to click that will help a new editor like me? Uricdivine (talk) 19:30, 17 July 2022 (UTC)Reply[reply]

Novem Linguae I am unable to roll back an edit Uricdivine (talk) 20:07, 17 July 2022 (UTC)Reply[reply]

Hey there. For TwinkleMobile, I'd recommend posting at their talk page, User talk:P.T.Đ/TwinkleMobile. Please give lots of details. What page were you on? What did you click? What did you expect to happen? What actually happened? Any screenshot? Hope that helps. –Novem Linguae (talk) 20:57, 17 July 2022 (UTC)Reply[reply]

Thanks... I was on twinkle sandbox.. I wanted to revert the topic I created. Uricdivine (talk) 22:17, 17 July 2022 (UTC)Reply[reply]

Notice: update to Template:Primary sources[edit]

Nonbreaking change to Template:Primary sources now allows use of params |find= and |find2=, with the same values and usage as for {{unreferenced}}, {{more citations needed}}, and other templates related to sourcing. Users of the template with no parameters will notice a change: the standard set of {{find sources}} links will now be emitted (in small font) at the bottom of the box (as they are for {{unreferenced}}, etc.); links may be suppressed if desired via |find=none. Updates to the wrapper templates {{BLP primary sources}} and {{primary sources section}} (analogous to {{unreferenced section}}) to follow in due course. Questions or comments ⟶ Template talk:Primary sources. Thanks, Mathglot (talk) 06:47, 17 July 2022 (UTC)Reply[reply]

@Mathglot. Thanks for the update. In your opinion, do I need to patch anything in Twinkle or is the old behavior fine with regards to this template? –Novem Linguae (talk) 07:59, 17 July 2022 (UTC)Reply[reply]
@Novem Linguae:, I'm unfortunately rather ignorant about Twinkle, but maybe Sdkb or Wikmoz or Trialpears will know more about this. My guess is that you don't need to patch anything, because although this changes default behavior (adds new links that weren't there before), no previous invocation will break with any combination of params (valid or invalid) that didn't break previously (see test cases here). A breaking change, would be something like removing or renaming a named param, or switching the order of positional params, or interpolating a new one, or changing the behavior of a previously existing param. And this change doesn't do any of that. Hope this helps, and that one of the pingees (is that a word?) will be able to comment. Mathglot (talk) 08:26, 17 July 2022 (UTC)Reply[reply]
Note: wrapper {{Primary sources section}} now also updated; and template {{BLP primary sources}} (which was described incorrectly in the /doc as a "wrapper") also updated. As is the case for the main template, the new params in these two are also optional and can be safely ignored. Mathglot (talk) 09:12, 17 July 2022 (UTC)Reply[reply]

Feature request: Include redirects in XfD listings[edit]

It occurred to me in this recent AfD that Twinkle could include the list of redirects that would be orphaned were the deletion to go forward when it's used for the listing. — Guarapiranga  06:54, 18 July 2022 (UTC)Reply[reply]

Could implement this as a "Notice: More than 10 redirects will be orphaned if this page is deleted." message as the first comment in the AFD. I think this would need consensus though. –Novem Linguae (talk) 07:27, 18 July 2022 (UTC)Reply[reply]
How about just N redirects will be orphaned if this page is deleted (linked to the redirects search)? — Guarapiranga  23:00, 19 July 2022 (UTC)Reply[reply]
Wouldn't this be better for a bot since not all AFDs go through Twinkle? If this is done, it would be better to be uniform across all nominations. MB 05:52, 20 July 2022 (UTC)Reply[reply]
Maybe I missed something obvious, but why do we need to tag/mention the redirects to a page? When an AFD is closed, any admin worth their salt is going to be using the "also delete redirects" option; it doesn't really matter how many redirects are pointing at a page, as they will all be deleted anyway (and semi-automatically, if using something like WP:XFDC). Primefac (talk) 09:31, 21 July 2022 (UTC)Reply[reply]
I think the point is that the incomming redirects could be a consideration in determining if an article should be deleted. MB 16:50, 21 July 2022 (UTC)Reply[reply]
Fair enough, though that seems an odd metric by which to judge an article. Primefac (talk) 19:06, 21 July 2022 (UTC)Reply[reply]
What MB said, Primefac. In this instance, I initially thought "Hmm, do we really need a list of cities proper by population density? Do we have a list of cities proper by population? No, it's simply a redirect to the list of largest cities. But it turns we have no list of list of cities by population density! That, in turn, is a redirect to the list of cities proper by population density. Having the redirects listed (or at least linked), would help editors get the complete picture of all the article or list relates to when discussing its removal (as articles and lists can be—and often are!—mistitled). — Guarapiranga  22:40, 28 July 2022 (UTC)Reply[reply]

Custom welcome template disappearing[edit]

I've made a template, {{Mentor welcome}}, hoping to use Twinkles custom welcome template feature. However, when I go to a mentees talk page, I can't find the template in the welcome module. The template also disappears from the custom welcome template page when I refresh. I'm pretty sure the underlying problem exists between my behind and the computer monitor, but I have no idea how to troubleshoot it. Can anyone help? I dream of horses (Contribs) (Talk) 00:15, 28 July 2022 (UTC)Reply[reply]

@I dream of horses, how do you have it listed in Twinkle preferences -> Custom welcome templates to display? Schazjmd (talk) 00:19, 28 July 2022 (UTC)Reply[reply]
@Schazjmd Just "Mentor welcome." I've also tried Template:Mentor welcome," but let me try that again. I dream of horses (Contribs) (Talk) 00:21, 28 July 2022 (UTC)Reply[reply]
Nope, just disappeared on refresh again. I dream of horses (Contribs) (Talk) 00:22, 28 July 2022 (UTC)Reply[reply]
I just added it to mine okay. Keep in mind you have to save both the custom welcome popup AND the twinkle pref page. Schazjmd (talk) 00:23, 28 July 2022 (UTC)Reply[reply]
@Schazjmd Oh, I wasn't saving the twinkle pref page. I knew it was user error. Face-smile.svg Thank you very much! I dream of horses (Contribs) (Talk) 22:03, 28 July 2022 (UTC)Reply[reply]
@I dream of horses, first time I tried to add your template, it didn't work...I made the same error, that's how I figured it out. Face-smile.svg Schazjmd (talk) 22:05, 28 July 2022 (UTC)Reply[reply]

Schazjmd Ah, perhaps having the custom welcome module saving your preferences and the templates at the same time would be a good idea. I dream of horses (Contribs) (Talk) 22:08, 28 July 2022 (UTC)Reply[reply]

I'd support that change! Schazjmd (talk) 22:16, 28 July 2022 (UTC)Reply[reply]

Bug report: malformed headers[edit]

I am suddenly getting extra markup in the headers when posting warnings using Twinkle, which results in malformed headers. Examples: Previous revision of User talk:Mountriver; Diff of User talk:Ninja Diannaa; Diff of User talk:Diannaa. Thank you! — Diannaa (talk) 20:47, 28 July 2022 (UTC)Reply[reply]

I've been getting them too. BilCat (talk) 20:49, 28 July 2022 (UTC)Reply[reply]
Likewise! Zinnober9 (talk) 21:00, 28 July 2022 (UTC)Reply[reply]
Pile on. - FlightTime (open channel) 21:08, 28 July 2022 (UTC)Reply[reply]
Yep, happened to me twice today. Don't know how this happened. Jalen Folf (talk) 23:52, 28 July 2022 (UTC)Reply[reply]
Another instance on my end; the section header markup is duplicated on both sides to yield a section titled "== July 2022 ==". –LaundryPizza03 (d) 00:51, 29 July 2022 (UTC)Reply[reply]
How strange. We didn't deploy today. I'll dig into this a little deeper when I'm back at my computer. –Novem Linguae (talk) 01:57, 29 July 2022 (UTC)Reply[reply]
Me, too. Here is a diff. It's happened to me twice today with the Autobiography warning I post (a lot). Liz Read! Talk! 03:04, 29 July 2022 (UTC)Reply[reply]
This usually happens when someone has edited a template ... – SD0001 (talk) 04:12, 29 July 2022 (UTC)Reply[reply]
Me, too. (diff) Moreover, I have also faced this problem in bnwiki. —MdsShakil (talk) 04:24, 29 July 2022 (UTC)Reply[reply]
A hotfix patch is provided in MediaWiki talk:Gadget-Twinkle.js#Interface-protected edit request on 29 July 2022. Xiplus (talk) 05:48, 29 July 2022 (UTC)Reply[reply]
Thanks for doing that Xiplus. I mentioned it in WP:DISCORD #technical, should be expedited by an intadmin. –Novem Linguae (talk) 06:02, 29 July 2022 (UTC)Reply[reply]

Duplicate warnings[edit]

Bug report in Discord: Does anyone else know why Twinkle seems to be leaving double warnings? I leave a single warning, and it makes 2 edits for some annoying reason Padgriffin

[1][2][3][4]

I'm unable to reproduce.

Padgriffin, is this only happening with certain templates? Is this only happening when the user talk page doesn't already exist? Does this only happen when you visit the user talk page after a rollback? What skin are you using? Any other clues that could help me make this reproducible?

Is this happening to anyone else? –Novem Linguae (talk) 21:18, 1 August 2022 (UTC)Reply[reply]

@Novem Linguae My skin is Vector legacy and the issue can be reproduced. It appears to happen when I attempt to exit the page (such as to Recent Changes) while Twinkle is warning the user, which triggers a "save failed" prompt despite actually succeeding, leading to double warnings. My browser is Firefox 103.0.1. Padgriffin Griffin's Nest 04:49, 2 August 2022 (UTC)Reply[reply]
Sounds like you're switching pages before Twinkle is done with its warning algorithm. Is the fix as simple as waiting a few more seconds until you see "done" in the popup?
By reproducible, I mean giving me a list of steps that lets me consistently reproduce the error. –Novem Linguae (talk) 06:25, 2 August 2022 (UTC)Reply[reply]
Steps to reproduce: Open Twinkle warn menu > Submit warning > attempt to exit the page as the "retrieving page" message is on-screen to something that takes a bit longer to load (i.e. recent changes). Twinkle will then output "Save failed, retrying in two seconds", which results in duplicate warnings being made. Padgriffin Griffin's Nest 07:07, 2 August 2022 (UTC)Reply[reply]
Thanks for the steps. Was unable to reproduce, perhaps it's going too fast for me to navigate away at the right spot. When the error happens, are you navigating away from the page before or after you see "Warning complete, reloading talk page in a few seconds"? –Novem Linguae (talk) 07:41, 2 August 2022 (UTC)Reply[reply]
It happens *before* the Warning Complete message. Padgriffin Griffin's Nest 08:47, 2 August 2022 (UTC)Reply[reply]
Have you tried waiting for the "warning complete" message? Navigating away before that I would expect to be buggy, as it would interrupt Twinkle. Unless the "warning complete" message doesn't show for some reason, which would of course be a bug. –Novem Linguae (talk) 08:52, 2 August 2022 (UTC)Reply[reply]
Yep, it's fine if I wait- the weird part is that I've been using Twinkle for years at this point like this (almost always triggering the "save failed" message) yet Twinkle has never done this prior to July 31st. Padgriffin Griffin's Nest 09:04, 2 August 2022 (UTC)Reply[reply]
Hi Xiplus. If you have a minute, please see above. Think this might be related to the API change around July 28th? The Morebits error handling code path started getting triggered for this user when he warns people. –Novem Linguae (talk) 09:13, 2 August 2022 (UTC)Reply[reply]
I can reproduce it [5]. Step: 1. Submit warning > 2. Go to another page (for example clicking the logo). It make the API call be canceled > 3. Press ESC to stop page loading. It make js keep running, so the error handling code runs. Xiplus (talk) 09:34, 2 August 2022 (UTC)Reply[reply]

Inconsistent tab display in Vector 2022[edit]

Twinkle's label is large and bold compared to other tabs in Vector 2022. It looks like the issue is the fact it uses a nav and h3 rather than div and label. Jdlrobson (talk) 16:01, 8 August 2022 (UTC)Reply[reply]

Jdlrobson. I created a pull request. Thanks for reporting. –Novem Linguae (talk) 10:11, 9 August 2022 (UTC)Reply[reply]

issue[edit]

I have been noticing problems with my twinkle, whene I enter page to warn (and other twinkle related things) a user my twinkle doesn't show. So I went to twinkle page and saw "is twinkle loading unreliably?" That I should remove this importScript('User:AzaToth/twinkle.js'); but it isn't in my own. Please what should I do?. UricdivineTalkToMe 23:52, 8 August 2022 (UTC)Reply[reply]

@Uricdivine. Hey there. 1) If you are loading Twinkle via importScript('User:AzaToth/twinkle.js'); in your common.js, I recommend removing that, then going to Preferences -> Gadgets, checking the box for Twinkle, then clicking "Save". 2) when I enter page to warn, is this right after a rollback? If so, wait a couple seconds until the "talk" link turns bold. Twinkle takes several seconds to load. Hope that helps. –Novem Linguae (talk) 10:21, 9 August 2022 (UTC)Reply[reply]