Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a229e94d983d07d6

Jump to content

Template talk:Talk header/archivebotparse

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

Template-protected edit request on 29 March 2024

[edit]

Please change Lowercase sigmabot III to lowercase sigmabot III (changing the uppercase L to a lowercase l). As the name suggests, the bot's name is stylized with in all lowercase (see, e.g. User:lowercase sigmabot III which uses the template {{lowercase}}. Thanks! HouseBlaster (talk · he/him) 17:46, 29 March 2024 (UTC)Reply

@HouseBlaster: I'm declining this unless the current name is causing any issues (in which case, please provide an example) or is requested by the bot's (seemingly inactive) operator. Note that "Lowercase sigmabot III" is how the username appears in edit history and in the title of the bot's user page (i.e., there is no WP:DISPLAYTITLE). SilverLocust 💬 18:57, 29 March 2024 (UTC)Reply
@SilverLocust: there is actually a WP:DISPLAYTITLE on the bot's userpage: {{lowercase}} is a wrapper for DISPLAYTITLE (which automatically downcases the first letter; it is used on pages like eBay and iPhone). It was placed there by the bot operator in the first revision of the userpage. HouseBlaster (talk · he/him) 19:30, 29 March 2024 (UTC)Reply
I see. The title shown on mobile (which I was using) is "Lowercase sigmabot III"; I didn't check the source. Still, this is not broken as is, and this is the username seen in the edit history when the bot archives a page. SilverLocust 💬 21:56, 29 March 2024 (UTC)Reply

Possible simplifying enhancement regarding reader-friendly age param units to keep in mind

[edit]

Just leaving this out here, for possible future simplifying code adjustment at some point in the future, which is however not obligatory, so this can also just be ignored. Here's the story:

At a point after this subtemplate was first implemented, some additions were made to it to provide a simple version of reader-friendly units, so that Cluebot hour-denominated age (it only accepts hours) could be displayed as, say, "90 days" in the bot notice, rather than as "2160 hours", which would be how it is coded in the Cluebot config. Subsequent to this, Tollens created template {{Human readable duration}} to allow template {{Talk header}} to emit friendly units, and this is now live at {{Talk header}}. (It would be useful at template {{Archives}}, as well.)

This means that the simple, reader-friendly units code in this subtemplate is halfway obsolete (half, because it is also used by {{Archives}}), as {{Talk header}} now incorporates the much more robust design of {{Human readable duration}}, and the simple version here is no longer needed for that template. If and when {{Archives}} also incorporates template {{Human readable duration}}, that will mean that a simplifying enhancement of the subtemplate becomes doable, by removing the simple reader-friendly units code, and let Hrd take care of it. We are now halfway there.

Even at that point, there will be no obligation to remove the code, as it plays nice with Hrd, but to the extent that simpler code that accomplishes the desired end is better code imho, I would support removing it at some future lull, if and when there is an appetite to do so. Mathglot (talk) 08:16, 18 November 2024 (UTC)Reply

Support sigmabot units

[edit]

Please merge from the sandbox, which fixes the retrieval of archive duration when the unit is something other than "days" and adds support for the "years" unit. Aaron Liu (talk) 01:52, 20 June 2025 (UTC)Reply

@Aaron Liu: The fix for the age option looks fine, however as far as I can tell, sigmabot doesn't actually support years as a unit - it's either days, hours, or no suffix (which gets treated as seconds) - see User:Lowercase sigmabot III/Source.py where is says def str2time(s: str):. I suspect that if a page tries to specify old(1y) or similar, the bot will throw an error and never successfully archive the page. Aidan9382 (talk) 07:02, 20 June 2025 (UTC)Reply
Ah, I was misled. I've now updated the sandbox. Aaron Liu (talk) 11:21, 20 June 2025 (UTC)Reply
Alright, glad that's cleared up -  Done Aidan9382 (talk) 15:14, 20 June 2025 (UTC)Reply

Implement minarchthreads

[edit]

Please merge from the sandbox, which now supports getting the titular parameter with either "minarchthreads" or "minthreadstoarchive". (Unsure what alias would be intuitive so I've just not added one.) Aaron Liu (talk) 16:49, 29 December 2025 (UTC)Reply

 Done—Please report any issues. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 16:32, 30 December 2025 (UTC)Reply

Template-protected edit request on 24 March 2026

[edit]

The current template uses {{tmpv}} to search for use of |minthreadstoarchive= by ClueBot III, however ClueBot III uses |minarchthreads= (unlike Lowercase sigmabot III). Please change it as illustrated in the diff, below. I've implemented the change in the sandbox already.

Diff:

|minarchthreads |minthreadstoarchive = {{tmpv|{{{2|{{FULLPAGENAME}}}}}|User:ClueBot III/ArchiveThis|{{{cfg|1}}}|minthreadstoarchive}}
+
|minarchthreads |minthreadstoarchive = {{tmpv|{{{2|{{FULLPAGENAME}}}}}|User:ClueBot III/ArchiveThis|{{{cfg|1}}}|minarchthreads}}

Scyrme (talk) 20:40, 24 March 2026 (UTC)Reply

 Done * Pppery * it has begun... 16:12, 26 March 2026 (UTC)Reply
Thanks! – Scyrme (talk) 21:59, 26 March 2026 (UTC)Reply