Evolution and evolvability (talk | contribs) →Annual archiving compatibility: pissible implementation Tag: 2017 wikitext editor |
→Documentation issues / Archive Box merge: new section |
||
Line 95: | Line 95: | ||
Is it possible to make this compatible with annual archiving? The current guidelines indicate {{tq|The auto-generated archive list requires subpages to use the common naming convention. <nowiki>That is, "{{PAGENAME}}/Archive 1", "{{PAGENAME}}/Archive 2", and so on</nowiki>}}. If the archive starts at e.g. "/Archive_2016" then follows numerically upwards from that, would it be possible to spot those, even if pages /Archive_1...2015 are omitted? [[User:Evolution and evolvability|T.Shafee(Evo<small>&</small>Evo)]]<sup>[[User talk:Evolution and evolvability|talk]]</sup> 02:16, 30 November 2019 (UTC) |
Is it possible to make this compatible with annual archiving? The current guidelines indicate {{tq|The auto-generated archive list requires subpages to use the common naming convention. <nowiki>That is, "{{PAGENAME}}/Archive 1", "{{PAGENAME}}/Archive 2", and so on</nowiki>}}. If the archive starts at e.g. "/Archive_2016" then follows numerically upwards from that, would it be possible to spot those, even if pages /Archive_1...2015 are omitted? [[User:Evolution and evolvability|T.Shafee(Evo<small>&</small>Evo)]]<sup>[[User talk:Evolution and evolvability|talk]]</sup> 02:16, 30 November 2019 (UTC) |
||
:Possibly via inclusion of something like <code><nowiki>{{Yearly archive list|prefix = Archive }}</nowiki></code>? [[User:Evolution and evolvability|T.Shafee(Evo<small>&</small>Evo)]]<sup>[[User talk:Evolution and evolvability|talk]]</sup> 06:43, 30 November 2019 (UTC) |
:Possibly via inclusion of something like <code><nowiki>{{Yearly archive list|prefix = Archive }}</nowiki></code>? [[User:Evolution and evolvability|T.Shafee(Evo<small>&</small>Evo)]]<sup>[[User talk:Evolution and evolvability|talk]]</sup> 06:43, 30 November 2019 (UTC) |
||
== Documentation issues / Archive Box merge == |
|||
I consider myself baseline programming savvy but I cannot understand the current documentation. |
|||
The explanation for the "1st unnamed parameter" says {{tq|Can be used in addition to automatic archiving if additional pages with other names are available.}} Can be used? How? Why? This explains nothing to me. It seems it has something to do with cases where archive pages have non-standard names, but it doesn't say that, and it doesn't say when you should use it and when you should not, and it doesn't say how or what values it takes. |
|||
Also, am I supposed to understand auto=no is what turns the the template's behaviour into that of the legacy {{tlx|Archive Box}} whoich just was turned into a redirect here? More context, please. |
|||
(And I don't request explanations here to me on talk, I want the documentation to be improved) [[User:CapnZapp|CapnZapp]] ([[User talk:CapnZapp|talk]]) 09:35, 8 December 2019 (UTC) |
Revision as of 09:35, 8 December 2019
Index
|
||
Stops at "Archive 48"
In Wikipedia_talk:Manual_of_Style, the last link is to #48, but there are 125 archives. I can't visit the latests archives from the template because they are not linked at all. Talk:Homeopathy already has 48 archives and will hit this problem soon.
Is this a technical limitation of loops in wikipedia templates? Is there a go-around that doesn't involve a hand-made list of archives?
(By the way, the template uses "&preload=Template:Archives/Preload" in a link, but Template:Archives/Preload is a red link. Looks like old code that could be removed safely.) --Enric Naval (talk) 12:53, 6 September 2011 (UTC)
- Note that {{Talkheader}} displayed all 125 links. --Enric Naval (talk) 22:56, 6 September 2011 (UTC)
- I'm here to note that too. I see the limit was expanded from 20 above. Just get rid of the limit altogether. We can collapse it if we want to. There is never any valid reason to hide the most recent archives.
- If the template must for some programming reason include a limit at all, set it absurdly high, like one or two thousand. That should get WP talk:MOS through 2013 or so. — LlywelynII 02:50, 17 September 2011 (UTC)
- Ok, found the problem. {{archive list long}} is employed by this template to do its searching and that template stops at 48. The name is a gross misnomer, since {{archive list}} tout suite stops at 200. — LlywelynII 03:03, 17 September 2011 (UTC)
- To reduce overhead, can we add a parameter indicating the last archive number? For example:
- {{archives|searchfrom=48}}
- It display 48 links, then start searching and linking archive 49, 50, etc. Archival bots could be instructed to update that number. --Enric Naval (talk) 10:58, 26 September 2011 (UTC)
- Until anyone fixes this (I've previously brought it up at WP:VPT) the workaround noted at Template talk:Archive list long will do the job. --Trevj (talk) 18:53, 3 October 2011 (UTC)
- Ok, found the problem. {{archive list long}} is employed by this template to do its searching and that template stops at 48. The name is a gross misnomer, since {{archive list}} tout suite stops at 200. — LlywelynII 03:03, 17 September 2011 (UTC)
Does Lua offer a solution for this? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 20:12, 22 March 2013 (UTC)
- Fixed awhile ago by redirecting "archive list long" to "archive list" and using Module:Archive list to check for archives. The module checks every 1000, 200, 50, 20 and 1 archives and by not checking every archive the limit now is 500,000 archives.--Snaevar (talk) 15:22, 3 August 2015 (UTC)
Edit request: table padding
Text and other content is butted right up against the borders. This is unattractive and readability suffers.
Removing border-collapse:collapse;
and adding padding: 1em;
would be an improvement. —Michael Z. 2013-06-21 15:28 z
- Being able to add padding would make this template look better. Could someone do this? It would be such a service. A L T E R C A R I 09:11, 5 May 2017 (UTC)
Add padding: 1em;
. —A L T E R C A R I ✍ 13:48, 27 May 2017 (UTC)
Redlinks
Since whatever recent modifications, the links to newly-created archive pages more often than not appear as redlinks, even though the archive page can still be accessed just fine. In one case, I changed {{Archives}} to {{archives}} on the page, and the previous redlink started appearing as blue. That wasn't the case with another page, though in that case, the link appeared as blue in preview mode, but appeared as red when I saved the page. RadioKAOS / Talk to me, Billy / Transmissions 18:02, 13 July 2015 (UTC)
- @RadioKAOS: It's not a fault in this template. There has always been an issue with redlinks not turning blue immediately upon creation of the linked-to page (and also with bluelinks not turning red immediately after a deletion). Usually, all you need do is WP:PURGE the page that has the wrongly-coloured link. An edit (even a WP:NULLEDIT) will also work, but unless you actually need to change the page, a purge is preferable. --Redrose64 (talk) 21:07, 13 July 2015 (UTC)
Edit request
Edit request to add a parameter |endnote=
to the archive box, to allow users to add a custom line of text to the end of the archive box, beneath any other content (bot note, search button, etc). Modifications exist in the sandbox and test-cases. Alex|The|Whovian? 00:47, 17 March 2016 (UTC)
- Not done: please establish a consensus for this alteration before using the
{{edit template-protected}}
template.- My immediate thoughts are that this could (not assuming good faith = would) be misused and/or cause incontinuity. fredgandt 02:02, 17 March 2016 (UTC)
- Care to explain how? Alex|The|Whovian? 02:02, 17 March 2016 (UTC)
- Other than being a new and exiting source of fun for passing vandals (good faith just tuned in its grave), the template is already fairly customisable. Adding another way to change the configuration (without restriction?) could render the variety of instances - for want of a better word - messy. Whilst mess isn't exactly the end of the world, it can be offputting, especially on talk pages which already have WikiProject banners, and talk page notices and archive boxes etc. all over the top (and the pages most likely to need archiving will be the busy ones which are often projectified). In these cases, yet another source of special notice that affects the use (by instruction or advice?) of the page, could be seen as practically disruptive.
- I feel (and other than asking for consensus, all this is just my opinion) that if anything particularly special needs to be said about any instance of an archive, it should probably be said in a way that requires a separate template or agreed other version of this. Templating is after all, an exercise in simplified continuity. fredgandt 02:18, 17 March 2016 (UTC)
- Thank you for your opinion. I'll just do it how I've done it on my user talk page - basically exactly the same, just (thinking) outside the box. Alex|The|Whovian? 02:25, 17 March 2016 (UTC)
- As a fellow Wikipedia user I encourage you to seek consensus. The Wisdom of Crowds makes my opinion a drop in the ocean, no more or less valuable than all the others. And yes, I really am this reasonable. wp:IDLI covers something I hold dear, my principle that "If you can't beat 'em, join 'em" is one of the stupidest things anybody has ever said. Think outside the box! Even if this exact request is not done, it could lead to the creation of something of a compromise. fredgandt 02:38, 17 March 2016 (UTC)
- Thank you for your opinion. I'll just do it how I've done it on my user talk page - basically exactly the same, just (thinking) outside the box. Alex|The|Whovian? 02:25, 17 March 2016 (UTC)
- Care to explain how? Alex|The|Whovian? 02:02, 17 March 2016 (UTC)
- My immediate thoughts are that this could (not assuming good faith = would) be misused and/or cause incontinuity. fredgandt 02:02, 17 March 2016 (UTC)
Unnamed parameter
Can somebody provide some more detailed documentation and/or examples on how the first unnamed parameter works? Attempting to use it as for example on Talk:Caesium, where the current archive of the page is at Talk:Caesium/archive1, does not seem to work. Passing |archive1 to the template simply adds "archive1" as text beneath the automatically-generated Archive_1 (red)link. --superioridad (discusión) 11:49, 15 April 2017 (UTC)
- @Superiority: It's a free-form parameter, whatever you put in here is displayed "as-is" with no further processing. You can use it to create custom lists. --Redrose64 🌹 (talk) 17:10, 15 April 2017 (UTC)
Using {{archives}} within an archive page
Apologies if this is a silly question. I've just archived my talk page for the third time, and while the links to my archived pages appear on my talk page, within the archives themselves the navbox reads, "no archives yet (create)", making navigation awkward. What am I missing? nagualdesign 09:16, 5 July 2017 (UTC)
- @Nagualdesign: Add
|root=User talk:Nagualdesign
or|root=User talk:{{BASEPAGENAME}}
to the uses of the template in your archives. Jc86035 (talk) Use {{re|Jc86035}}
to reply to me 09:49, 5 July 2017 (UTC)
Template-protected edit request on 26 September 2017
Please add .6em padding between the image and the top border, and some space between the search box and the button (with break=yes), as shown in this sandbox edit. It would make the box look less cramped, see the testcases. Thank you. Atón (talk) 21:47, 26 September 2017 (UTC)
- Done. PS: If those were your attempts to fix the "first entry in a list doesn't show up right" issue, the fix is to use
<nowiki />
on the line before the list starts (i.e.{{Archives|1=<nowiki />
, then a newline, then the enclosed list). This affects all templates that wrap lists that are given in WP's native*
or#
format. — SMcCandlish ☺ ☏ ¢ ≽ʌⱷ҅ᴥⱷʌ≼ 00:53, 27 September 2017 (UTC)
Template-protected edit request on 5 December 2018
Please replace the contents of this template with revision 872077031 of the template sandbox. This change keeps the image aligned in the center when the collapsible
or collapsed
parameter is set to yes
. An illustration of the change is available in the fourth test case ({{Archives|collapsed=yes}}
) at Template:Archives/testcases. Thank you. — Newslinger talk 05:09, 5 December 2018 (UTC)
Sandbox proposal: Check for unk parameters
{{Archives/sandbox}} is currently used to prepare a merge (discussion). Trialpears is leading the development in here, I understand.
I made two minor code changes [1], revert without discussion is OK.
I also proposed-by-edit [2] to add Module:Check for unknown parameters. It has 29 parameters now. (And I reverted this one, so as not to interfere with other editing. IOW, up to Trialpears to accept implementation).
When accepted, todo (see also test/comments in code): create Category:Pages using Archives with unknown parameters, under Category:Unknown parameters etc. -DePiep (talk) 17:11, 23 November 2019 (UTC)
- DePiep, adding check for unknown parameters seems sensible. ‑‑Trialpears (talk) 01:14, 24 November 2019 (UTC)
Annual archiving compatibility
Is it possible to make this compatible with annual archiving? The current guidelines indicate The auto-generated archive list requires subpages to use the common naming convention. That is, "{{PAGENAME}}/Archive 1", "{{PAGENAME}}/Archive 2", and so on
. If the archive starts at e.g. "/Archive_2016" then follows numerically upwards from that, would it be possible to spot those, even if pages /Archive_1...2015 are omitted? T.Shafee(Evo&Evo)talk 02:16, 30 November 2019 (UTC)
- Possibly via inclusion of something like
{{Yearly archive list|prefix = Archive }}
? T.Shafee(Evo&Evo)talk 06:43, 30 November 2019 (UTC)
Documentation issues / Archive Box merge
I consider myself baseline programming savvy but I cannot understand the current documentation.
The explanation for the "1st unnamed parameter" says Can be used in addition to automatic archiving if additional pages with other names are available.
Can be used? How? Why? This explains nothing to me. It seems it has something to do with cases where archive pages have non-standard names, but it doesn't say that, and it doesn't say when you should use it and when you should not, and it doesn't say how or what values it takes.
Also, am I supposed to understand auto=no is what turns the the template's behaviour into that of the legacy {{Archive Box}}
whoich just was turned into a redirect here? More context, please.
(And I don't request explanations here to me on talk, I want the documentation to be improved) CapnZapp (talk) 09:35, 8 December 2019 (UTC)