User talk:Σ/Testing facility/Archiver

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

Suggestion: build in a way to revive archived threads[edit]

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)[reply]

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

Question for you....[edit]

Can you modify that archiver script to work on Commons??? Thanks - Atsme📞📧 21:10, 27 July 2018 (UTC)[reply]

@Atsme See #Portability below. Not sure if you had any specific problem. ~~~~
User:1234qwer1234qwer4 (talk)
21:13, 11 November 2021 (UTC)[reply]
Thank you, 1234qwer!! Atsme 💬 📧 20:19, 14 November 2021 (UTC)[reply]

Section nesting improvements[edit]

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)[reply]

importScript[edit]

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)[reply]

Baffled[edit]

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)[reply]

Incompatible with User:BrandonXLF/QuickEdit[edit]

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)[reply]

I don't see the buttons either. And disabling BrandonXLF's excellent QuickEdit didn't resolve it either. I do have a sh!t load of scripts installed—thanks to Enterprisey's all too convenient Script Installer—so 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 Nardog wouldn't have any of it. — 𝐆𝐮𝐚𝐫𝐚𝐩𝐢𝐫𝐚𝐧𝐠𝐚 (talk) 23:30, 26 May 2021 (UTC)[reply]

Set up automatic archiving[edit]

Can the "Set up automatic archiving" be configured to use ClueBot instead of MiszaBot? --Emir of Wikipedia (talk) 17:34, 29 August 2020 (UTC) (please Reply to icon mention me on reply; thanks!)[reply]

Select all[edit]

@Σ: 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)[reply]

Errors[edit]

When I recently tried using this script, it created a few different errors that I had to fix manually [1][2]. Could this be resolved? {{u|Sdkb}}talk 22:25, 15 November 2020 (UTC)[reply]

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

Portability[edit]

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)[reply]

I was sure I had replied to this after the bug in Convenient Discussions preventing me to use it here was fixed. @Pigsonthewing mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Σ/Testing facility/Archiver.js&action=raw&ctype=text/javascript'); does not work? ~~~~
User:1234qwer1234qwer4 (talk)
16:43, 8 September 2021 (UTC)[reply]
Yes, that works. Thank you. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 18:56, 8 September 2021 (UTC)[reply]

Interface-protected edit request on 11 February 2022[edit]

Change Line 58 to summary: "[[User:Σ/Testing facility/Archiver|Archy McArchface]] removed " + numOfThreads + " threads to [[" + archiveTarget + "]]"

Change Line 62 to summary: "[[User:Σ/Testing facility/Archiver|Archy McArchface]] added threads from [[" + mw.config.get("wgPageName") + "]]"

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|contribs) 18:51, 11 February 2022 (UTC)[reply]

 Not done 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)[reply]
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)[reply]
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)[reply]

Broken archiving on Wikispecies[edit]

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)[reply]

Forked with bugfixes[edit]

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)[reply]

@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)[reply]
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)[reply]
@Enterprisey, if you have time could you also please address #Incompatible with User:BrandonXLF/QuickEdit? 1234qwer1234qwer4 08:56, 31 March 2023 (UTC)[reply]