User talk:Σ/Testing facility/Archiver

Suggestion: build in a way to revive archived threads
Hello, your tool seems to be very useful. I'd like to suggest a feature to make it even more useful in a unique way: reviving archived threads.

It would need to detect that archival pages via an archive template at the top of the page − mainly archive nav − and then instead of showing "archive" links show "revive" / "unarchive" links OR show this link as a button on the edit form of such pages. It would also be good if it detected whether discussions have been closed and not display the link for those.

I don't think it would be useful to build in functionality to revive multiple threads at once. An ideal way for thread-revival would be to open have the wikitext editor opened up where one can enter any new comments with a button to then revive the thread including the user's recently added message (as well as some info on the thread-revival maybe).

(The archive nav template shown on archival pages says: This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page.)

Please let me know what you think of this suggestion and whether you consider building it into your script. Thank you for your work! 

--Fixuture (talk) 23:14, 17 July 2017 (UTC)


 * Interesting idea but I think that might be out of scope of this tool. → Σ σ  ς . (Sigma) 21:02, 22 October 2017 (UTC)

Question for you....
Can you modify that archiver script to work on Commons??? Thanks - Atsme 📞📧 21:10, 27 July 2018 (UTC)
 * @Atsme See below. Not sure if you had any specific problem.  User:1234qwer1234qwer4 (talk)  21:13, 11 November 2021 (UTC)
 * Thank you, 1234qwer!!  Atsme  💬 📧 20:19, 14 November 2021 (UTC)

Section nesting improvements
Selecting a level n header will now select all of the sub-headers that it contains. You no longer have to select those headers yourself. Cheers! → Σ σ  ς. (Sigma) 06:32, 25 October 2018 (UTC)

importScript
importScript seems to be on the road to deprecation and mediawiki suggests 'mw.loader' instead. MediaWiki: Migration Guide —  Hei Liebrecht  19:10, 3 December 2018 (UTC)

Baffled
As a technophobe, the instructions don't make much sense. After following the instructions, I seem to have created a page, somewhere, I don't know where, which has an opaque function. Waste of time. Urselius (talk) 12:28, 3 November 2019 (UTC)

Incompatible with User:BrandonXLF/QuickEdit
I spent half an hour figuring out how to "select threads", as it says in the documentation, until I found out that buttons should appear next to the section titles through my alternative account (which does not have QuickEdit enabled). Couldn't the script be implemented more independently from other section buttons, as the mentioned OneClickArchiver is? 1234qwer1234qwer4 (talk) 13:55, 21 August 2020 (UTC)


 * I don't see the buttons either. And disabling 's excellent QuickEdit didn't resolve it either. I do have a sh!t load of scripts installedthanks to Enterprisey's all too convenient Script Installerso there may be conflicts with other scripts too. I did try adding a column for conflicts at WP:USL (and another for alternates) for users to report, but wouldn't have any of it. — 𝐆𝐮𝐚𝐫𝐚𝐩𝐢𝐫𝐚𝐧𝐠𝐚 (talk) 23:30, 26 May 2021 (UTC)

Set up automatic archiving
Can the "Set up automatic archiving" be configured to use ClueBot instead of MiszaBot? --Emir of Wikipedia (talk) 17:34, 29 August 2020 (UTC)

Select all
It would be handy if there was a 'select all' feature. Do you think it's feasible to implement it? ~ ★ nmaia d 04:10, 2 November 2020 (UTC)

Errors
When I recently tried using this script, it created a few different errors that I had to fix manually. Could this be resolved? &#123;{u&#124; Sdkb  }&#125;  talk 22:25, 15 November 2020 (UTC)


 * Same here: Special:Diff/1055629411 Enterprisey (talk!) 23:30, 16 November 2021 (UTC)

Portability
Can this script be made available on Wikispecies? Or via global.js on meta? Andy Mabbett ( Pigsonthewing ); Talk to Andy; Andy's edits 19:06, 1 July 2021 (UTC)
 * I was sure I had replied to this after the bug in Convenient Discussions preventing me to use it here was fixed. @Pigsonthewing  does not work?  User:1234qwer1234qwer4 (talk)  16:43, 8 September 2021 (UTC)
 * Yes, that works. Thank you. Andy Mabbett ( Pigsonthewing ); Talk to Andy; Andy's edits 18:56, 8 September 2021 (UTC)

Interface-protected edit request on 11 February 2022
Change Line 58 to

Change Line 62 to

This edit will add the name of the archive script to the edit summary, thus, helping other editors who view the edit history to identify and use this script. (This script allows archiving to all archive title formats and not just "User talk:Example/Archive x" like the other archive scripts. I expect it to help many editors if advertised within summaries.) ---CX Zoom(he/him) (let's talk&#124;contribs) 18:51, 11 February 2022 (UTC)
 * ❌ as this is a personal user script of a current user, of course if would like to change their script for your suggestion they are welcome to. —  xaosflux  Talk 19:00, 11 February 2022 (UTC)
 * It's more than a "personal user script" as it is both advertised on other pages and its own page includes installation instructions. Andy Mabbett ( Pigsonthewing ); Talk to Andy; Andy's edits 16:52, 12 May 2022 (UTC)
 * It is still hosted in userspace, and it is up to the maintainer how to design it (especially when it comes to thing like edit summaries). 1234qwer1234qwer4 16:55, 12 May 2022 (UTC)

Broken archiving on Wikispecies
In this diff I've repaired a couple of threads that were broken on Wikispecies (and added Archive top). I can see no obvious cause. Andy Mabbett ( Pigsonthewing ); Talk to Andy; Andy's edits 16:49, 12 May 2022 (UTC)

Forked with bugfixes
To any page watchers who reported bugs (@Pigsonthewing, @Sdkb), I have a fork with the bugs fixed at User:Enterprisey/archiver. Enterprisey (talk!) 07:04, 2 October 2022 (UTC)


 * @Enterprisey Looks good, thank you. Any chance you could add automatic detection of the highest-numbered available archive page? Andy Mabbett ( Pigsonthewing ); Talk to Andy; Andy's edits 11:35, 2 October 2022 (UTC)
 * Yes, I would definitely like to add automatic reading of archive templates (which includes the feature you mention) soon. It's a massive pain in the butt otherwise. Enterprisey (talk!) 19:25, 3 October 2022 (UTC)
 * @Enterprisey, if you have time could you also please address ? 1234qwer1234qwer4 08:56, 31 March 2023 (UTC)
 * Pigsonthewing, FYI: an attempt at automatic detection of the highest-numbered available archive page has been implemented in another fork: User:andrybak/Archiver. —⁠andrybak (talk) 20:16, 5 June 2024 (UTC)