Wikipedia talk:Twinkle/Development

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

Tag tab still present on file pages[change source]

Great job you've done here with the migration of Twinkle! Nice work.

I just noticed that you've removed the code for file tagging, but the "Tag" tab still shows up on file pages. It gives an error message and then shows a blank window. There are a few lines of code at the top of friendlytag.js that need to be deleted ... This, that and the other (talk) 10:36, 29 September 2012 (UTC)

Thanks for the notice! I've deleted the corresponding code now. --@intforce 11:03, 29 September 2012 (UTC)

Level one warning for test edits[change source]

When applying a level one warning for test edits, Twinkle should be applying template:Uw-test1 and, in fact, the template that is added to the user page indicates in hidden HTML that it is this template. But compare the template (at the above link) with the text actually applied, such as at User talk:24.217.81.183. The two are not the same. So what template is Twinkle actually applying? Is the wording hard-coded into Twinkle and simply not up to date with the actual template, or is Twinkle grabbing some other version? Etamni | ✉   17:35, 3 May 2016 (UTC)

Twinkle is indeed using the actual template. The difference in the template texts is due to the extra parameter (page title) which Twinkle adds to the template. If you want to change the wording, the relevant parts are inside the #if parserfunction in the template's source code. Chenzw  Talk  02:27, 4 May 2016 (UTC)

Double loading styles[change source]

I found this in my console: Gadget "Twinkle" styles loaded twice. Migrate to type=general. See <https://phabricator.wikimedia.org/T42284>. --TerraCodes (talk) 03:21, 26 October 2016 (UTC)

Twinkle failed to add automatic tag to creator's talk page when marking for QD[change source]

See this edit: Addition of QD tag using Twinkle to the Eric huang article - I performed this edit using Twinkle, which normally adds a note to the talk page of the article creator when their article is selected for deletion. In this case, however, I had to add the QD note manually to the creator's talk page, as Twinkle did not put one there. I can only presume this was a blip, since it's never happened before, but it would be helpful if someone could look and find out what went wrong. Thanks! DaneGeld (talk) 21:26, 11 April 2018 (UTC)

Dependencies[change source]

I tried copying Twinkle's source code to User:Computer_Fizz/twtest.js, and, without even making any changes it's already broken. Does twinkle have dependencies like a gadgets.js file? Computer Fizz (talk) 21:24, 3 May 2019 (UTC)

@Computer Fizz: Twinkle is very complicated. It would need to be heavily modified to work here if you were trying to copy it over. It is the reason we use a very old version, the version on en.wiki relies heavily on css and various other things that may or may not exist here that exist on en.wiki. It can't just be copied over. And I would note, its not just one file, there are many files to twinkle. -DJSasso (talk) 13:55, 6 May 2019 (UTC)

Can you add Template:uw-rfd?[change source]

I just made this template Template:uw-rfd, which is very similar to Template:uw-qd. It would be nice if someone could add it to Single-issue warnings on Twinkle. Thank you. Naddruf (talk) 02:05, 30 August 2020 (UTC)

Please announce the new warning message at WP:ST to gather feedback and other input first. The warning message will be added to Twinkle once the community is fine with the wording etc. Chenzw  Talk  02:34, 30 August 2020 (UTC)
It already was, see Project:Simple_talk#New_warning_for_removing_RfD_template Naleksuh (talk) 02:42, 30 August 2020 (UTC)

Using the [rollback] or [vandalism] button in Contributions[change source]

The rollback and vandalism buttons don't work in user contributions. If you press either of the buttons, it will go to a page called Page&twinklerevert=norm or Page&twinklerevert=vand, and nothing will be reverted. --Belwine💬📜 22:13, 25 January 2021 (UTC)

New warning template[change source]

uw-rfd should be added to Twinkle, as it has been used for a while by the community and everyone seems fine with it, I can see above. --Belwine💬📜 20:58, 31 January 2021 (UTC)

  • I will second this and I see it has been discussed and approved in previous requests. How can this be added? Is it just a swap out in our local code? Thanks - PotsdamLamb (talk) 21:09, 31 January 2021 (UTC)

Compromised account/promotion only account[change source]

For IPs, can these be greyed out, like on vandalism only account? --Belwine (talk) 21:15, 7 April 2021 (UTC)