MediaWiki talk:Gadget-Twinkle.js

Request
Please copy-and-paste the contents of MediaWiki talk:Gadget-Twinkle.js/temp to this gadget file, with the edit summary

The usual maintainers of this gadget are unavailable at the moment. Thanks, — This, that, and the other (talk) 01:06, 10 January 2012 (UTC)
 * ✅ Done. Wasn't sure if I there was anything special in the temp page so I really just copied the content. Cheers, Amalthea  09:13, 10 January 2012 (UTC)
 * I thought you were still on break... Thanks very much for doing this. — This, that, and the other (talk) 10:29, 10 January 2012 (UTC)
 * Kinda back since Sunday … but I may disappear again next weekend. :\ Amalthea  11:09, 10 January 2012 (UTC)

Documentation for gadget authors
We're trying to start a library for gadget authors to use. Please check it out and post any questions or comments there. -- ☠ MarkAHershberger ☢ (talk) ☣ 01:06, 9 March 2012 (UTC)

Edit Request
Replace

with

This is just a minor change and won't affect the function or the operation of Twinkle.— cyberpower [[User talk:C678|Chat ]]Limited Access (Now using HTML5) 17:13, 20 September 2012 (UTC)


 * I don't think that's right. Was the intention to emit a warning if the Cyberbot I talk page notification was skipped, like you suggested on my talk page? Amalthea  18:25, 20 September 2012 (UTC)
 * Yes. I fixed the code sorry.  I was in a hurry and kind of messed up.— cyberpower  [[User talk:C678|Chat ]]Limited Access (Now using HTML5) 12:44, 21 September 2012 (UTC)
 * Hmm, alright, changed in repository and synched again. By the way, your signature has two odd linebreaks, could you fix that please? Amalthea  15:21, 21 September 2012 (UTC)
 * I don't know what you are talking about. It looks fine on everything I use.   Perhaps it's your browser.— cyberpower  [[User talk:C678|Chat ]]Limited Access (Now using HTML5) 15:40, 21 September 2012 (UTC)
 * In the page source, I meant. Amalthea  17:47, 21 September 2012 (UTC)
 * That is strange. I'll look into it.— cyberpower  Chat Online (Now using HTML5) 19:29, 21 September 2012 (UTC)
 * cyberpower: please read WP:CUSTOMSIG imo. your signature is way too large. → Aza Toth 18:33, 21 September 2012 (UTC)
 * No it's not. It's under 255.  I counted.— cyberpower  Chat Online (Now using HTML5) 19:29, 21 September 2012 (UTC)

Add redir to hatnote detection
(editprotected because this needs to be made in git, not just to the local copy here)

Currently TW doesn't recognised redir as a hatnote. This is a common shortcut for redirect. Could the hatnote regex be massaged to detect it as well? Cheers. Chris Cunningham (user:thumperward) (talk) 09:49, 18 October 2012 (UTC)

Possible brief disruption of Twinkle, postmortem
This was supposed to be at testwiki:MediaWiki:Gadget-Twinkle.js but obviously I couldn't tell the two wikis apart. Won't happen again, I'm making it work without ResourceLoader and in my userspace. I don't think the script broke for anyone, but if it did, it's fixed now, and I sincerely apologize. &mdash; MusikAnimal  talk  06:04, 26 February 2015 (UTC)

Protected edit request on 28 September 2015
Make this identify the target section in Redirects for discussion/Log/Year Month Day in case of an RfD for a redirect to a section.

GeoffreyT2000 (talk) 14:59, 28 September 2015 (UTC)
 * Suggest you discuss this at Wikipedia talk:Twinkle. Admins who patrol CAT:EP are not necessarily familiar with Twinkle or Javascript. Regards &mdash; Martin (MSGJ · talk) 15:09, 28 September 2015 (UTC)

If I wanted to install Twinkle on my own wiki.................
...........would I use this? Krett12 (talk) 03:17, 23 October 2015 (UTC)

Protected edit request on 5 December 2015
At the comment in the top, remove "newbies" as there is a JavaScript alert that prevents them from using the tool.

Krett12 (talk) 02:05, 5 December 2015 (UTC)
 * One of the most pointless requests I'be dealt with recently. ✅ &mdash; Martin (MSGJ · talk) 14:26, 7 December 2015 (UTC)
 * Just FYI, any changes here need to first be made to the git repo or else they will get overriden. This page should probably redirect to WT:TW &mdash; MusikAnimal  talk  16:56, 7 December 2015 (UTC)

Protected edit request on 16 April 2018
Instead of directly implementing this edit request, please merge this pull request: https://github.com/azatoth/twinkle/pull/417

https://en.wikipedia.org/w/index.php?title=User:ToBeFree/Gadget-friendlywelcome-sandbox.js&diff=836742542&oldid=836742500 ~ ToBeFree (talk) 16:07, 16 April 2018 (UTC)

(Explanation: Remove now-unnecessary "static" parameter, add new welcome template that should have been there from the beginning :) ) ~ ToBeFree (talk) 16:14, 16 April 2018 (UTC)
 * Not sure what is being requested here. If it is to change Twinkle's code I have no access to do that. Please clarify. &mdash; Martin (MSGJ · talk) 14:52, 18 April 2018 (UTC)


 * No problem, it has been solved by a developer. :) ~ ToBeFree (talk) 13:46, 27 April 2018 (UTC)

Issue
Hey! there is an issue with the module here. It uses the same code but i translated it and now there his an error and the submit or preview buttons don't return anything or execute any actions. Can someone tell me what's the issue? same thing with the speedy module as well.--&#9656; ‎épine talk &#9836; 20:44, 2 September 2018 (UTC)
 * I fixed the welcoming module but the sd module is a bit of an issue :( can someone please lend a hand?--&#9656; ‎épine <b style="color:black;font-size:11px">talk</b> &#9836; 23:21, 2 September 2018 (UTC)
 * Anyone??--&#9656; ‎<b style="color:purple;font-size:13px;display:inline-block;border:1px solid purple">épine</b> <b style="color:black;font-size:11px">talk</b> &#9836; 14:47, 5 September 2018 (UTC)
 * NVM, fixed it.--&#9656; ‎<b style="color:purple;font-size:13px;display:inline-block;border:1px solid purple">épine</b> <b style="color:black;font-size:11px">talk</b> &#9836; 23:17, 5 September 2018 (UTC)

Interface-protected edit request on 16 May 2020
In the uw-vblock module, can you change "You have been blocked from editing for persistent vandalism" to "You have been blocked from editing to prevent further vandalism"? 107.77.189.17 (talk) 18:35, 16 May 2020 (UTC)
 * Comment: wording in the template has been changed per discussion. —⁠andrybak (talk) 20:07, 16 May 2020 (UTC)
 * I've made the change to Twinkle's module, and pushed it live. For future reference, requests like this should probably be made at WT:TW. ~  Amory <small style="color:#555"> (u • t • c) 10:05, 17 May 2020 (UTC)

Interface-protected edit request on 20 July 2020
The ">" link in the "Orphaned non-free revisions" entry (third in the "License and sourcing problem tags" section) is broken. It links to Subst:orfurrev. I assume it should be Template:orfurrev (or even more sanely the actual Template:Orphaned non-free revisions) rather than the bogus Subst: namepace. Is there a deeper bug related to templates that need to be substituted? DMacks (talk) 17:00, 20 July 2020 (UTC) DMacks (talk) 17:00, 20 July 2020 (UTC)
 * this suggests that the usage is about requiring a substitution of that template instead of a call to it - can you point to the steps to follow that actually result in an output problem when this gadget is used? — xaosflux  Talk 11:06, 23 July 2020 (UTC)
 * Also, ping to who has been maintaining this (possibly against a remote code base source). —  xaosflux  Talk 11:08, 23 July 2020 (UTC)
 * Yeah, I know it; long standing point of convenience, but should've been dealt with ages ago. There's another too: Now Commons.  I opened a PR to deal with it, will merge this evening when I'm sure I didn't break anything. ~ Amory <small style="color:#555"> (u • t • c) 12:35, 23 July 2020 (UTC)
 * Just noting: On hold while I try and track down other issues with the tagging module. ~ Amory <small style="color:#555"> (u • t • c) —Preceding undated comment added 19:26, 25 July 2020 (UTC)

now.monthHeader
How to convert to local language Datetime? Alphama (talk) 18:17, 10 October 2020 (UTC)
 * Just seeing this now, the language for those functions is stored in an object in Morebits, you can submit your needs easily. ~ Amory <small style="color:#555"> (u • t • c) 11:42, 7 December 2020 (UTC)

Twinkle Errors
Our error logging has picked up the following errors. Volume is relatively low, but still significant. hope this is helpful! Jdlrobson (talk) 17:47, 28 February 2021 (UTC)

TypeError: Cannot read property 'parentNode' of null URL: https://en.wikipedia.org/w/index.php?title=Dire_wolf (Monobook)

Uncaught TypeError: Morebits.wiki.api.setApiUserAgent is not a function URL: Talk:Chevron_Corporation (vector)

Uncaught TypeError: Cannot read property 'normal' of undefined Seen on Multinational_corporation (Vector)

Thanks for the notes, is there any other info available? The first one implies that mw-revision-info doesn't exist, so either an issue in loading times or some errant user script. The others, I dunno, seem to suggest there's likewise something else interfering with the loading or the packages. Is there a count or timing or anything else I could look at? ~ Amory <small style="color:#555"> (u • t • c) 20:26, 1 March 2021 (UTC)

Hotfix
Hello. I'm a Twinkle maintainer. We have a pretty big bug in today's deploy that is breaking new TFD, FFD, etc entries. Requesting that we hotfix the following:

MediaWiki:Gadget-twinklexfd.js

Change line 809 to  – Novem Linguae  (talk) 19:31, 13 April 2022 (UTC)
 * ✅ Izno (talk) 19:35, 13 April 2022 (UTC)

New AFD getting stuck in Bengali projects!
Hi there, I am an IA from Bengali Wikibooks and Wiktionary. New AFD (from XFD menu) is not working in Bengali Wikipedia, Wikibooks and Wiktionary! It’s getting stuck in Adding deletion tag to article: Retrieving page... phase. But MFD, CFD and other XFD's are working properly! I can't figure out exactly where the problem is. Aishik Rehman (talk) 15:04, 29 June 2022 (UTC)


 * is null in b:bn:মিডিয়াউইকি:Gadget-morebits.js Line 3856. There is no PageTriage extensions on bn-wikis. So I suggest you to replace this.triage function with content "this.patrol". Xiplus (talk) 15:44, 29 June 2022 (UTC)
 * --Xiplus (talk) 15:47, 29 June 2022 (UTC)
 * Thank you so much @Xiplus! Now it is working properly! -- Aishik Rehman (talk) 16:55, 29 June 2022 (UTC)

Interface-protected edit request on 29 July 2022
Replace  with   in Line 1817. Hot fix for Wikipedia talk:Twinkle. Xiplus (talk) 05:47, 29 July 2022 (UTC)


 * Test edit with this patch: Special:Diff/1101076167. Xiplus (talk) 05:50, 29 July 2022 (UTC)
 * +1. I endorse this. – Novem Linguae (talk) 05:57, 29 July 2022 (UTC)
 * ✅ Izno (talk) 06:13, 29 July 2022 (UTC)
 * @Matma Rex This hotfix was necessitated due to an unannounced breaking change in the API - https://gerrit.wikimedia.org/r/c/mediawiki/core/+/814003/4/includes/EditPage.php#b1151. The API has stopped stripping  in sectiontitle param. I wonder if that was by accident? –  SD0001  (talk) 05:15, 30 July 2022 (UTC)
 * Oops, sorry about that… I think I didn't expect any API users to rely on that. The feature was undocumented and seemingly only meant for the normal edit interface, so it seemed wrong to let it affect parameters provided to the API. I've proposed a patch to undo that: https://gerrit.wikimedia.org/r/c/mediawiki/core/+/818534 Matma Rex talk 14:05, 30 July 2022 (UTC)

Hotfix for vector-2022 Twinkle dropdown menu appearance
Please make these changes to the file MediaWiki:Gadget-Twinkle.js. This will fix Village pump (technical). Copying and replacing using this raw file link may be easiest. Thanks. – Novem Linguae (talk) 11:05, 6 July 2023 (UTC)
 * Tested and confirmed working. The bug is causing all pages to be horribly broken for for all Twinkle users, so this is an urgent request. – SD0001  (talk) 12:05, 6 July 2023 (UTC)


 * Yeah, this is really bad. Some pages can become borderline uneditable. Agree that it's urgent. Peter Isotalo 12:20, 6 July 2023 (UTC)
 * ✅.  ~Oshwah~  (talk) (contribs)   12:22, 6 July 2023 (UTC)
 * @SD0001, @Novem Linguae: Is it possible to implement the fixes to meta:User:Xiplus/TwinkleGlobal also? &#8212;CX Zoom[he/him] (let's talk • {C•X}) 13:12, 6 July 2023 (UTC)
 * @CX Zoom Seems like this was already done by Xiplus, but you would have to check if it is working. Nux (talk) 14:15, 6 July 2023 (UTC)
 * Yup, it works! Many thanks to them. &#8212;CX Zoom[he/him] (let's talk • {C•X}) 14:34, 6 July 2023 (UTC)