User talk:Anne drew/SetupAutoArchive

Latest comment: 6 days ago by Novem Linguae in topic Page move

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