Wikipedia talk:Twinkle

This is an old revision of this page, as edited by Amorymeltzer (talk | contribs) at 16:54, 8 May 2019 (Latest updates — 2019-05-08 (repo at 53b6bf4): new section). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.


Latest comment: 5 years ago by Amorymeltzer in topic Latest updates — 2019-05-08 (repo at 53b6bf4)

Children's personal info

The emerging consensus of this discussion at Wikipedia talk:Criteria for speedy deletion is that kids' personal information needs to be oversighted. I'm sure I'm not the only editor who has viewed this material in terms of deletion (U5, A7, G11, G10) in the past. Could we have another option on Twinkle's CSD menu to handle this properly by initiating an oversight request, Special:EmailUser/Oversight, pre-populated along the lines of "Child's personal info at articlename"? Thanks, Cabayi (talk) 10:46, 16 August 2017 (UTC)Reply

Please, please, please! Legacypac (talk) 12:43, 16 August 2017 (UTC)Reply

+1. Lowering the action threshold for this is a big win in terms of ensuring that issues like this get dealt with not by shining a huge spotlight on it (as there are several known cases of nominating for CSD immediately triggering bots to scrape the data and store it on one of numerous SpeedyDeletion wikis) but to make it easier to privately request oversight is a big win. Hasteur (talk) 12:59, 16 August 2017 (UTC)Reply
  • +1 but not limited to child personal data. Twinkle should offer an "email oversight" tab that contains common reasons for oversight or allows entering a custom reason. Regards SoWhy 12:30, 17 August 2017 (UTC)Reply
  • Support offering Twinkle-users a clear and simple way to report stuff which needs to be oversighted. If Oversighters find they are getting sent too many reports for non-oversight-worthy content, then the documentation at Twinkle can be fine-tuned to clarify what does and doesn't need to be reported. PamD 13:07, 17 August 2017 (UTC)Reply
  • There should be language to specify content needs to be removed before oversight is contacted. I'll save everyone my rant about how much content that should be rev del'd or oversight gets through NPP, but the goal should be to hide the content from the general public as quickly as possible, which requires the editor remove it before waiting what can be hours before an oversighter responds. TonyBallioni (talk) 13:28, 17 August 2017 (UTC)Reply
Just blank the personal details on sight, that should remove them from view and hide them from most of the general public and scrappers, who don't know enough to look in the page history, up until the Oversighter fully blocks them. Diego (talk) 14:04, 17 August 2017 (UTC)Reply
Yes. I know: I'm saying Twinkle should make that clear. A lot of people don't know that, though, so education is key here. TonyBallioni (talk) 14:21, 17 August 2017 (UTC)Reply

Revdel?

Can we add in revdel support as well? I completely understand the importance of a subtle oversight, but revdel is just as important and Twinkle could make such a task much easier. I hate to piggyback on a somewhat-separate topic, but it's been proposed three times now with zero comments from others. Primefac (talk) 01:29, 18 August 2017 (UTC)Reply

There is absolutely no way I'm going to figure out how to do that without accidentally deleting my entire account. TimothyJosephWood 16:37, 8 September 2017 (UTC)Reply
@Timothyjosephwood: Click this link: Special:Mypage/common.js > (Create the page if not already existent) > Edit page > Copy code exactly the way Primefac mentioned in the comment above > Hit "Save changes" and voila! :P Jiten Dhandha • talk • contributions • 16:51, 8 September 2017 (UTC)Reply
Jiten Dhandha, TJW doesn't have a common.js ;) Primefac (talk) 17:16, 8 September 2017 (UTC)Reply
@Primefac: I havent tested it yet, but I did add the code to my common.js. The prompts look simple and neat so there's no issue there (I see that only 4 ranges are allowed at max, which isnt an issue since I've never come across an article needed more than that). Now to see if it actually works when I come across an article with copyvio issues. Also, thanks for taking the time out to write the script! Jiten Dhandha • talk • contributions • 16:43, 8 September 2017 (UTC)Reply

Implementation details

  Doing... I'll take a shot towards implementing this - a revdel/oversight module, seeing as we have consensus for adding both. Would appreciate feedback on what all options the dialog box should contain and other stuff. SD0001 (talk) 16:10, 19 November 2018 (UTC)Reply

Why is there no role account for administrators for revision deletion requests, like User:Oversight? In its absence, it is only possible to support copyvio-revdel requests for which we have a template. I don't see how custom revdel requests can be supported since I don't know of any easy way to send emails externally or access the IRC using javascript. SD0001 (talk) 17:15, 19 November 2018 (UTC)Reply
I now see that User:Enterprisey/cv-revdel.js works delightfully for copyvio-revdel tagging, providing an interactive interface on the page history for selecting the oldid's that the template requires as parameters. Twinkle's form-based layout is clearly not the best way for copyvio-revdel tagging, as digging up the diffs and copying over the oldids is rather cumbersome. Enterprisey's script does the job much better. Hence I guess it'd be better to focus on a module solely for oversight requests. SD0001 (talk) 18:30, 19 November 2018 (UTC)Reply

The initial version of Twinkle oversight module is at User:SD0001/twinkleos.js. To install, please add importScript('User:SD0001/twinkleos.js'); //[[User:SD0001/twinkleos.js]] to your common.js page (that is, until it gets added to standard Twinkle). Feedback is welcome, especially on the options menuu, and default contents of the email subject and body fields that need to improvised. SD0001 (talk) 07:46, 21 November 2018 (UTC)Reply

@Cabayi, Legacypac, Hasteur, SoWhy, PamD, Diego Moya, TonyBallioni, Train2104, M.R.Forrester, FlightTime, Chris troutman, Apap04, Primefac, John from Idegon, Timothyjosephwood, Jiten Dhandha, and Sam Sailor: Feedback? SD0001 (talk) 07:58, 21 November 2018 (UTC) Reply
Please note "Send email" button will send the email to Oversight team. So don't click on it if you're just testing. If you wish, you can copy the code to your userspace page, install it and set the email target to yourself for sending test mails. SD0001 (talk) 08:14, 21 November 2018 (UTC) For now, I have reset email target to mw.config.get('wgUserName'), so that any test emails you send will go to yourself. 08:50, 21 November 2018 (UTC)Reply
@SD0001: Heya! Thanks for working on the script. I did a brief test and it appears to be working all right - the simple text fields are quite neat. The only little trouble I ran into was the "OS" option not appearing in the drop-down for Twinkle sometimes. Refreshing the page a couple of times seems to solve that. My knowledge of scripts and computer in general is quite limited, so maybe it's just a browser issue on my side? Jiten talk contribs 11:53, 21 November 2018 (UTC)Reply
@Jiten D: You may also see that the OS option appears at different position every time. Such issues are due to the order in which JS code is invoked, which I myself don't fully understand. Such issues would automatically disappear when this gets added to the Twinkle standard installation. SD0001 (talk) 13:33, 25 November 2018 (UTC)Reply
@SD0001: Thank for the ping. I also added a linkback for use purposes, you can remove it you want to. Thanks for doing this, I'll let you know if I have any issues. - FlightTime (open channel) 18:38, 21 November 2018 (UTC)Reply
First pass looks nice, SD0001, but can I complicate your life a bit and suggest a different tack? Right now, the form provides the page but is otherwise blank; editors will have to manually collect and add diffs, links, etc. just as they must currently. In short, this saves a few clicks (WP:OS->email) and has a sleek Twinkle interface. What would be really neat/helpful would be one or both of two things: on diff pages, pick up the diff link and username; and on history pages, allow for selecting of multiple diffs. The former is presumably easier. What would be good to avoid would be emails with generic text ("Requesting removal of personal information from User:Amorymeltzer") without more context — that'd save follow-up emails or time spent digging through page histories. ~ Amory (utc) 20:03, 21 November 2018 (UTC)Reply
@Amorymeltzer: On diff pages, pick up the diff link   Done (will update the script soon), but username? Of what use is the username when you have the diff link? On history pages, allow for selecting of multiple diffs -- that sounds quite difficult to me. How are you thinking of doing that? SD0001 (talk) 20:52, 21 November 2018 (UTC)Reply
There. Now a link to the page is also provided. If module was invoked from a permalink / diff page, the link to this is also provided. If invoked from article history, with any two revisions selected (via the radio buttons), a link of a diff comparing those revisions is generated. I am quite busy for 3 weeks from now, so I plan to undertake further improvements after that. SD0001 (talk) 22:19, 21 November 2018 (UTC)Reply
I installed the script but I see no interface for this, either on an history tab or a diff page. Please advise. Chris Troutman (talk) 18:20, 23 November 2018 (UTC)Reply
Do you not see the "OS" tab in the Twinkle dropdown menu? SD0001 (talk) 13:33, 25 November 2018 (UTC)Reply
Nope. Chris Troutman (talk) 00:19, 27 November 2018 (UTC)Reply

Feature request for easier warnings

Many years ago, I extracted a chunk of Twinkle code and modified it. It added a link next to the user on both sides of every diff. Clicking on it took me to the user's talk page, where I could then warn them, with the relevant article title automatically supplied.

A recent MediaWiki change broke this. Rather than figure out how to fix it, I thought I would put in a feature request for it to be implemented for everybody. For all those years, I've always found it to be extremely useful, and I'm sure many other users will appreciate it, too.

A slightly less convenient alternative would be an option to always display a "welcome" link in diffs, whether or not the user's talk page exists. Then you could click on it, but issue a warning instead of a welcome. MANdARAX  XAЯAbИAM 21:26, 27 September 2018 (UTC)Reply

It is tremendously helpful to be able to warn a user from a diff, with the page title filled in automatically. For example, you restore to a previous version and want to warn each of the participating vandals. Or you see that someone else reverted vandalism and you want to issue a warning that they neglected to do. Without this feature, you have to copy and paste, or type in, the page's title, which is inconvenient, and sometimes leads to errors. Or, worse, people issue a warning without bothering to take the extra time to fill in the relevant page name. MANdARAX  XAЯAbИAM 20:16, 21 January 2019 (UTC)Reply
I believe this pull does what you want? ~ Amory (utc) 18:13, 23 April 2019 (UTC)Reply
Yes, a simpler and more elegant solution! Thank you so much! When will it go live? MANdARAX  XAЯAbИAM 00:05, 24 April 2019 (UTC)Reply
Sometime in May most like, others should have a chance to review, suggest changes, etc. (such as on the bolding). ~ Amory (utc) 10:42, 24 April 2019 (UTC)Reply

Batch undelete problem

I am running into a problem with Batch Undelete. I get this sort of result:

Undeleting pages: Done (3/15 actions completed successfully)
Undeleting page Portal:Vienna/Opentask: completed (Portal:Vienna/Opentask)
Undeleting page Portal:Vienna/Selected biography: completed (Portal:Vienna/Selected biography)
Undeleting page Portal:Vienna/Selected biography/1: [XK8JFQpAAEgAAH7VN8gAAAAY] Caught exception of type Wikimedia\Rdbms\DBQueryError
Undeleting page Portal:Vienna/Selected biography/2: completed (Portal:Vienna/Selected biography/2)
Undeleting page Portal:Vienna/Selected biography/3: [XK8JFQpAEDcAAJ1ocK8AAACI] Caught exception of type Wikimedia\Rdbms\DBQueryError
Undeleting page Portal:Vienna/Selected biography/4: [XK8JFQpAEDQAAEykIBcAAABY] Caught exception of type Wikimedia\Rdbms\DBQueryError
Undeleting page Portal:Vienna/Selected picture: [XK8JFQpAIDoAAJkm5r0AAACR] Caught exception of type Wikimedia\Rdbms\DBQueryError
Undeleting page Portal:Vienna/Selected picture/1: [XK8JFQpAEMIAACVrIRwAAAAF] Caught exception of type Wikimedia\Rdbms\DBQueryError
Undeleting page Portal:Vienna/Selected picture/2: [XK8JFQpAEMIAACVrIRsAAAAT] Caught exception of type Wikimedia\Rdbms\DBQueryError
Undeleting page Portal:Vienna/Selected picture/3: [XK8JFQpAAEkAAH572TsAAABQ] Caught exception of type Wikimedia\Rdbms\DBQueryError
Undeleting page Portal:Vienna/Selected picture/4: [XK8JFQpAIDYAABypej4AAAAH] Caught exception of type Wikimedia\Rdbms\DBQueryError
Undeleting page Portal:Vienna/Selected picture/5: [XK8JFQpAIDQAAKdREK4AAADG] Caught exception of type Wikimedia\Rdbms\DBQueryError
Undeleting page Portal:Vienna/Selected picture/6: [XK8JFQpAMEIAACELKFwAAAAT] Caught exception of type Wikimedia\Rdbms\DBQueryError
Undeleting page Portal:Vienna/Selected picture/7: [XK8JFQpAIDwAAB6JstIAAABQ] Caught exception of type Wikimedia\Rdbms\DBQueryError
Undeleting page Portal:Vienna/Topics: [XK8JFQpAEMIAACVrISMAAAAX] Caught exception of type Wikimedia\Rdbms\DBQueryError

Problem recurs when new Und-batch attempted on the remainder of the list. Eventually all are undeleted, but by random sub-batches.

Can someone explain the error message? Does anyone know what is causing this? Is there a workaround? Cheers, · · · Peter Southwood (talk): 09:41, 11 April 2019 (UTC) (please ping with reply)Reply

Not sure, but wasn't something similar happening with deletion or moving a while ago? ~ Amory (utc) 10:52, 30 April 2019 (UTC)Reply

More nuance needed with WP:G8 for redirects to deleted pages

This deletion review essentially arose from the current implementation of Twinkle which is a bit trigger-happy.

A month ago, someone forked an article, and various editors retargeted subtopic redirects, which used to point to the parent article, to the new article. Then it was discovered that the article creator was a sock, so the new article was deleted per WP:G5.

Then Twinkle comes in. The redirects that pointed to the new (and now deleted) article were batch-nominated for WP:G8. They were deleted. This process ended up creating an estimated several hundred redlinks. A better resolution of the issue could've been that, instead of WP:G8, all those redirects should have reverted to their former target.

Here's my feature request for Twinkle: when Twinkle comes across a redirect to a non-existent page, check the page history to see if the redirect had ever pointed to another page that still exists, or had been an article in the past. If it had, then recommend sending to RfD rather than speedying. Will that work? Deryck C. 10:40, 17 April 2019 (UTC)Reply

I have raised this issue on GitHub with the same comments. Deryck C. 12:51, 24 April 2019 (UTC)Reply
And on wikitech-ambassadors. Apologies for not replying earlier, but having read everything, does not the issue stem from people not properly checking before tagging or deleting broken redirects? In particular, ...Twinkle doesn't check page history when it nominates redirects for WP:G8 deletion, and any mistakes it makes... is really the fault of the taggers in question, no? I agree that there's a real issue where useful redirects with prior or other targets get deleted when the current target is deleted, but again, isn't that on the deleting sysop for not doing their due diligence before deleting? Deleting redirects can be turned off in Twinkle's preferences or unchecked when using the form.
As to your suggestion, that'd be pretty unwieldy I think. Checking an unknown number of prior revisions of each redirect for a page that may or may not exist would be a lot of additional API calls, potentially exponentially so, and could take quite some time to process. There is some work at the moment by User:SD0001 regarding batch-deletion of subpages that could be relevant. Basically, it would show a list of subpages to be deleted before being clicked. I suppose one option would be to, rather than the above, do a system like that for redirects. I think we'd have to see a strong consensus before doing that, though, since it takes up a lot of space and this is a popular feature. ~ Amory (utc) 17:43, 24 April 2019 (UTC)Reply

Fully protected templates

Can Twinkle be changed so it will edit the documentation of a fully protected template to add the notice of a TfD? --Gonnym (talk) 10:38, 19 April 2019 (UTC)Reply

No, that is not right at all. Twinkle should be changed to make an edit request on the talk page to add the tfd notice. * Pppery * has returned 12:39, 19 April 2019 (UTC)Reply
That can work also, no issue with that. --Gonnym (talk) 12:40, 19 April 2019 (UTC)Reply
@Gonnym: See https://github.com/azatoth/twinkle/issues/176 . * Pppery * has returned 15:17, 19 April 2019 (UTC)Reply

It would be really helpful if Twinkle showed the number of edits to revert before the Revert button is clicked. Right now, if I don't notice that the user made multiple edits, I click on Revert, get a warning about reverting multiple edits, and then need to reload the page and pull up the history. It would speed up my workflow a little if there were a message warning me before I click that there will be X reverts.

Actually, now that I'm posting about this, another useful addition would be to add a link (either to the normal display or in the warning popup) to a diff of all of the edits which would be reverted to speed up the whole process even more. Something like "User has made X edits in a row (link to full diff). Are you sure you want to continue?" creffett (talk) 23:04, 19 April 2019 (UTC)Reply

Double signature

When I am placing warning templates and want to leave an additional message in the optional message section I often sign that optional message as a habit, then when I go to preview it only shows one signature, but when I publish it places 2 signatures, (an example can be seen here), can a change be made so that twinkle automaticly removes a duplicate signature if you accidently insert it or it shows the automated signature in the preview. Thanks, SSSB (talk) 10:20, 21 April 2019 (UTC)Reply

Latter seems most appropriate and should be easy to do. ~ Amory (utc) 11:10, 21 April 2019 (UTC)Reply

Mobile view

Would It be possible to deploy a lightweight version Twinkle in the mobile version of MediaWiki? I mean I want to use a Twinkle in mobile view. Sincerely, Masum Reza 00:16, 24 April 2019 (UTC)Reply

Template:Db-unfree listed at RfD

The redirect Template:Db-unfree to Template:Db-f9 is currently listed at Redirects for discussion. If this template is used for Twinkle's F9 speedy deletion feature, this should be fixed until the discussion is over. Thanks! Jalen D. Folf (talk) 02:39, 24 April 2019 (UTC)Reply

It was indeed noted but thanks! ~ Amory (utc) 10:52, 24 April 2019 (UTC)Reply

Block

Block tab still blocks if someone else blocked after the interface pops up; ideally it checks again if a block is in place before actually proceeding. -- Lofty abyss 23:49, 24 April 2019 (UTC)Reply

@Lofty abyss: Issue added to github - https://github.com/azatoth/twinkle/issues/602 --DannyS712 (talk) 23:52, 24 April 2019 (UTC)Reply
Thanks. -- Lofty abyss 09:40, 25 April 2019 (UTC)Reply

AfD question

Is there an option in twinkle to put more than one article to one AfD? Govvy (talk) 11:23, 1 May 2019 (UTC)Reply

Sadly, no. Someday maybe, it's certainly on the to-do list! ~ Amory (utc) 19:06, 6 May 2019 (UTC)Reply

Twinkle shouldn't follow redirects when delivering warnings

We noticed today that Twinkle is willing to follow redirects from the target user's talk page when issuing warnings and block messages. For example, this block resulted in this warning, because the vandal had set their talk page to redirect to User:DoRD. Twinkle probably shouldn't follow any redirects at all when issuing warnings or delivering block messages, but it definitely shouldn't be doing so cross-namespace. ST47 (talk) 23:15, 3 May 2019 (UTC)Reply

Latest updates — 2019-05-08 (repo at 53b6bf4)

Here are some of the latest changes and new features and behaviors made to Twinkle. Major improvements to WP:PROD behavior, a new "Restore this revision" link on old revisions, plus now you can delsort AfD's upon nomination! Plus a number of bug fixes as well as the usual improved handling and functionality. (changes not otherwise attributed were made by User:Amorymeltzer)

  • Add [restore this revision] link when viewing old revisions, just like on diffs (562)
  • xfd:
  • prod:
    • Add {{old prod}} to talkpage upon on nomination (567)
    • Check for old PROD templates on talkpage or an existing AfD, abort if found (566)
    • Enable BOOKPROD on userspace books in appropriate category (559)
    • Don't insert a stray comma when endorsing a PROD (585)
  • prod/csd: don't log notifications if the notification failed (e.g. the user talk page was protected) (578, User:SD0001)
  • csd:
    • Wikilink numerous extra parameters in the CSD log, such as users, XfDs, files, etc. (584)
    • Add link to log when logging files, as deleted files that existed on commons would still appear bluelinked (535)
    • Don't allow blank F9 logging (584)
    • Add plain G8 to category list (603, User:DannyS712)
  • protect:
    • When requesting protection at WP:RfPP, prompt the user to ask the protecting admin (297 & 586, User:MusikAnimal)
    • Disable pending changes dropdown on ineligible namespaces (anything other than main or project) (560)
    • Remove autoconfirmed from dropdowns when inappropriate (move protection and mainspace creation) (451)
  • batchdelete: Fix longstanding bug where the image-delinker didn't work (594, User:SD0001)
  • batchundelete:
    • Mostly alleviate/avoid database errors when restoring large pages (613)
    • Add option to restore talk pages as well (601, User:SD0001)
    • Add red color and confirmation for create-protected pages (as is done in batchdelete) (613)
  • tag:
  • welcome: Enable on every user-related page (547)
  • warn: Show signature in preview (587)
  • arv: Remove extra blank line for UAA reports (607, User:Pppery)
  • Add <nowiki> tags to twinkle preference pages (612, User:DannyS712)

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. As always, input is welcome at the GitHub repo as well. ~ Amory (utc) 16:54, 8 May 2019 (UTC)Reply

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy