Jump to content

User talk:Anne drew/SetupAutoArchive

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Feedback

[edit]

Is the "More dropdown" only available for certain skins? I don't seem to have one. Bri.public (talk) 21:36, 23 November 2017 (UTC)[reply]

Hey Bri.public, the script was designed in vector which has the More dropdown. In Monobook, the option is along the top of the page near the "new section" and "edit this page" tabs (the option is called "Setup Archive"). In timeless, the option doesn't seem to show up anywhere, so I'll have to look into that. Can I ask what skin you use? AdA&D 23:56, 23 November 2017 (UTC)[reply]
Modern ☆ Bri (talk) 00:23, 24 November 2017 (UTC)[reply]
It should be on top of the talk page on this line: User page Talk Edit this page New section History Move Watch * Setup Archive. It is only available from the talk page in read mode, not edit mode. AdA&D 01:00, 24 November 2017 (UTC)[reply]

Page move

[edit]

Hi @Anne drew, I noticed your script wasn't working for me today, so I checked the JavaScript code to see if something had happened. It seems that because you moved the page to update your username, the script is broken (i.e. the button does not show up) for users who have your old username linked on their common.js file. Perhaps you should look into this. Thanks! InfiniteNexus (talk) 22:20, 10 August 2024 (UTC)[reply]

Thanks for the heads up InfiniteNexus! Rachmat04 maybe you could help us with this? You renamed my account a couple weeks ago which I appreciate, but unfortunately it seems to have broken some of my user scripts because they were turned into redirect pages. For example I have this script installed in my common.js file but it is no longer functioning. I'm not sure how script redirects work so I was wondering if you had any ideas on how to resolve this. Thanks! – Anne drew 00:57, 12 August 2024 (UTC)[reply]
The redirect at https://en.wikipedia.org/w/index.php?title=User:Anne_drew_Andrew_and_Drew/SetupAutoArchive.js&redirect=no looks like it should work. And I don't see "Anne drew" or "Anne_drew" hard-coded anywhere in User:Anne drew/admintagger.js. Might want to set some browser breakpoints and step debug and see what's going on. –Novem Linguae (talk) 02:59, 12 August 2024 (UTC)[reply]
Digging deeper, looks like trying to load /* #REDIRECT */mw.loader.load("//en.wikipedia.org/w/index.php?title=User:Anne_drew/SetupAutoArchive.js&action=raw&ctype=text/javascript"); via the API returns an error 403. It doesn't like that it's a ctype=text/javascript of an unregistered user. This is basically the bug in phab:T272297. There's a pending patch for it but it's stuck in code review.
The workaround, of course, is to change your common.js to load the User:Anne_drew versioninstead of the User:Anne_drew_Andrew_and_Drew version. –Novem Linguae (talk) 03:11, 12 August 2024 (UTC)[reply]
Since this bug is taking a long time to resolve, and for all I know could take years longer, would it be possible to restore the scripts at their original locations? i.e. revert the last revision to each page in this list:
I don't have the rights to do that, but would you be able to do that for me Novem Linguae? Thanks – Anne drew 00:44, 30 September 2024 (UTC)[reply]
Is it a good idea to essentially do 5 copy pastes? If you ever updated the scripts, these locations would get out of sync. –Novem Linguae (talk) 00:46, 1 October 2024 (UTC)[reply]
I understand that, and it's not ideal, but I think getting people's scripts working again would be good even if they won't receive potential future updates. Once phab:T272297 is resolved we can restore the redirects. – Anne drew 01:28, 1 October 2024 (UTC)[reply]
I've left a comment in the patch to see if I can stir up some activity. Please ping me again in a week if the patch doesn't have any activity and I'll probably do the copy paste then. –Novem Linguae (talk) 01:59, 1 October 2024 (UTC)[reply]