m →Template edit request 19 October 2020: Slight update |
Paine Ellsworth (talk | contribs) |
||
Line 189: | Line 189: | ||
== Template edit request 19 October 2020 == |
== Template edit request 19 October 2020 == |
||
{{TPER}} |
{{TPER|answered=yes}} |
||
I am proposing some substantial changes to this template and have added these changes to '''{{t|Archives/sandbox}}''' and these can be seen at the '''[[Template:Archives/testcases|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. |
I am proposing some substantial changes to this template and have added these changes to '''{{t|Archives/sandbox}}''' and these can be seen at the '''[[Template:Archives/testcases|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. |
||
Line 206: | Line 206: | ||
If these are to be implemented it would probably be best to just use the sandbox version. |
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 {{para|banner}} style is displayed, it provides identical functionality. [[User:Terasail|<span style="color:DarkCyan; font-family:Impact;">Terasail</span>]][[User talk:Terasail|<sup><span style="color:Black;">'''[Talk]'''</span></sup>]] 21:54, 19 October 2020 (UTC) |
''Side note'': While not exactly the same as when the current {{para|banner}} style is displayed, it provides identical functionality. [[User:Terasail|<span style="color:DarkCyan; font-family:Impact;">Terasail</span>]][[User talk:Terasail|<sup><span style="color:Black;">'''[Talk]'''</span></sup>]] 21:54, 19 October 2020 (UTC) |
||
:{{to|Terasail}} {{done|done}}. I use this template myself, and wasn't crazy about the bold title, but it's not a deal-breaker. Thank you for your work''!'' '''''[[User:Paine Ellsworth|<span style="font-size:92%;color:darkblue;font-family:Segoe Script">P.I. Ellsworth</span>]]''''' [[Editor|<span style="color:black">ed.</span>]] [[User talk:Paine Ellsworth|<sup>put'r there</sup>]] <small>01:32, 20 October 2020 (UTC)</small> |
Revision as of 01:32, 20 October 2020
Index
|
||
This page has archives. Sections older than 90 days may be automatically archived by Lowercase sigmabot III when more than 5 sections are present. |
Common formatting errors
When this template isn't at the bottom of the talk notices it messes up talk page formatting (example: Talk:Antisemitism in the Arab world). Not sure exactly how many are affected, but I constantly run across this issue, especially on more poorly maintained talk pages. Thoughts on cleaning this up, I guess a bot would do it? ProcrastinatingReader (talk) 14:48, 28 August 2020 (UTC)
- It needs to be considered in conjunction with WP:TALKORDER. --Redrose64 🌹 (talk) 20:17, 28 August 2020 (UTC)
Template-protected edit request on 4 September 2020
It would be good to be able to go directly to the article page from an archived talk page. I suggest adding the link to the article next to the link to the main talk page, on the top left, just below "From Wikipedia, the free encyclopedia". See for example Talk:Black_hole/Archive_14. Vpab15 (talk) 21:34, 4 September 2020 (UTC)
- Not done: (not an admin or template editor) That can't be added using this template, as this appears on the main talk pages. It could be done on a template like {{Archive}} or {{Automatic archive navigator}}, but you would need to make a specific edit request (i.e. tell us how to do it) on the talk page of one of those templates. I would be happy to help. Danski454 (talk) 21:58, 4 September 2020 (UTC)
- Thanks, I have requested it on Template_talk:Archive#Template-protected_edit_request_on_5_September_2020. Vpab15 (talk) 11:18, 5 September 2020 (UTC)
Template-protected edit request on 17 September 2020
To add the banner function from Template:Archive banner following the Aug 10th discussion to merge the templates. I added it in the sandbox and is the current version which I believe works without causing any issues.
By giving the ‘banner’ parameter any value it changes it to the same functionality of the Template:Archive banner. Terasail II[Talk] 22:35, 17 September 2020 (UTC)
- You just copied archive banners code and put in a switch? I think the better approach would be to improve the current
|large=
version so it becomes basically identical. The large version comes from archive box collapsible which didn't use image or search making the formatting suboptimal when using those options. --Trialpears (talk) 22:48, 17 September 2020 (UTC) - Not done for now: please establish a consensus for this alteration before using the
{{edit template-protected}}
template. – Jonesey95 (talk) 23:31, 17 September 2020 (UTC)- Also Terasail II, please don't paste code blobs and demos into the talk page. Use the sandbox for your proposed code changes, and the testcases page to demonstrate; more at WP:TESTCASES. This will keep the talk page focused on the actual discussion. --Redrose64 🌹 (talk) 09:39, 18 September 2020 (UTC)
Archive banner addition
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)
- Terasail, looks good on the banner version, but if you look at the second lowest testcase which basically is a collapsible banner you broke that. I would suggest keeping
|large=
as an alias for banner and add support for collapsing the banner. --Trialpears (talk) 16:27, 27 September 2020 (UTC)- Trialpears, thanks for the feedback I have changed the parameter back to
|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)
- Trialpears, thanks for the feedback I have changed the parameter back to
(1st unnamed parameter)
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)
- CapnZapp, is the bottom testcase what you meant by displaying the minimum threads? It is currently only a sandbox version that I am intermittently working on trying to add a "talk banner" style. Terasail[Talk] 23:11, 27 September 2020 (UTC)
- That looks promising :) My feedback:
- Whatever you do, please replicate the exact same functionality for both {{Archives}} and {{Auto archiving notice}}. Thank you.
- In the best case, the banner automatically detects the
{{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. - Failing that, can I suggest you choose one popular archival bot (might I suggest MiszaBot/lowercase sigmabot III?) and then use its exact same parameter names? That is, avoiding the situation where a pair of related parameters have slightly different names - for instance
|minthreadsleft=
but|minthread=
is just annoying. - Also while I'm making a wishlist :-) can I ask for the ability to customize the message, or at least be able to select the following alternative phrasing: "...but only when more than N topics are present." While your phrase "and the N most recent threads are not archived" technically explains it equally well, I feel it would be intuitive to explain it as no archiving will take place unless there are more than N topics.
- Keep up the good work! CapnZapp (talk) 09:30, 28 September 2020 (UTC)
Template change proposal
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:
- Added horizontal padding for
|1=
and|list=
so text isn't against the border. - The Archives title is now set to link to Help:Archiving a talk page by default unless an index is set.
- Changed the text for archiving bot to be more inline with {{Auto archiving notice}}. (Shown in the bottom testcase)
- Added
|long=
to bot archiving text which states when sections will not archive. (Shown in the bottom testcase) - Added
|minthreadsleft=
which is set to 4 by default, requires|long=yes
. (Shown in the bottom testcase) - Changed
|large=
so that it displays in a talk banner style in line with {{Archive banner}}. - Removed the switch for the image.
- Altered the switch for {{Archive list}} settings.
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)
- Thanks for
|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)- And oh, in the interests of backwards compatibility, can I suggest that you leave the appearance of
|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)- Reply: CapnZapp the
|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)- Okay, so days=weeks works. Cool, I'll take your word for it. Thank you for considering
|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)- I've fixed the double s issue by checking if the units parameter ends with s before adding it. I personally think that the auto archiving message should be as brief as possible and would prefer something like "Any threads with no replies in 5 months are automatically archived." with possible addition of minthreadsleft. I don't think anyone care which bot archives the page as long as it works and really don't see any reason to include it. I also think sections without timestamps fall in the same category since experienced editors sign their posts, new editors have theirs signed by the bot and most of the sections without time stamps are not supposed to be archived such as todo lists or instructions. That is just my opinion and I have no idea what others think. This large and banner mess is quite weird, but I think its fine displaying it in the same style as Archive banner. I've also added banner as an alias for large so both can be used for the same version. I think banner is the clearer terminology to use and what should be used in the documentation, but we have a significant amount of pages using large from a previous merger. One last thing, If we are to add a link to Help:Archiving a talk page we really can't have the index link at the same location. I think the best solution would be having it at the start of the archive list like is done at {{Talk header}}. --Trialpears (talk) 07:47, 8 October 2020 (UTC)
- Okay, so days=weeks works. Cool, I'll take your word for it. Thank you for considering
- Reply: CapnZapp the
- And oh, in the interests of backwards compatibility, can I suggest that you leave the appearance of
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)
Template edit request 19 October 2020
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:
- Removal of the large if statement surrounding the two template styles & the banner style.
|banner=
is changed to be synonymous in functionality with|large=
.- The switch statement to select an image for the template was removed for an if statement.
- The switch statement to select {{Archive list}} was removed for a set of nested if statements.
- The
|large=
/|banner=
parameters now shows the talk page "banner style" rather than any previous styles. - The archiving bot message was altered slightly &
|minthreadsleft=
was added to allow editors to display the archive bot setting. - Padding was added to data displayed when
|1=
or|list=
are used. - The template is no longer collapsible at testcase 21.
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)
- To editor Terasail: done. I use this template myself, and wasn't crazy about the bold title, but it's not a deal-breaker. Thank you for your work! P.I. Ellsworth ed. put'r there 01:32, 20 October 2020 (UTC)