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. |
Archive 1 | Archive 2 |
I have changed the large parameter to a banner parameter and then altered parts of the template in order to give the same appearance as the Template:Archive banner. They are not identical. I have chekced and I think it works fine however some parameters such as search-width will not do anything if it is in banner mode as well as bypassing the long switch for the Archives list to just a numbered horizontal list. I did also have to remove the class="mbox-text" from the header cell in banner mode becuase it was stopping the formatting and since I don't know what that does it might break something? It is at the bottom of the Template:Archives/testcases. Just wondering peoples oppinions on this and if it is all good before I request for it to be added to the main code again. Terasail [Talk] 20:38, 18 September 2020 (UTC)
|large=
as an alias for banner and add support for collapsing the banner. --
Trialpears (
talk) 16:27, 27 September 2020 (UTC)
|large=
and I have also updated it so that the small collapsed box no longer is broken. However there is no real need for the expanding/collapsing banner since it can display all the archives on a single line, I did however make it so that the banner itself could be collapsed into a single line as shown in the testcases.
Terasail
[Talk] 18:10, 27 September 2020 (UTC)Have a look at this usage (link to diff adding the usage).
The 1st unnamed parameter is used to display a custom message explaining the archival parameters. In this case just saying "Threads older than 30 days may be archived" wasn't deemed sufficient to explain - threads may stick around for much longer, and the explanation for this is because of the minthreadsleft parameter: |minthreadsleft=10
. Since the number of threads that must remain is high, threads will often not be archived after only 30 days.
Please address this.
At minimum, update the documentation to explain how to use the 1st unnamed parameter for this purpose. (Unless of course there's a better way!)
Ideally, the template (along with {{ Auto archiving notice}} etc should support a standard message for this usage; when there is need for further explanation than merely "Threads older than 123 days may be archived".
Regards, CapnZapp ( talk) 21:56, 20 September 2020 (UTC)
{{User:MiszaBot/config}}
and {{User:ClueBot III/ArchiveThis}}
parameter settings so there is no need for manually giving the same instructions twice (to the bot and the banner, respectively), minimizing work and the risk of updating one without the other.|minthreadsleft=
but |minthread=
is just annoying.Hello, I have made some minor and significant changes to parts of the Archives template in the sandbox and added some extra testcases to the bottom to better show some of the changes. The following are some things that I changed:
|1=
and |list=
so text isn't against the border.|long=
to bot archiving text which states when sections will not archive. (Shown in the bottom testcase)|minthreadsleft=
which is set to 4 by default, requires |long=yes
. (Shown in the bottom testcase)|large=
so that it displays in a talk banner style in line with {{
Archive banner}}.Everything appears to work in the testcases and I have checked on some pages and it appears to work well, so I was wondering if anyone objects to these changes / has any comments. So that if they are all good I would request the changes. Terasail [Talk] 09:44, 2 October 2020 (UTC)
|minthreadsleft=
but I don't understand the |long=
(or is it |large=
?) requirement. See
Wikipedia talk:Manual of Style/Film for my manual kludge I want the template to automatically support. I genuinely don't see the need to require |long=yes
? Also I don't understand how |days=weeks
can work as intended in those testcases of yours? Finally a friendly reminder: please mirror your improvements for {{
Auto archiving notice}} after your good work here is done :)
CapnZapp (
talk) 08:08, 7 October 2020 (UTC)
|large=
as is? You don't need to throw away your code - how about supporting your new appearance through |large=banner
?
CapnZapp (
talk) 08:15, 7 October 2020 (UTC)
|days=weeks
testcase appears to be an old testcase that is before I started editing and is no longer part of the active template, the |long=
parameter extends the text shown for the bot archiving, since it may not be useful to show on the smaller box style and so I added a parameter to allow it to be added if an editor wishes. I dont see a point in |large=banner
since the current form of the large style is just a wider version of the box I personally think it is just a worse version and it is doubtful that anyone uses it.
Terasail
[Talk] 13:38, 7 October 2020 (UTC)
|minthreadsleft=
even when |long=not yes
. If you feel confident |large=
doesn't break anything, more power to you. 'Twas but a suggestion. Cheers,
CapnZapp (
talk) 14:40, 7 October 2020 (UTC)
At this time, I would personally encourage you to go ahead and implement your changes (or request an edit thereof), User:Terasail. Cheers, CapnZapp ( talk) 15:34, 19 October 2020 (UTC)
I have started a discussion over at Template talk:Auto archiving notice#General Update you might be interested in. CapnZapp ( talk) 10:53, 21 October 2020 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
I noticed a formatting error which could be breaking some transclusions if they are using |list=
.
I have fixed it in the sandbox with this diff:
sandbox dif
Terasail
[Talk] 13:15, 21 October 2020 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
It was noted above by Izno that if there is archive list created, it was not being auto detected by the template as it used to. I have fixed this in the latest version of the sandbox (or the two edits made on the 23 October). There was an extra if statement which stopped the auto detection and I removed this along with making sure the text aligns left for archivelists.
Code Change:
|
---|
Previous code: |[[{{#rel2abs:./{{{index|Archive index}}}}}|Index]] }}{{#if:{{{archivelist|}}}| {{#ifexist:{{#rel2abs:{{{archivelist|./archivelist}}}}} |{{#rel2abs:{{{archivelist|./archivelist}}}}}}} Changed to: |[[{{#rel2abs:./{{{index|Archive index}}}}}|Index]] }}{{#ifexist:{{#rel2abs:{{{archivelist|./archivelist}}}}} |<div style="text-align:left;">{{ {{#rel2abs:{{{archivelist|./archivelist}}}}} }}</div> Terasail [Talk] 15:26, 23 October 2020 (UTC)
To editors Izno and Terasail: so, yes or no... this?: |[[{{#rel2abs:./{{{index|Archive index}}}}}|Index]] }}{{#ifexist:{{#rel2abs:{{{archivelist|./archivelist}}}}} |<div style="text-align:left;">{{ {{#rel2abs:{{{archivelist|./archivelist}}}}} }}</div> or this?: |[[{{#rel2abs:./{{{index|Archive index}}}}}|Index]] }}{{#ifexist:{{#rel2abs:{{{archivelist|./archivelist}}}}} |{{ {{#rel2abs:{{{archivelist|./archivelist}}}}} }} |
That decision should be made before this template is edited, and I have no opinion which way it should go. P.I. Ellsworth ed. put'r there 05:50, 26 October 2020 (UTC)
{{#ifexist:
. However, there is no matching }}
to terminate it. I don't know how this template is used but the div
opens don't seem to be matched with closes.
Johnuniq (
talk) 02:36, 27 October 2020 (UTC)|no=<!--No output-->
.
Terasail
[Talk] 11:26, 27 October 2020 (UTC)
Okay so we're back to a stable version? At least that's what I'm assuming. If y'all read the next section and get stressed out because the current work isn't finished, please just disregard it for now and focus on your current task first :) CapnZapp ( talk) 08:48, 29 October 2020 (UTC)
Not sure if this is the same bug or a new one... or if it's a bug at all...
Over at Wikipedia talk:WikiProject Classical Greece and Rome note how the last archive listed by the box is "Archive 30 (Jan 2020 – )". In reality, the latest archive used by the bot is Archive 33: [1]
Cheers, CapnZapp ( talk) 14:19, 29 October 2020 (UTC)
|1=
and that list should probably be moved onto
Wikipedia talk:WikiProject Classical Greece and Rome/archivelist but it just needs to be manually updated, or removed if the archive numbers should be shown.. This doesn't have anything to do with a break in the template.. just a problem with manual archive lists.
Terasail
[Talk] 14:30, 29 October 2020 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
I am proposing some substantial changes to this template and have added these changes to {{ Archives/sandbox}} and these can be seen at the testcases. I have posted updates to my changes previously in the talk pages and discussed with User:Trialpears and User:CapnZapp about these changes until the current version of the changes.
Breif Background: This template was merged with a now deleted talk page "banner style" archive template and this was done by just adding the old template to this current template and selecting either style with an if statement. This is not the best way to achive this in my oppinion.
Changes that have been made in the sandbox:
|banner=
is changed to be synonymous in functionality with |large=
.|large=
/ |banner=
parameters now shows the talk page "banner style" rather than any previous styles.|minthreadsleft=
was added to allow editors to display the archive bot setting.|1=
or |list=
are used.If these are to be implemented it would probably be best to just use the sandbox version.
Side note: While not exactly the same as when the current |banner=
style is displayed, it provides identical functionality.
Terasail
[Talk] 21:54, 19 October 2020 (UTC)
no archives yet ( create) |
Threads older than 30 days may be archived by MiszaBot II, but only when more than ten topics are present. |
Consider this usage (from MOS/Film) - look right: Note how I'm using custom text.
The second {{ Archives}}'s my attempt to recreate this look using official parameters (after the recent upgrade).
no archives yet ( create) |
|
Question 1: why is the index suddenly popping up? (The sole "1" that would be dozens of archives back on its "real" page)
Question 2: what's different about the |bot=
parameter? I can't get it to accept a wikilink.
CapnZapp (
talk) 05:35, 20 October 2020 (UTC)
Did the most recent edit break uses of the template such as at Wikipedia talk:Manual of Style/Lists? Pinging Paine Ellsworth. 207.161.86.162 ( talk) 07:24, 20 October 2020 (UTC)
To editor
Terasail: If you go to the talk pages in question,
WT:MOSFILM and
WT:MOSLIST, then test the sandbox (I've replaced your code there) in "Show preview", you'll see that all the archives disappear from the boxes. If you need more help to do this let me know.
P.I. Ellsworth
ed.
put'r there 08:05, 20 October 2020 (UTC)
PS. I should note here that, on
my user talk page, all my archives were still in the box after the edit – none of them disappeared, so this seems to be a rather weird problem. Just so you know, I add my archive links into the box manually, which might be why they didn't disappear. PS added by
P.I. Ellsworth
ed.
put'r there 08:55, 20 October 2020 (UTC)
|auto=
is assigned a value, the data in |1=
is shown along with the archive list. But not when |auto=
has no value.The example output "Any threads with no replies in 30 days and 10 threads remaining are automatically archived by MiszaBot II." doesn't do, I'm afraid. Can we change it to use more idiomatic English please?
Suggestion: "Threads older than 30 days may be automatically archived by MiszaBot II when more than 10 threads are present."
Note the return to the verb "may", which was used because archival bots don't always run, and there are several ways the bot might skip a thread even if it does run. Also, minthreadsleft=10 doesn't mean the page is archived at 10 threads, it means the bot makes sure there are 10 threads left. And so the message needs to say "more than" - the current language could be interpreted to mean that a page with 11 threads remaining is *not* archived. Thanks CapnZapp ( talk) 18:21, 20 October 2020 (UTC)
Note:This section continues the previous discussion on "Phrasing" after subsequent work. Note the date stamps. CapnZapp ( talk) 15:13, 30 October 2020 (UTC)
This
edit request to
Template:Archives has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
This regards the phrasing of the output of combinations of the |age=
, |minthreadsleft=
and |bot=
parameters.
Here I'm using an example that uses all three.
Please change
to
Please see #Phrasing above for the discussion. CapnZapp ( talk) 08:59, 29 October 2020 (UTC)
Adding a link to the heading makes it appear in some cases that it will lead to perhaps an index of archive pages as opposed to Help:Archiving a talk page (I do not have nor want an index at this time). I was surprised by both the link and where it took me. I would not object to this change if it is added as a parameter, with preference to the default being to not display the link (though as long as I could opt out with a simple parameter, I would be content; this is too complicated of a template for me to easily substitute it). — Godsy ( TALK CONT) 18:39, 20 October 2020 (UTC)
Note: This seems pertinent to this discussion: Template talk:Auto archiving notice#Hides the archive index. CapnZapp ( talk) 11:04, 21 October 2020 (UTC)
|index=
, |title=
in conjunction with |auto=no
did combine to a title/header that was also a link to the supplied index. Have a look at my talk for a use case. Suddenly there's no link to my archive. (I'm fully open to having to tweak my parameters, I'm just pointing out that the link did not appear by "default", I had to experiment quite a lot to get the appearance/functionality I wanted, and now it works differently) Regards,
CapnZapp (
talk) 11:57, 21 October 2020 (UTC)
|list=
to display the two archives. Such as the following:{{Archives|image=[[Image:File-manager.svg|35px]]|list= *[[User talk:CapnZapp/Archive|Archive]] *[[User talk:CapnZapp/Archive 1|Archive 1]]}}
|auto=no
because I'm not using the format of automatic archiving. I'm informing you template editors that, AFAIK, Godsy's edit removed the link from the header/title, and I'm asking y'all 1) to check this isn't breaking more important instances of the template (than my user talk), and 2) how do I get back the link to my archive? I want the link to appear in the header/title; precisely what Godsy don't want (at least not as a default). Thank you
CapnZapp (
talk) 14:57, 21 October 2020 (UTC)Got an archive list at User talk:Izno/archivelist that no longer displays on my user talk page. How well exercised was the change? :) -- Izno ( talk) 14:08, 23 October 2020 (UTC)
Taking things one issue at a time... :) I'd like to continue the previous discussion at #Link in heading, namely:
How do I make a link out of the title/header using the current version of the template, after the edits by Godsy & Co?
(Starting a new section for visibility - if everyone is confident this is seen equally well in the previous section despite not having an edit request to draw attention, feel free to move it up) CapnZapp ( talk) 09:41, 30 October 2020 (UTC)
|title=[[(article/page)|Archives]]
Terasail
[Talk] 10:05, 30 October 2020 (UTC)
|bot=
). The documentation must make clear which parameters need to be linked manually and which parameters are linked automatically.
CapnZapp (
talk) 12:38, 30 October 2020 (UTC)
title=[[Think outside the box|{{color|darkgreen|<u>'Think outside it{{hsp}}''!'''</u>}}]]<br /><br />{{maroon|* my archives *}}
.|auto=no
is stopping anything from being displayed.
Terasail
[Talk] 15:25, 30 October 2020 (UTC)
The header in the template before the merger was linked to an index page if there was one available. Since the index was moved to text...Somehow I managed just the right combination of parameters to make this index-linking work to my advantage, and now that functionality is lost or changed? I would like to know which. Only if we understand our changes can we evaluate the risk of the template breaking on other pages. Okay then, so your answer then: does
That is what I mean by index in textmean you removed the indexlinking ability (which presumably is what I got to link to my archive page?) from the header/title unto a new link (the line underneath, the line you call index)? Cheers CapnZapp ( talk) 16:04, 30 October 2020 (UTC)
@
CapnZapp: I think I understand what you are saying, and yeah the indexing before just added a link to the title, whereas now you will have to manually do it though |title=
or you can use |list=
to manually list the archives. I hope I have helped. Not sure if I have been answering your questions correctly since I didn't really understand what you were asking.
Terasail
[Talk] 16:16, 30 October 2020 (UTC)
Previously the template's header/title could automatically become a link in certain circumstances (see my user talk for an example of these circumstances). Now, some change or sequence of changes has made this functionality disappear. What has happened and why? Was the change intentional or accidental? What was the reason for the change? Was this specific change discussed anywhere?
|title=
Archives
.
Terasail
[Talk] 16:56, 30 October 2020 (UTC)
My conclusion is that despite the change being implemented with close to zero prior discussion, nobody is objecting to it. In other words, the ability to arrange the parameters "just so" to make the header/title become a link automatically is now gone. CapnZapp ( talk) 21:19, 6 November 2020 (UTC)
I wonder if there's any means to get the underlying search function to follow redirects. E.g., the search at Talk:Teaching English as a second or foreign language does not work. My blind guess is that some Lua trickery could get it to evaluate each archive page (.../Archive_1, etc.) and determine whether it's a redir, and if so then pass that real page name for searching instead of just the "content" of the redirect page itself. — SMcCandlish ☏ ¢ 😼 05:09, 29 November 2020 (UTC)
According to
User:ClueBot_III#Index_generation it should be possible to use |index=
to specify a link to an archive index page which will be shown alongside the list of links to found archive pages. I tried to point this to |index=User:ClueBot III/Master Detailed Indices/Help_talk:Citation_Style_1
, but no index showed up. Would be great to have.
This is what I expected to work:
{{Archives |search=yes |root=Help talk:Citation Style 1 |title=[[Help talk:Citation Style 1|Help: Citation Style 1]] |auto=short |index=User:ClueBot III/Master Detailed Indices/Help talk:Citation Style 1}}
1,
2,
3,
4,
5,
6,
7,
8,
9,
10 |
This page has archives. Sections older than 30 days may be automatically archived by ClueBot III when more than 2 sections are present. |
This is my temporary workaround:
{{Archives |search=yes |root=Help talk:Citation Style 1 |title=[[Help talk:Citation Style 1|Help: Citation Style 1]] |auto=short |{{center|1=[[User:ClueBot III/Master Detailed Indices/Help talk:Citation Style 1|Index]]}}}}
1,
2,
3,
4,
5,
6,
7,
8,
9,
10 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 21, 22, 23, 24, 25, 26, 27, 28, 29, 30 31, 32, 33, 34, 35, 36, 37, 38, 39, 40 41, 42, 43, 44, 45, 46, 47, 48, 49, 50 51, 52, 53, 54, 55, 56, 57, 58, 59, 60 61, 62, 63, 64, 65, 66, 67, 68, 69, 70 71, 72, 73, 74, 75, 76, 77, 78, 79, 80 81, 82, 83, 84, 85, 86, 87, 88, 89, 90 91, 92, 93, 94 |
This page has archives. Sections older than 30 days may be automatically archived by ClueBot III when more than 2 sections are present. |
BTW. The second example does not seem to work here as well (no archive pages are listed, whereas the same code works at Help talk:Citation Style 1/Centralized discussions. What am I overlooking?
-- Matthiaspaul ( talk) 17:05, 6 November 2020 (UTC)
{{Archives |auto=short |index=/Archive index |bot=lowercase sigmabot III |age=30 |box-width=23em |search-width=30}}
|index=/Archive index
.<center>
hasn't been valid HTML since the 1990s. Please don't use it on Wikipedia; it adds to the
WP:LINT cleanup problem. See
WP:HTML5 for CSS and templated alternatives. —
SMcCandlish
☏
¢ 😼 05:14, 29 November 2020 (UTC)Again, I would entreat the powers that be to add the parameters that now work on this template to also work on Auto archiving notice (See Template talk:Auto archiving notice#General Update) CapnZapp ( talk) 21:45, 29 November 2020 (UTC)
I noticed our template doesn't work... here on its own talk page. (It doesn't recognize or link to
Template talk:Archives/Archive 1) The template works perfectly in "article" space (the template page itself) but not here at talk. (It recognizes and links to the dummy index and archive examples) I have no idea what might be wrong. I tried removing the |age=90
which is the only difference to how it's "used" on the template page. Didn't help.
CapnZapp (
talk) 21:54, 29 November 2020 (UTC)
|noarchive=yes
from {{
talkheader}} does correctly find and link the archive so it appears the issue is with this template, not the structure of the archives.
CapnZapp (
talk) 21:56, 29 November 2020 (UTC)
Hello, I started using MiszaBot III in December 2007, some nine months after starting on wp. I added an archives 'plate later that month. Obviously Lowercase sigmabot III has inherited my talkpage's archiving.
Somehow the display on my talkpage now shows the early archives only, with 2008 Archive 3 as the latest. It does not display any of the later archives, which should be up to Archive 13 (no year). I don't know if the bot is working erratically, sometimes content has been left on my talkpage for a lot longer than 7d. I've manually archived some content from time to time. More importantly it is not easy to go to a particular archive: I have to do a search for my talkpages.
The code I use is:
{{User:MiszaBot/config
|maxarchivesize = 100K
|counter = 13
|minthreadsleft = 0
|algo = old(7d)
|archive = User talk:Shaidar cuebiyar/Archive %(counter)d
}}
{{archives
|auto=yes
|large=no
}}
Can you advise where I've gone wrong? shaidar cuebiyar ( talk) 00:58, 15 December 2020 (UTC)
This seems to be the same issue as the above. Instead of just checking for existence of the archivelist, it should use something like {{ ifexist not redirect}} which ensures it is not blank and not a redirect. This would allow users to control the archiving behaviour without needing admins to delete pages. — Martin ( MSGJ · talk) 09:20, 16 December 2020 (UTC)
By comparing the before-and-after display in the sandbox/testcases, I found that this diff changed the display of this template in several ways based on Template talk:Archives/Archive 2 § Template edit request 19 October 2020, but also in a few potentially unintended ways.
(1) The "Threads older than ... may be archived by ..." message is now is significantly larger, and always left-justified instead of centered, even when the large
parameter is not active. I think this looks worse, and is contrary (?) to what code was trying to accomplish.
(2) There is no longer a small space between the search bar and the "Search archives" button, which just looks strange to me.
I tried to fix these in the sandbox myself, but I wasn't able to get the display to look like before. — Goszei ( talk) 21:19, 29 January 2021 (UTC)
Okay, these changes have been incorporated into the template. I widened the bottom gap just a bit. Best to you! P.I. Ellsworth ed. put'r there 13:28, 31 January 2021 (UTC)
It would be great if there would be an |auto-hide=yes
option, which would completely hide the archive box if / for as long as no archive pages are found / were created (similar to what {{
Authority control}} does when no identifiers are to be displayed. This would allow to drop the template onto talk pages proactively (for example when setting up an archive bot) while the box would not occupy any space for as long as it is not necessary (which may take quite some while up to years on low traffic talk pages).
--
Matthiaspaul (
talk) 17:14, 6 November 2020 (UTC)
This page Help:Archiving a talk page#Templates for some reason contains a duplicate (and quite frankly, ridiculously bloated) set of examples of how to use this template (instead of referring to our documentation).
As long as this situation persists, any code changes here needs to be double-checked there.
Cheers! CapnZapp ( talk) 08:57, 2 February 2021 (UTC)
Again, I would entreat the powers that be to add the parameters that now work on this template to also work on Auto archiving notice (See Template talk:Auto archiving notice#General Update). Regards, CapnZapp ( talk) 10:24, 1 March 2021 (UTC)
In the Examples section, can we have an example of how the template is specified with the archivelist parameter? And one example for the 1st unnamed parameter. I am trying to use the template for my user talk page having two archives (not index based) and it is not working.
Examples, or links to pages that use such archiving, would have helped. Jay ( talk) 14:44, 21 March 2021 (UTC)
As for your second question, I agree the documentation does not adequately explain "Same as list parameter, but can be used together with an automatic list, if auto=long or auto=short is used." What's the difference? Is the manual list before or after the automatic one? Why does auto have to be long or short? Can auto even have other values?! Etc... I'm not even sure it works as advertised any longer; there's been a lot of work on this template. Anyhoo, I'll leave explanation and/or documentation updates of that part up to the experts. CapnZapp ( talk) 15:18, 21 March 2021 (UTC)
|auto=long
(Default) or "1, 2 ..." when |auto=short
. See
Talk:Elon Musk for a archive list with a short parameter (In the talk notice box). It isn't used very much as far as I am aware since most pages don't have enough archives to requre |auto=small
from this template.
Terasail
[✉] 17:36, 21 March 2021 (UTC)I am having trouble following your line of questioning, Jay. Can I ask you to distinguish between two equally worthy tasks?
Cheers CapnZapp ( talk) 17:46, 21 March 2021 (UTC)
There has been considerable work done on this template lately (for which we are all thankful, I'm sure). However, the documentation seems to be left behind. Two questions raised by the Notes section of the doc: 1) is it really broken to use |auto=no
in conjunction with the "Edit" link? (Please read the doc and resolve the editor question currently displayed to readers). 2) does |auto=
really override |archivelist=
as the documentation claims and what does it mean in practice?
CapnZapp (
talk) 09:23, 24 March 2021 (UTC)
I took a stab at copy editing the documentation, specifically the parameters section, have a look. I began by repeating the otherwise easily overlooked formatting info from the header. Next I reorganized the parameters in a logical order (from simplest to most special/complex). I explained more.
I made assumptions I'd like you to confirm (or refute): 1) how many archives can be auto-detected? I couldn't see any number-specific formatting code in the template, so I'm assuming you could have millions of archives if you like. If the code runs out of memory (or something) already in the four figures ("Archive 9999") perhaps you can change the current statement. 2) I also had to assume manually supplied archives are assumed to live in the same space as the talk page the template is on - that is, the links are relative and that subpages are possible. Feel free to rephrase/correct. 3) normally if a parameter takes a default, then supplying that default changes nothing. This is not true here; meaning that this template is hacked so while {{
Archives}} defaults to |auto=long
that is NOT identical to {{
Archives|auto=long}}
. In the first case, if you add the unnamed parameter (|1=
) automatic detection is disabled, in the second, it's not. (the |auto=
parameter does two jobs at once)
CapnZapp ( talk) 09:11, 24 March 2021 (UTC)
The documentation says yes is default for search so adding |search=yes
shouldn't matter but it does.
{{archives |banner=yes |bot=lowercase sigmabot III |age=one |units=month |search=yes}}
produces:
Archives: no archives yet ( create) |
|
|
"Threads older than 90 days may be automatically archived by lowercase sigmabot III." is placed to the left with many lines, making the box much taller with lots of empty space. Omitting |search=yes
places it better at the bottom:
Archives: no archives yet ( create) |
|
|
I noticed the poor layout at Wikipedia talk:Teahouse. PrimeHunter ( talk) 12:43, 24 March 2021 (UTC)
|auto=long
is said to be default, yet you (can) get different results if you actually add |auto=long
... Cheers,
CapnZapp (
talk) 13:18, 24 March 2021 (UTC)
|search=yes
should change nothing, yet does (did?) so; to the way |auto=long
shouldn't really do anything, yet (per the documentation) does so (it reenables auto-detection when used with |1=
). Cheers
CapnZapp (
talk) 15:04, 25 March 2021 (UTC)|age=one
instead of the |age=1
that displays the correct
grammatical number: "one month".
CapnZapp (
talk) 13:27, 24 March 2021 (UTC)
|age=one
from
Wikipedia talk:Teahouse. |age=1
actually displays "1 month" but I suppose that's better than "one months".
PrimeHunter (
talk) 15:58, 24 March 2021 (UTC)
@
Izno,
Paine Ellsworth,
Koavf,
Johnuniq,
MSGJ,
Godsy,
Primefac,
ProcrastinatingReader,
Nardog,
Steel1943,
Trialpears,
DannyS712,
Wugapodes, and
Headbomb: It seems that the combination of |image=none
and |large=yes
causes a
stripped tag lint error for </td>
. I discovered this at
Portal talk:Ancient Egypt and various sandbox tests. There may be other combinations of parameters that cause lint errors. Most transclusions of this template do not use |large=yes
, and I didn't find any other live examples causing lint errors. —
Anomalocaris (
talk) 21:48, 15 March 2021 (UTC)
|large=yes
|image=none
combination creating an extra header cell in the sandbox.
Terasail
[✉] 22:22, 15 March 2021 (UTC)
@
Wugapodes and
Terasail:
|image=none
is still, or again, causing errors, as can be seen in
Portal talk:Cheshire, with a stripped </th>
emanating from {{Archives|collapsed=yes|image=none|search=no|...}}
.
Help talk:Pictures has the same problem: {{Archives|collapsed=yes|image=none|search=no}}
.
Help talk:Citation Style 1/Centralized discussions has many stripped </th>
tags emanating from this template. —
Anomalocaris (
talk) 08:41, 5 April 2021 (UTC)
... and this is still true.... — Anomalocaris ( talk) 04:36, 7 May 2021 (UTC)
You are invited to join the discussion at Template talk:Auto archiving notice § Combine with Template:Archives or Template:Talk header. -- Trialpears ( talk) 22:09, 24 April 2021 (UTC)
UPDATE: Renewed and closed at Wikipedia:Templates for discussion/Log/2021 May 13#Template:Auto archiving notice. — Spike Toronto 10:11, 20 June 2021 (UTC)
Hi folks! Any idea why
this implementation won’t collapse? It started life as a use of {{archive box collapsible}}
, then got changed to {{
archives}}
by a bot (
verify). I later tried adding |collapsible=yes
to the already existing |collapsed=yes
, but to no avail (
verify). Any thoughts, ideas, or suggestions? Thanks!
—
Spike
Toronto 15:23, 3 June 2021 (UTC)
|large/banner=yes
) because it lines up width-wise and centred precisely with the templates immediately above and below. Yet, I also like the idea of being able to collapse it while maintaining that width and centring because it reduces clutter and
banner blindness at the top of the page. Thus, this may be one reason why having collapsing and bannering play nicely with each other could prove beneficial. Thanks!
—
Spike
Toronto 15:58, 3 June 2021 (UTC){{collapse top}}
and {{collapse bottom}}
templates using the same colour as the Archives box and some appropriate label. Thanks!
—
Spike
Toronto 10:05, 20 June 2021 (UTC)See here for an example. — Spike Toronto 10:55, 20 June 2021 (UTC)
{{collapse top|title=Archives|bg=#F7EABA|bg2=#F7EABA|width=80%}}
Archives box{{collapse bottom}}
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
I have made 2 changed to the template in the sandbox, shown with this diff.
|button-label=
|search-button-label=
|large=
|banner=
by:
|title=
always bold when not in banner mode (Since it is no longer a header)|list=
|1=
into a new row so they collapseI have looked at the testcases and do not see any problems that have been created by these changes. The changes were discussed above where it was noted that the two styles of this template (Banner / Box) should share all of their options. Terasail [✉️] 15:36, 21 June 2021 (UTC)
@
Trialpears: as I have been going through the template on the sandbox, attempting to make the above (collapsable banner) work, it is working I just need to test it on a few pages... I noticed that you made |list=
& |1=
have the same functionality with
this edit. As stated in the parameter descriptions, they were slightly different. In the current sandbox I have given the functionality back but if there was a problem caused by this I can remove it again.
Terasail
[✉️] 21:15, 26 June 2021 (UTC)
|1=
and |list=
is a prime example of such a thing. Others include archivelists and box-width. --
Trialpears (
talk) 21:35, 26 June 2021 (UTC)
|1=
if |auto=
is given an affirmative value which it then ignores which is really confusing behaivior anyways. I at least think that's the case. If that's all we really should get rid of it. I believe almost all such cases should have been removed in my cleanup for the above mentioned edit but I can't be sure. I would probably wait until the first and use the template data report to generate a list of pages that would be affected and then cleanup that handful before removing the feature. --
Trialpears (
talk) 22:01, 26 June 2021 (UTC)
|list=
is currently pretty much useless, since someone could just use |auto=no
if they don't want auto detection and since it is such a limited number of cases it really seems pointless.
Terasail
[✉️] 22:17, 26 June 2021 (UTC)
|list=
and block it?
Terasail
[✉️] 22:46, 26 June 2021 (UTC)
|1=
is currently handled with auto detection? --
Trialpears (
talk) 22:54, 26 June 2021 (UTC)
|1=
works (see
my sandbox) but its an easy fix, just working on better testcases to catch these slight differences more easily.
Terasail
[✉️] 23:07, 26 June 2021 (UTC)Would anyone here mind if I took a bot and went through this category fixing the cases where there's no style parameter present? I'll file a BRFA if there are no objections in a while. -- Trialpears ( talk) 23:08, 12 August 2021 (UTC)
|box-width=
from all usecases shown at
Category:Archive boxes with unusual parameters. -Side note: @
Trialpears: The sandbox you have been working on has removed |style=
entirely, is this intentional? Since there are a lot of archiveboxes which use this.
Terasail
[✉️] 23:03, 14 August 2021 (UTC)This
edit request to
Template:Archives has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please replace {{#ifeq:{{{collapsed}}}|yes|collapsible collapsed|{{#ifeq:{{{collapsible}}}|yes|collapsible}}}}
with the following fragment {{#ifeq:{{{collapsed}}}|yes|mw-collapsible mw-collapsed|{{#ifeq:{{{collapsible}}}|yes|mw-collapsible}}}}
the classes for collapsible were renamed when they were moved to core years ago and the old ones are deprecated (and less performant). — TheDJ ( talk • contribs) 09:52, 1 October 2021 (UTC)
I have been bold and altered "Threads" to "Sections" in the text displayed by the BOT parameter. This is because threads" has more than one meaning in this context.
A section could contain several distinct threads about different aspects of the issue under discussion. Using the word threads could be misunderstood to mean that separate threads in a section would be archived at different times depending on when they terminated.
This is not what is meant. What is meant is that a whole section (which might contain several threads) will be archived if the last comment was made more than a pre-determined time ago, unless the last thread in the section means that that section will not be archived until newer sections are created. -- PBS ( talk) 12:04, 4 October 2021 (UTC)
The index is not getting updated at Talk:Mad Men. I'm not clear on how it's supposed to work. There is a list of archive pages in the Archive box template. Are those auto generated somehow or are we supposed to update the list manually? No one is doing it, so is there a way to get rid of the manual list and have it generated automatically like it would be for numbered archives? GA-RT-22 ( talk) 00:56, 27 November 2021 (UTC)
Ok, it wasn't easy, but I figured this out and it's working now. GA-RT-22 ( talk) 17:51, 27 November 2021 (UTC)
I've made a version supporting yearly and alphabetic archives using {{ yearly archive list}} and {{ archive list alpha}}, just like with {{ talk header}}. If there are no objections I plan on implementing this in a couple days. This will cause there to be about 21 more expensive parser function uses, but this is far from the limit of 500 and most talk pages don't use many expensive parser functions anyway. I will monitor for issues if this is implemented. -- Trialpears ( talk) 18:57, 26 December 2021 (UTC)
What is the setting for {{ archives}} to ignore the associated /archivelist page without having to nuke it? Right now there doesn't appear to be a way around the auto-detection. czar 00:58, 22 February 2022 (UTC)
This
edit request to
Template:Archives has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please implement the sandbox version which added a parameter for start
. This can be helpful for people who want to have archives
zero-based. I have also added a test case at
Template:Archives/testcases/box#25.
0xDeadbeef (
T
C) 15:16, 14 May 2022 (UTC)
{{
Archives|start=0}}
Terasail
[✉️] 17:08, 14 May 2022 (UTC)
Not sure what's going on with this template on my talk page, but the link to Archive 1 is a redlink despite the page existing and having content. I recently had my username changed from The_Only_Zac to TheOnlyZac so I wonder if that has anything to do with it. — TheOnlyZac ( talk) 20:22, 20 December 2022 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please copy the latest version of the template from the sandbox, with these changes: [3] Matma Rex talk 23:14, 7 January 2023 (UTC)
|title=
is left empty it can leave a rogue apostrophe in its place. See
Template:Archives/testcases/banner#25
Terasail
[✉️] 03:25, 9 January 2023 (UTC)
 
in the current code that I thought was useless. That is causing the text to be misaligned though. Let's try like this then:
[5]. (Is the template even supposed to support empty |title=
?) @
Terasail @
Paine Ellsworth
Matma Rex
talk 18:16, 9 January 2023 (UTC)
|banner=no
is the mild perversity, but editors do all sorts of logical-seeming things that template editors do not expect. –
Jonesey95 (
talk) 17:59, 10 January 2023 (UTC)
{{#ifeq:{{{banner|{{{large}}}}}}|yes|...}}
{{#if:{{{banner|{{{large|}}}}}}|...}}
|banner=yes
or |large=yes
, so I don't see the problem. Lots of templates begin with ifeqs and then later use ifs assuming editors will follow the documentation. If we try to cover all least likely permutations, we'll just make things more complex for future editors, won't we? My gut says to keep it simple and don't worry about function consistency –
[this code should be used (with one exception, the live template has an if that has a "large" parameter without a pipe, which I've fixed in
[this edit).
P.I. Ellsworth ,
ed.
put'r there 21:53, 10 January 2023 (UTC)Hey. I have my archives set up in a unique fashion on my talk page, and I wanted to direct people directly to the index as opposed to linking to suboptimally explained archive names (the search button is there anyway if they're searching for a specific message); however, I couldn't get the template to display the Index without having a redlink to Archive 1 immediately below. I ultimately opted to just use the |title= parameter to change the title into a wikilink, which works, but I'd like to have the index below without a redlink to Archive 1 there. (You can see an example of what I'm complaining about in this oldid.) Skarmory (talk • contribs) 03:00, 21 June 2023 (UTC)
However, if a list of archives is given manually through the first unnamed parameter, then it does not check for archives automatically.Did you try this? (Try changing
{{Archives|index=Archive index}}
(from that oldid of yours) to {{Archives|list=[[Archive index]]}}
to supply your destination page as the complete list of archives (with autodetection permanently disabled for good measure) instead of as the archive index)
CapnZapp (
talk) 10:17, 21 June 2023 (UTC)
I wish there was a way to collapse just the list, while leaving the search box visible. This would cut the clutter on heavily used talk pages while still encouraging people to search for prior discussion. I'm thinking of Talk:Donald Trump here. GA-RT-22 ( talk) 22:52, 3 August 2023 (UTC)
This
edit request to
Template:Archives has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
For indices generated by ClueBot III ( talk · contribs),
change
Line 18:
|#default={{#ifexist:{{#rel2abs:./{{{index|Archive index}}}}}|[[{{#rel2abs:./{{{index|Archive index}}}}}|Index]] 
to
|#default={{#ifexist:{{#rel2abs:./{{{index|Archive index}}}}}|[[{{#rel2abs:./{{{index|Archive index}}}}}|Index]] |{{#ifexist:User:ClueBot III/Master Detailed Indices/{{FULLPAGENAME}}|[[User:ClueBot III/Master Detailed Indices/{{FULLPAGENAME}}|Index]] }}
Sawol ( talk) 17:06, 16 August 2023 (UTC)
|#default={{#ifeq:{{{index|}}}|none||{{#ifexist:{{#rel2abs:./{{{index|Archive index}}}}}|[[{{#rel2abs:./{{{index|Archive index}}}}}|Index]] |{{#ifexist:User:ClueBot III/Master Detailed Indices/{{FULLPAGENAME}}|[[User:ClueBot III/Master Detailed Indices/{{FULLPAGENAME}}|Index]] }}}}
|index=none
parameter and argument have been enabled.
P.I. Ellsworth ,
ed.
put'er there 01:25, 23 August 2023 (UTC)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. |
Archive 1 | Archive 2 |
I have changed the large parameter to a banner parameter and then altered parts of the template in order to give the same appearance as the Template:Archive banner. They are not identical. I have chekced and I think it works fine however some parameters such as search-width will not do anything if it is in banner mode as well as bypassing the long switch for the Archives list to just a numbered horizontal list. I did also have to remove the class="mbox-text" from the header cell in banner mode becuase it was stopping the formatting and since I don't know what that does it might break something? It is at the bottom of the Template:Archives/testcases. Just wondering peoples oppinions on this and if it is all good before I request for it to be added to the main code again. Terasail [Talk] 20:38, 18 September 2020 (UTC)
|large=
as an alias for banner and add support for collapsing the banner. --
Trialpears (
talk) 16:27, 27 September 2020 (UTC)
|large=
and I have also updated it so that the small collapsed box no longer is broken. However there is no real need for the expanding/collapsing banner since it can display all the archives on a single line, I did however make it so that the banner itself could be collapsed into a single line as shown in the testcases.
Terasail
[Talk] 18:10, 27 September 2020 (UTC)Have a look at this usage (link to diff adding the usage).
The 1st unnamed parameter is used to display a custom message explaining the archival parameters. In this case just saying "Threads older than 30 days may be archived" wasn't deemed sufficient to explain - threads may stick around for much longer, and the explanation for this is because of the minthreadsleft parameter: |minthreadsleft=10
. Since the number of threads that must remain is high, threads will often not be archived after only 30 days.
Please address this.
At minimum, update the documentation to explain how to use the 1st unnamed parameter for this purpose. (Unless of course there's a better way!)
Ideally, the template (along with {{ Auto archiving notice}} etc should support a standard message for this usage; when there is need for further explanation than merely "Threads older than 123 days may be archived".
Regards, CapnZapp ( talk) 21:56, 20 September 2020 (UTC)
{{User:MiszaBot/config}}
and {{User:ClueBot III/ArchiveThis}}
parameter settings so there is no need for manually giving the same instructions twice (to the bot and the banner, respectively), minimizing work and the risk of updating one without the other.|minthreadsleft=
but |minthread=
is just annoying.Hello, I have made some minor and significant changes to parts of the Archives template in the sandbox and added some extra testcases to the bottom to better show some of the changes. The following are some things that I changed:
|1=
and |list=
so text isn't against the border.|long=
to bot archiving text which states when sections will not archive. (Shown in the bottom testcase)|minthreadsleft=
which is set to 4 by default, requires |long=yes
. (Shown in the bottom testcase)|large=
so that it displays in a talk banner style in line with {{
Archive banner}}.Everything appears to work in the testcases and I have checked on some pages and it appears to work well, so I was wondering if anyone objects to these changes / has any comments. So that if they are all good I would request the changes. Terasail [Talk] 09:44, 2 October 2020 (UTC)
|minthreadsleft=
but I don't understand the |long=
(or is it |large=
?) requirement. See
Wikipedia talk:Manual of Style/Film for my manual kludge I want the template to automatically support. I genuinely don't see the need to require |long=yes
? Also I don't understand how |days=weeks
can work as intended in those testcases of yours? Finally a friendly reminder: please mirror your improvements for {{
Auto archiving notice}} after your good work here is done :)
CapnZapp (
talk) 08:08, 7 October 2020 (UTC)
|large=
as is? You don't need to throw away your code - how about supporting your new appearance through |large=banner
?
CapnZapp (
talk) 08:15, 7 October 2020 (UTC)
|days=weeks
testcase appears to be an old testcase that is before I started editing and is no longer part of the active template, the |long=
parameter extends the text shown for the bot archiving, since it may not be useful to show on the smaller box style and so I added a parameter to allow it to be added if an editor wishes. I dont see a point in |large=banner
since the current form of the large style is just a wider version of the box I personally think it is just a worse version and it is doubtful that anyone uses it.
Terasail
[Talk] 13:38, 7 October 2020 (UTC)
|minthreadsleft=
even when |long=not yes
. If you feel confident |large=
doesn't break anything, more power to you. 'Twas but a suggestion. Cheers,
CapnZapp (
talk) 14:40, 7 October 2020 (UTC)
At this time, I would personally encourage you to go ahead and implement your changes (or request an edit thereof), User:Terasail. Cheers, CapnZapp ( talk) 15:34, 19 October 2020 (UTC)
I have started a discussion over at Template talk:Auto archiving notice#General Update you might be interested in. CapnZapp ( talk) 10:53, 21 October 2020 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
I noticed a formatting error which could be breaking some transclusions if they are using |list=
.
I have fixed it in the sandbox with this diff:
sandbox dif
Terasail
[Talk] 13:15, 21 October 2020 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
It was noted above by Izno that if there is archive list created, it was not being auto detected by the template as it used to. I have fixed this in the latest version of the sandbox (or the two edits made on the 23 October). There was an extra if statement which stopped the auto detection and I removed this along with making sure the text aligns left for archivelists.
Code Change:
|
---|
Previous code: |[[{{#rel2abs:./{{{index|Archive index}}}}}|Index]] }}{{#if:{{{archivelist|}}}| {{#ifexist:{{#rel2abs:{{{archivelist|./archivelist}}}}} |{{#rel2abs:{{{archivelist|./archivelist}}}}}}} Changed to: |[[{{#rel2abs:./{{{index|Archive index}}}}}|Index]] }}{{#ifexist:{{#rel2abs:{{{archivelist|./archivelist}}}}} |<div style="text-align:left;">{{ {{#rel2abs:{{{archivelist|./archivelist}}}}} }}</div> Terasail [Talk] 15:26, 23 October 2020 (UTC)
To editors Izno and Terasail: so, yes or no... this?: |[[{{#rel2abs:./{{{index|Archive index}}}}}|Index]] }}{{#ifexist:{{#rel2abs:{{{archivelist|./archivelist}}}}} |<div style="text-align:left;">{{ {{#rel2abs:{{{archivelist|./archivelist}}}}} }}</div> or this?: |[[{{#rel2abs:./{{{index|Archive index}}}}}|Index]] }}{{#ifexist:{{#rel2abs:{{{archivelist|./archivelist}}}}} |{{ {{#rel2abs:{{{archivelist|./archivelist}}}}} }} |
That decision should be made before this template is edited, and I have no opinion which way it should go. P.I. Ellsworth ed. put'r there 05:50, 26 October 2020 (UTC)
{{#ifexist:
. However, there is no matching }}
to terminate it. I don't know how this template is used but the div
opens don't seem to be matched with closes.
Johnuniq (
talk) 02:36, 27 October 2020 (UTC)|no=<!--No output-->
.
Terasail
[Talk] 11:26, 27 October 2020 (UTC)
Okay so we're back to a stable version? At least that's what I'm assuming. If y'all read the next section and get stressed out because the current work isn't finished, please just disregard it for now and focus on your current task first :) CapnZapp ( talk) 08:48, 29 October 2020 (UTC)
Not sure if this is the same bug or a new one... or if it's a bug at all...
Over at Wikipedia talk:WikiProject Classical Greece and Rome note how the last archive listed by the box is "Archive 30 (Jan 2020 – )". In reality, the latest archive used by the bot is Archive 33: [1]
Cheers, CapnZapp ( talk) 14:19, 29 October 2020 (UTC)
|1=
and that list should probably be moved onto
Wikipedia talk:WikiProject Classical Greece and Rome/archivelist but it just needs to be manually updated, or removed if the archive numbers should be shown.. This doesn't have anything to do with a break in the template.. just a problem with manual archive lists.
Terasail
[Talk] 14:30, 29 October 2020 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
I am proposing some substantial changes to this template and have added these changes to {{ Archives/sandbox}} and these can be seen at the testcases. I have posted updates to my changes previously in the talk pages and discussed with User:Trialpears and User:CapnZapp about these changes until the current version of the changes.
Breif Background: This template was merged with a now deleted talk page "banner style" archive template and this was done by just adding the old template to this current template and selecting either style with an if statement. This is not the best way to achive this in my oppinion.
Changes that have been made in the sandbox:
|banner=
is changed to be synonymous in functionality with |large=
.|large=
/ |banner=
parameters now shows the talk page "banner style" rather than any previous styles.|minthreadsleft=
was added to allow editors to display the archive bot setting.|1=
or |list=
are used.If these are to be implemented it would probably be best to just use the sandbox version.
Side note: While not exactly the same as when the current |banner=
style is displayed, it provides identical functionality.
Terasail
[Talk] 21:54, 19 October 2020 (UTC)
no archives yet ( create) |
Threads older than 30 days may be archived by MiszaBot II, but only when more than ten topics are present. |
Consider this usage (from MOS/Film) - look right: Note how I'm using custom text.
The second {{ Archives}}'s my attempt to recreate this look using official parameters (after the recent upgrade).
no archives yet ( create) |
|
Question 1: why is the index suddenly popping up? (The sole "1" that would be dozens of archives back on its "real" page)
Question 2: what's different about the |bot=
parameter? I can't get it to accept a wikilink.
CapnZapp (
talk) 05:35, 20 October 2020 (UTC)
Did the most recent edit break uses of the template such as at Wikipedia talk:Manual of Style/Lists? Pinging Paine Ellsworth. 207.161.86.162 ( talk) 07:24, 20 October 2020 (UTC)
To editor
Terasail: If you go to the talk pages in question,
WT:MOSFILM and
WT:MOSLIST, then test the sandbox (I've replaced your code there) in "Show preview", you'll see that all the archives disappear from the boxes. If you need more help to do this let me know.
P.I. Ellsworth
ed.
put'r there 08:05, 20 October 2020 (UTC)
PS. I should note here that, on
my user talk page, all my archives were still in the box after the edit – none of them disappeared, so this seems to be a rather weird problem. Just so you know, I add my archive links into the box manually, which might be why they didn't disappear. PS added by
P.I. Ellsworth
ed.
put'r there 08:55, 20 October 2020 (UTC)
|auto=
is assigned a value, the data in |1=
is shown along with the archive list. But not when |auto=
has no value.The example output "Any threads with no replies in 30 days and 10 threads remaining are automatically archived by MiszaBot II." doesn't do, I'm afraid. Can we change it to use more idiomatic English please?
Suggestion: "Threads older than 30 days may be automatically archived by MiszaBot II when more than 10 threads are present."
Note the return to the verb "may", which was used because archival bots don't always run, and there are several ways the bot might skip a thread even if it does run. Also, minthreadsleft=10 doesn't mean the page is archived at 10 threads, it means the bot makes sure there are 10 threads left. And so the message needs to say "more than" - the current language could be interpreted to mean that a page with 11 threads remaining is *not* archived. Thanks CapnZapp ( talk) 18:21, 20 October 2020 (UTC)
Note:This section continues the previous discussion on "Phrasing" after subsequent work. Note the date stamps. CapnZapp ( talk) 15:13, 30 October 2020 (UTC)
This
edit request to
Template:Archives has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
This regards the phrasing of the output of combinations of the |age=
, |minthreadsleft=
and |bot=
parameters.
Here I'm using an example that uses all three.
Please change
to
Please see #Phrasing above for the discussion. CapnZapp ( talk) 08:59, 29 October 2020 (UTC)
Adding a link to the heading makes it appear in some cases that it will lead to perhaps an index of archive pages as opposed to Help:Archiving a talk page (I do not have nor want an index at this time). I was surprised by both the link and where it took me. I would not object to this change if it is added as a parameter, with preference to the default being to not display the link (though as long as I could opt out with a simple parameter, I would be content; this is too complicated of a template for me to easily substitute it). — Godsy ( TALK CONT) 18:39, 20 October 2020 (UTC)
Note: This seems pertinent to this discussion: Template talk:Auto archiving notice#Hides the archive index. CapnZapp ( talk) 11:04, 21 October 2020 (UTC)
|index=
, |title=
in conjunction with |auto=no
did combine to a title/header that was also a link to the supplied index. Have a look at my talk for a use case. Suddenly there's no link to my archive. (I'm fully open to having to tweak my parameters, I'm just pointing out that the link did not appear by "default", I had to experiment quite a lot to get the appearance/functionality I wanted, and now it works differently) Regards,
CapnZapp (
talk) 11:57, 21 October 2020 (UTC)
|list=
to display the two archives. Such as the following:{{Archives|image=[[Image:File-manager.svg|35px]]|list= *[[User talk:CapnZapp/Archive|Archive]] *[[User talk:CapnZapp/Archive 1|Archive 1]]}}
|auto=no
because I'm not using the format of automatic archiving. I'm informing you template editors that, AFAIK, Godsy's edit removed the link from the header/title, and I'm asking y'all 1) to check this isn't breaking more important instances of the template (than my user talk), and 2) how do I get back the link to my archive? I want the link to appear in the header/title; precisely what Godsy don't want (at least not as a default). Thank you
CapnZapp (
talk) 14:57, 21 October 2020 (UTC)Got an archive list at User talk:Izno/archivelist that no longer displays on my user talk page. How well exercised was the change? :) -- Izno ( talk) 14:08, 23 October 2020 (UTC)
Taking things one issue at a time... :) I'd like to continue the previous discussion at #Link in heading, namely:
How do I make a link out of the title/header using the current version of the template, after the edits by Godsy & Co?
(Starting a new section for visibility - if everyone is confident this is seen equally well in the previous section despite not having an edit request to draw attention, feel free to move it up) CapnZapp ( talk) 09:41, 30 October 2020 (UTC)
|title=[[(article/page)|Archives]]
Terasail
[Talk] 10:05, 30 October 2020 (UTC)
|bot=
). The documentation must make clear which parameters need to be linked manually and which parameters are linked automatically.
CapnZapp (
talk) 12:38, 30 October 2020 (UTC)
title=[[Think outside the box|{{color|darkgreen|<u>'Think outside it{{hsp}}''!'''</u>}}]]<br /><br />{{maroon|* my archives *}}
.|auto=no
is stopping anything from being displayed.
Terasail
[Talk] 15:25, 30 October 2020 (UTC)
The header in the template before the merger was linked to an index page if there was one available. Since the index was moved to text...Somehow I managed just the right combination of parameters to make this index-linking work to my advantage, and now that functionality is lost or changed? I would like to know which. Only if we understand our changes can we evaluate the risk of the template breaking on other pages. Okay then, so your answer then: does
That is what I mean by index in textmean you removed the indexlinking ability (which presumably is what I got to link to my archive page?) from the header/title unto a new link (the line underneath, the line you call index)? Cheers CapnZapp ( talk) 16:04, 30 October 2020 (UTC)
@
CapnZapp: I think I understand what you are saying, and yeah the indexing before just added a link to the title, whereas now you will have to manually do it though |title=
or you can use |list=
to manually list the archives. I hope I have helped. Not sure if I have been answering your questions correctly since I didn't really understand what you were asking.
Terasail
[Talk] 16:16, 30 October 2020 (UTC)
Previously the template's header/title could automatically become a link in certain circumstances (see my user talk for an example of these circumstances). Now, some change or sequence of changes has made this functionality disappear. What has happened and why? Was the change intentional or accidental? What was the reason for the change? Was this specific change discussed anywhere?
|title=
Archives
.
Terasail
[Talk] 16:56, 30 October 2020 (UTC)
My conclusion is that despite the change being implemented with close to zero prior discussion, nobody is objecting to it. In other words, the ability to arrange the parameters "just so" to make the header/title become a link automatically is now gone. CapnZapp ( talk) 21:19, 6 November 2020 (UTC)
I wonder if there's any means to get the underlying search function to follow redirects. E.g., the search at Talk:Teaching English as a second or foreign language does not work. My blind guess is that some Lua trickery could get it to evaluate each archive page (.../Archive_1, etc.) and determine whether it's a redir, and if so then pass that real page name for searching instead of just the "content" of the redirect page itself. — SMcCandlish ☏ ¢ 😼 05:09, 29 November 2020 (UTC)
According to
User:ClueBot_III#Index_generation it should be possible to use |index=
to specify a link to an archive index page which will be shown alongside the list of links to found archive pages. I tried to point this to |index=User:ClueBot III/Master Detailed Indices/Help_talk:Citation_Style_1
, but no index showed up. Would be great to have.
This is what I expected to work:
{{Archives |search=yes |root=Help talk:Citation Style 1 |title=[[Help talk:Citation Style 1|Help: Citation Style 1]] |auto=short |index=User:ClueBot III/Master Detailed Indices/Help talk:Citation Style 1}}
1,
2,
3,
4,
5,
6,
7,
8,
9,
10 |
This page has archives. Sections older than 30 days may be automatically archived by ClueBot III when more than 2 sections are present. |
This is my temporary workaround:
{{Archives |search=yes |root=Help talk:Citation Style 1 |title=[[Help talk:Citation Style 1|Help: Citation Style 1]] |auto=short |{{center|1=[[User:ClueBot III/Master Detailed Indices/Help talk:Citation Style 1|Index]]}}}}
1,
2,
3,
4,
5,
6,
7,
8,
9,
10 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 21, 22, 23, 24, 25, 26, 27, 28, 29, 30 31, 32, 33, 34, 35, 36, 37, 38, 39, 40 41, 42, 43, 44, 45, 46, 47, 48, 49, 50 51, 52, 53, 54, 55, 56, 57, 58, 59, 60 61, 62, 63, 64, 65, 66, 67, 68, 69, 70 71, 72, 73, 74, 75, 76, 77, 78, 79, 80 81, 82, 83, 84, 85, 86, 87, 88, 89, 90 91, 92, 93, 94 |
This page has archives. Sections older than 30 days may be automatically archived by ClueBot III when more than 2 sections are present. |
BTW. The second example does not seem to work here as well (no archive pages are listed, whereas the same code works at Help talk:Citation Style 1/Centralized discussions. What am I overlooking?
-- Matthiaspaul ( talk) 17:05, 6 November 2020 (UTC)
{{Archives |auto=short |index=/Archive index |bot=lowercase sigmabot III |age=30 |box-width=23em |search-width=30}}
|index=/Archive index
.<center>
hasn't been valid HTML since the 1990s. Please don't use it on Wikipedia; it adds to the
WP:LINT cleanup problem. See
WP:HTML5 for CSS and templated alternatives. —
SMcCandlish
☏
¢ 😼 05:14, 29 November 2020 (UTC)Again, I would entreat the powers that be to add the parameters that now work on this template to also work on Auto archiving notice (See Template talk:Auto archiving notice#General Update) CapnZapp ( talk) 21:45, 29 November 2020 (UTC)
I noticed our template doesn't work... here on its own talk page. (It doesn't recognize or link to
Template talk:Archives/Archive 1) The template works perfectly in "article" space (the template page itself) but not here at talk. (It recognizes and links to the dummy index and archive examples) I have no idea what might be wrong. I tried removing the |age=90
which is the only difference to how it's "used" on the template page. Didn't help.
CapnZapp (
talk) 21:54, 29 November 2020 (UTC)
|noarchive=yes
from {{
talkheader}} does correctly find and link the archive so it appears the issue is with this template, not the structure of the archives.
CapnZapp (
talk) 21:56, 29 November 2020 (UTC)
Hello, I started using MiszaBot III in December 2007, some nine months after starting on wp. I added an archives 'plate later that month. Obviously Lowercase sigmabot III has inherited my talkpage's archiving.
Somehow the display on my talkpage now shows the early archives only, with 2008 Archive 3 as the latest. It does not display any of the later archives, which should be up to Archive 13 (no year). I don't know if the bot is working erratically, sometimes content has been left on my talkpage for a lot longer than 7d. I've manually archived some content from time to time. More importantly it is not easy to go to a particular archive: I have to do a search for my talkpages.
The code I use is:
{{User:MiszaBot/config
|maxarchivesize = 100K
|counter = 13
|minthreadsleft = 0
|algo = old(7d)
|archive = User talk:Shaidar cuebiyar/Archive %(counter)d
}}
{{archives
|auto=yes
|large=no
}}
Can you advise where I've gone wrong? shaidar cuebiyar ( talk) 00:58, 15 December 2020 (UTC)
This seems to be the same issue as the above. Instead of just checking for existence of the archivelist, it should use something like {{ ifexist not redirect}} which ensures it is not blank and not a redirect. This would allow users to control the archiving behaviour without needing admins to delete pages. — Martin ( MSGJ · talk) 09:20, 16 December 2020 (UTC)
By comparing the before-and-after display in the sandbox/testcases, I found that this diff changed the display of this template in several ways based on Template talk:Archives/Archive 2 § Template edit request 19 October 2020, but also in a few potentially unintended ways.
(1) The "Threads older than ... may be archived by ..." message is now is significantly larger, and always left-justified instead of centered, even when the large
parameter is not active. I think this looks worse, and is contrary (?) to what code was trying to accomplish.
(2) There is no longer a small space between the search bar and the "Search archives" button, which just looks strange to me.
I tried to fix these in the sandbox myself, but I wasn't able to get the display to look like before. — Goszei ( talk) 21:19, 29 January 2021 (UTC)
Okay, these changes have been incorporated into the template. I widened the bottom gap just a bit. Best to you! P.I. Ellsworth ed. put'r there 13:28, 31 January 2021 (UTC)
It would be great if there would be an |auto-hide=yes
option, which would completely hide the archive box if / for as long as no archive pages are found / were created (similar to what {{
Authority control}} does when no identifiers are to be displayed. This would allow to drop the template onto talk pages proactively (for example when setting up an archive bot) while the box would not occupy any space for as long as it is not necessary (which may take quite some while up to years on low traffic talk pages).
--
Matthiaspaul (
talk) 17:14, 6 November 2020 (UTC)
This page Help:Archiving a talk page#Templates for some reason contains a duplicate (and quite frankly, ridiculously bloated) set of examples of how to use this template (instead of referring to our documentation).
As long as this situation persists, any code changes here needs to be double-checked there.
Cheers! CapnZapp ( talk) 08:57, 2 February 2021 (UTC)
Again, I would entreat the powers that be to add the parameters that now work on this template to also work on Auto archiving notice (See Template talk:Auto archiving notice#General Update). Regards, CapnZapp ( talk) 10:24, 1 March 2021 (UTC)
In the Examples section, can we have an example of how the template is specified with the archivelist parameter? And one example for the 1st unnamed parameter. I am trying to use the template for my user talk page having two archives (not index based) and it is not working.
Examples, or links to pages that use such archiving, would have helped. Jay ( talk) 14:44, 21 March 2021 (UTC)
As for your second question, I agree the documentation does not adequately explain "Same as list parameter, but can be used together with an automatic list, if auto=long or auto=short is used." What's the difference? Is the manual list before or after the automatic one? Why does auto have to be long or short? Can auto even have other values?! Etc... I'm not even sure it works as advertised any longer; there's been a lot of work on this template. Anyhoo, I'll leave explanation and/or documentation updates of that part up to the experts. CapnZapp ( talk) 15:18, 21 March 2021 (UTC)
|auto=long
(Default) or "1, 2 ..." when |auto=short
. See
Talk:Elon Musk for a archive list with a short parameter (In the talk notice box). It isn't used very much as far as I am aware since most pages don't have enough archives to requre |auto=small
from this template.
Terasail
[✉] 17:36, 21 March 2021 (UTC)I am having trouble following your line of questioning, Jay. Can I ask you to distinguish between two equally worthy tasks?
Cheers CapnZapp ( talk) 17:46, 21 March 2021 (UTC)
There has been considerable work done on this template lately (for which we are all thankful, I'm sure). However, the documentation seems to be left behind. Two questions raised by the Notes section of the doc: 1) is it really broken to use |auto=no
in conjunction with the "Edit" link? (Please read the doc and resolve the editor question currently displayed to readers). 2) does |auto=
really override |archivelist=
as the documentation claims and what does it mean in practice?
CapnZapp (
talk) 09:23, 24 March 2021 (UTC)
I took a stab at copy editing the documentation, specifically the parameters section, have a look. I began by repeating the otherwise easily overlooked formatting info from the header. Next I reorganized the parameters in a logical order (from simplest to most special/complex). I explained more.
I made assumptions I'd like you to confirm (or refute): 1) how many archives can be auto-detected? I couldn't see any number-specific formatting code in the template, so I'm assuming you could have millions of archives if you like. If the code runs out of memory (or something) already in the four figures ("Archive 9999") perhaps you can change the current statement. 2) I also had to assume manually supplied archives are assumed to live in the same space as the talk page the template is on - that is, the links are relative and that subpages are possible. Feel free to rephrase/correct. 3) normally if a parameter takes a default, then supplying that default changes nothing. This is not true here; meaning that this template is hacked so while {{
Archives}} defaults to |auto=long
that is NOT identical to {{
Archives|auto=long}}
. In the first case, if you add the unnamed parameter (|1=
) automatic detection is disabled, in the second, it's not. (the |auto=
parameter does two jobs at once)
CapnZapp ( talk) 09:11, 24 March 2021 (UTC)
The documentation says yes is default for search so adding |search=yes
shouldn't matter but it does.
{{archives |banner=yes |bot=lowercase sigmabot III |age=one |units=month |search=yes}}
produces:
Archives: no archives yet ( create) |
|
|
"Threads older than 90 days may be automatically archived by lowercase sigmabot III." is placed to the left with many lines, making the box much taller with lots of empty space. Omitting |search=yes
places it better at the bottom:
Archives: no archives yet ( create) |
|
|
I noticed the poor layout at Wikipedia talk:Teahouse. PrimeHunter ( talk) 12:43, 24 March 2021 (UTC)
|auto=long
is said to be default, yet you (can) get different results if you actually add |auto=long
... Cheers,
CapnZapp (
talk) 13:18, 24 March 2021 (UTC)
|search=yes
should change nothing, yet does (did?) so; to the way |auto=long
shouldn't really do anything, yet (per the documentation) does so (it reenables auto-detection when used with |1=
). Cheers
CapnZapp (
talk) 15:04, 25 March 2021 (UTC)|age=one
instead of the |age=1
that displays the correct
grammatical number: "one month".
CapnZapp (
talk) 13:27, 24 March 2021 (UTC)
|age=one
from
Wikipedia talk:Teahouse. |age=1
actually displays "1 month" but I suppose that's better than "one months".
PrimeHunter (
talk) 15:58, 24 March 2021 (UTC)
@
Izno,
Paine Ellsworth,
Koavf,
Johnuniq,
MSGJ,
Godsy,
Primefac,
ProcrastinatingReader,
Nardog,
Steel1943,
Trialpears,
DannyS712,
Wugapodes, and
Headbomb: It seems that the combination of |image=none
and |large=yes
causes a
stripped tag lint error for </td>
. I discovered this at
Portal talk:Ancient Egypt and various sandbox tests. There may be other combinations of parameters that cause lint errors. Most transclusions of this template do not use |large=yes
, and I didn't find any other live examples causing lint errors. —
Anomalocaris (
talk) 21:48, 15 March 2021 (UTC)
|large=yes
|image=none
combination creating an extra header cell in the sandbox.
Terasail
[✉] 22:22, 15 March 2021 (UTC)
@
Wugapodes and
Terasail:
|image=none
is still, or again, causing errors, as can be seen in
Portal talk:Cheshire, with a stripped </th>
emanating from {{Archives|collapsed=yes|image=none|search=no|...}}
.
Help talk:Pictures has the same problem: {{Archives|collapsed=yes|image=none|search=no}}
.
Help talk:Citation Style 1/Centralized discussions has many stripped </th>
tags emanating from this template. —
Anomalocaris (
talk) 08:41, 5 April 2021 (UTC)
... and this is still true.... — Anomalocaris ( talk) 04:36, 7 May 2021 (UTC)
You are invited to join the discussion at Template talk:Auto archiving notice § Combine with Template:Archives or Template:Talk header. -- Trialpears ( talk) 22:09, 24 April 2021 (UTC)
UPDATE: Renewed and closed at Wikipedia:Templates for discussion/Log/2021 May 13#Template:Auto archiving notice. — Spike Toronto 10:11, 20 June 2021 (UTC)
Hi folks! Any idea why
this implementation won’t collapse? It started life as a use of {{archive box collapsible}}
, then got changed to {{
archives}}
by a bot (
verify). I later tried adding |collapsible=yes
to the already existing |collapsed=yes
, but to no avail (
verify). Any thoughts, ideas, or suggestions? Thanks!
—
Spike
Toronto 15:23, 3 June 2021 (UTC)
|large/banner=yes
) because it lines up width-wise and centred precisely with the templates immediately above and below. Yet, I also like the idea of being able to collapse it while maintaining that width and centring because it reduces clutter and
banner blindness at the top of the page. Thus, this may be one reason why having collapsing and bannering play nicely with each other could prove beneficial. Thanks!
—
Spike
Toronto 15:58, 3 June 2021 (UTC){{collapse top}}
and {{collapse bottom}}
templates using the same colour as the Archives box and some appropriate label. Thanks!
—
Spike
Toronto 10:05, 20 June 2021 (UTC)See here for an example. — Spike Toronto 10:55, 20 June 2021 (UTC)
{{collapse top|title=Archives|bg=#F7EABA|bg2=#F7EABA|width=80%}}
Archives box{{collapse bottom}}
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
I have made 2 changed to the template in the sandbox, shown with this diff.
|button-label=
|search-button-label=
|large=
|banner=
by:
|title=
always bold when not in banner mode (Since it is no longer a header)|list=
|1=
into a new row so they collapseI have looked at the testcases and do not see any problems that have been created by these changes. The changes were discussed above where it was noted that the two styles of this template (Banner / Box) should share all of their options. Terasail [✉️] 15:36, 21 June 2021 (UTC)
@
Trialpears: as I have been going through the template on the sandbox, attempting to make the above (collapsable banner) work, it is working I just need to test it on a few pages... I noticed that you made |list=
& |1=
have the same functionality with
this edit. As stated in the parameter descriptions, they were slightly different. In the current sandbox I have given the functionality back but if there was a problem caused by this I can remove it again.
Terasail
[✉️] 21:15, 26 June 2021 (UTC)
|1=
and |list=
is a prime example of such a thing. Others include archivelists and box-width. --
Trialpears (
talk) 21:35, 26 June 2021 (UTC)
|1=
if |auto=
is given an affirmative value which it then ignores which is really confusing behaivior anyways. I at least think that's the case. If that's all we really should get rid of it. I believe almost all such cases should have been removed in my cleanup for the above mentioned edit but I can't be sure. I would probably wait until the first and use the template data report to generate a list of pages that would be affected and then cleanup that handful before removing the feature. --
Trialpears (
talk) 22:01, 26 June 2021 (UTC)
|list=
is currently pretty much useless, since someone could just use |auto=no
if they don't want auto detection and since it is such a limited number of cases it really seems pointless.
Terasail
[✉️] 22:17, 26 June 2021 (UTC)
|list=
and block it?
Terasail
[✉️] 22:46, 26 June 2021 (UTC)
|1=
is currently handled with auto detection? --
Trialpears (
talk) 22:54, 26 June 2021 (UTC)
|1=
works (see
my sandbox) but its an easy fix, just working on better testcases to catch these slight differences more easily.
Terasail
[✉️] 23:07, 26 June 2021 (UTC)Would anyone here mind if I took a bot and went through this category fixing the cases where there's no style parameter present? I'll file a BRFA if there are no objections in a while. -- Trialpears ( talk) 23:08, 12 August 2021 (UTC)
|box-width=
from all usecases shown at
Category:Archive boxes with unusual parameters. -Side note: @
Trialpears: The sandbox you have been working on has removed |style=
entirely, is this intentional? Since there are a lot of archiveboxes which use this.
Terasail
[✉️] 23:03, 14 August 2021 (UTC)This
edit request to
Template:Archives has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please replace {{#ifeq:{{{collapsed}}}|yes|collapsible collapsed|{{#ifeq:{{{collapsible}}}|yes|collapsible}}}}
with the following fragment {{#ifeq:{{{collapsed}}}|yes|mw-collapsible mw-collapsed|{{#ifeq:{{{collapsible}}}|yes|mw-collapsible}}}}
the classes for collapsible were renamed when they were moved to core years ago and the old ones are deprecated (and less performant). — TheDJ ( talk • contribs) 09:52, 1 October 2021 (UTC)
I have been bold and altered "Threads" to "Sections" in the text displayed by the BOT parameter. This is because threads" has more than one meaning in this context.
A section could contain several distinct threads about different aspects of the issue under discussion. Using the word threads could be misunderstood to mean that separate threads in a section would be archived at different times depending on when they terminated.
This is not what is meant. What is meant is that a whole section (which might contain several threads) will be archived if the last comment was made more than a pre-determined time ago, unless the last thread in the section means that that section will not be archived until newer sections are created. -- PBS ( talk) 12:04, 4 October 2021 (UTC)
The index is not getting updated at Talk:Mad Men. I'm not clear on how it's supposed to work. There is a list of archive pages in the Archive box template. Are those auto generated somehow or are we supposed to update the list manually? No one is doing it, so is there a way to get rid of the manual list and have it generated automatically like it would be for numbered archives? GA-RT-22 ( talk) 00:56, 27 November 2021 (UTC)
Ok, it wasn't easy, but I figured this out and it's working now. GA-RT-22 ( talk) 17:51, 27 November 2021 (UTC)
I've made a version supporting yearly and alphabetic archives using {{ yearly archive list}} and {{ archive list alpha}}, just like with {{ talk header}}. If there are no objections I plan on implementing this in a couple days. This will cause there to be about 21 more expensive parser function uses, but this is far from the limit of 500 and most talk pages don't use many expensive parser functions anyway. I will monitor for issues if this is implemented. -- Trialpears ( talk) 18:57, 26 December 2021 (UTC)
What is the setting for {{ archives}} to ignore the associated /archivelist page without having to nuke it? Right now there doesn't appear to be a way around the auto-detection. czar 00:58, 22 February 2022 (UTC)
This
edit request to
Template:Archives has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please implement the sandbox version which added a parameter for start
. This can be helpful for people who want to have archives
zero-based. I have also added a test case at
Template:Archives/testcases/box#25.
0xDeadbeef (
T
C) 15:16, 14 May 2022 (UTC)
{{
Archives|start=0}}
Terasail
[✉️] 17:08, 14 May 2022 (UTC)
Not sure what's going on with this template on my talk page, but the link to Archive 1 is a redlink despite the page existing and having content. I recently had my username changed from The_Only_Zac to TheOnlyZac so I wonder if that has anything to do with it. — TheOnlyZac ( talk) 20:22, 20 December 2022 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please copy the latest version of the template from the sandbox, with these changes: [3] Matma Rex talk 23:14, 7 January 2023 (UTC)
|title=
is left empty it can leave a rogue apostrophe in its place. See
Template:Archives/testcases/banner#25
Terasail
[✉️] 03:25, 9 January 2023 (UTC)
 
in the current code that I thought was useless. That is causing the text to be misaligned though. Let's try like this then:
[5]. (Is the template even supposed to support empty |title=
?) @
Terasail @
Paine Ellsworth
Matma Rex
talk 18:16, 9 January 2023 (UTC)
|banner=no
is the mild perversity, but editors do all sorts of logical-seeming things that template editors do not expect. –
Jonesey95 (
talk) 17:59, 10 January 2023 (UTC)
{{#ifeq:{{{banner|{{{large}}}}}}|yes|...}}
{{#if:{{{banner|{{{large|}}}}}}|...}}
|banner=yes
or |large=yes
, so I don't see the problem. Lots of templates begin with ifeqs and then later use ifs assuming editors will follow the documentation. If we try to cover all least likely permutations, we'll just make things more complex for future editors, won't we? My gut says to keep it simple and don't worry about function consistency –
[this code should be used (with one exception, the live template has an if that has a "large" parameter without a pipe, which I've fixed in
[this edit).
P.I. Ellsworth ,
ed.
put'r there 21:53, 10 January 2023 (UTC)Hey. I have my archives set up in a unique fashion on my talk page, and I wanted to direct people directly to the index as opposed to linking to suboptimally explained archive names (the search button is there anyway if they're searching for a specific message); however, I couldn't get the template to display the Index without having a redlink to Archive 1 immediately below. I ultimately opted to just use the |title= parameter to change the title into a wikilink, which works, but I'd like to have the index below without a redlink to Archive 1 there. (You can see an example of what I'm complaining about in this oldid.) Skarmory (talk • contribs) 03:00, 21 June 2023 (UTC)
However, if a list of archives is given manually through the first unnamed parameter, then it does not check for archives automatically.Did you try this? (Try changing
{{Archives|index=Archive index}}
(from that oldid of yours) to {{Archives|list=[[Archive index]]}}
to supply your destination page as the complete list of archives (with autodetection permanently disabled for good measure) instead of as the archive index)
CapnZapp (
talk) 10:17, 21 June 2023 (UTC)
I wish there was a way to collapse just the list, while leaving the search box visible. This would cut the clutter on heavily used talk pages while still encouraging people to search for prior discussion. I'm thinking of Talk:Donald Trump here. GA-RT-22 ( talk) 22:52, 3 August 2023 (UTC)
This
edit request to
Template:Archives has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
For indices generated by ClueBot III ( talk · contribs),
change
Line 18:
|#default={{#ifexist:{{#rel2abs:./{{{index|Archive index}}}}}|[[{{#rel2abs:./{{{index|Archive index}}}}}|Index]] 
to
|#default={{#ifexist:{{#rel2abs:./{{{index|Archive index}}}}}|[[{{#rel2abs:./{{{index|Archive index}}}}}|Index]] |{{#ifexist:User:ClueBot III/Master Detailed Indices/{{FULLPAGENAME}}|[[User:ClueBot III/Master Detailed Indices/{{FULLPAGENAME}}|Index]] }}
Sawol ( talk) 17:06, 16 August 2023 (UTC)
|#default={{#ifeq:{{{index|}}}|none||{{#ifexist:{{#rel2abs:./{{{index|Archive index}}}}}|[[{{#rel2abs:./{{{index|Archive index}}}}}|Index]] |{{#ifexist:User:ClueBot III/Master Detailed Indices/{{FULLPAGENAME}}|[[User:ClueBot III/Master Detailed Indices/{{FULLPAGENAME}}|Index]] }}}}
|index=none
parameter and argument have been enabled.
P.I. Ellsworth ,
ed.
put'er there 01:25, 23 August 2023 (UTC)