Template talk:Top 25 report

(Redirected from Module talk:Top 25 report/doc)
Latest comment: 3 years ago by CAWylie in topic Collapse option?

Bot maybe?

edit

Unless you really like adding these manually, wouldn't a bot operation handling this be easier? --Gonnym (talk) 19:35, 28 May 2019 (UTC)Reply

Requested move 7 May 2020

edit
The following is a closed discussion of a requested move. Please do not modify it. Subsequent comments should be made in a new section on the talk page. Editors desiring to contest the closing decision should consider a move review after discussing it on the closer's talk page. No further edits should be made to this discussion.

The result of the move request was: moved (closed by non-admin page mover) DannyS712 (talk) 11:06, 16 May 2020 (UTC)Reply



– Match name with template * Pppery * it has begun... 17:48, 7 May 2020 (UTC)Reply


The discussion above is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.

Module Changes

edit

I made a sandbox page for the module and have changed some things, and a comparison is on my user sandbox for the current and the sandbox versions from some testing I changed the following:

  • The icon for the box was changed to   from the "i" icon.
  • The number of weeks to change to a collapsible box from 5 to 4.
  • Centered the text when there is a collapsible box.
  • The number of weeks that an article appears is displayed.
  • Changed the title text so that the text "The weeks in which this happened:" only appears when there is multiple entries.
  • The text "The week in which this happened:" appears when there is one entry.
  • No comment on weeks appears when there are no entries.

If there are no objections or problems with the changes I will add them to the main module soon. Terasail[Talk] 15:18, 15 September 2020 (UTC)Reply

Semi-protected edit request on 20 November 2020

edit

Could the line break before the noinclude tag please be removed? Thanks, 207.161.86.162 (talk) 07:46, 20 November 2020 (UTC)Reply

  Done * Pppery * it has begun... 12:47, 20 November 2020 (UTC)Reply

Request: remove line break

edit

I'd like to request removal of the line break before "The weeks in which this happened..." -- I think this would look cleaner on article talk pages. Thanks! ---Another Believer (Talk) 00:32, 23 January 2021 (UTC)Reply

  Done * Pppery * it has begun... 00:55, 23 January 2021 (UTC)Reply

Wording suggestion

edit

Here's the current text: "This article has been viewed enough times in a single week to make it into the 25 Most Popular Wikipedia Articles of the Week"

Since readers are directed to Wikipedia:Top 25 Report, I propose changing the wording to:

  • "This article has been viewed enough times in a single week to appear in the Top 25 Report."

Or, is there a reason for the current wording? ---Another Believer (Talk) 00:35, 23 January 2021 (UTC)Reply

  Done * Pppery * it has begun... 00:55, 23 January 2021 (UTC)Reply

Format request

edit

I have another request. I'm looking at Talk:Christmas. Can we change the format from:

This article has been viewed enough times in a single week to appear in the Top 25 Report 4 times. The weeks in which this happened:

  • December 1 to 7, 2013
  • December 8 to 14, 2013
  • December 15 to 21, 2013
  • December 22 to 28, 2013

To this:

This article has been viewed enough times in a single week to appear in the Top 25 Report 4 times. The weeks in which this happened: December 1 to 7, 2013; December 8 to 14, 2013; December 15 to 21, 2013; December 22 to 28, 2013.

(Or similar.) I'm trying to make the template smaller on talk pages. I appreciate the info but we can communicate this information in fewer lines. Thanks! ---Another Believer (Talk) 03:32, 23 January 2021 (UTC)Reply

  Done * Pppery * it has begun... 03:50, 23 January 2021 (UTC)Reply
Pppery, Thanks! Are you open to remove the line break between "The weeks in which this happened:" and "December 1 to 7, 2013December 8 to 14, 2013December 15 to 21, 2013December 22 to 28, 2013" (using Talk:Christmas as an example)? ---Another Believer (Talk) 04:21, 23 January 2021 (UTC)Reply
I didn't do that originally because that line break wasn't deliberately added by the module but instead was an artifact of the way I implemented the horizontal format, but I've now figured out a nice way to remove it, so   Done * Pppery * it has begun... 04:26, 23 January 2021 (UTC)Reply
Pppery, Thanks! ---Another Believer (Talk) 04:32, 23 January 2021 (UTC)Reply

@Pppery: Talk:American Horror Story: Hotel shows a link break after "happened:" -- can this be removed in the template? ---Another Believer (Talk) 15:10, 9 February 2021 (UTC)Reply

Not easily, because that newline isn't deliberately added to the wikitext, but instead an artifact of the way the horizontal list of items is rendered on the page. * Pppery * it has begun... 15:16, 9 February 2021 (UTC)Reply

Collapse option?

edit

Would there be a way for articles that have long talk pages (and have multiple top 25s) to have a 1 line "This article has been in the Top 25 x times" and a show box which would show the dates? This is beyond my skill as a template editor but if such a feature existed I would use it at Talk:YouTube. Best, Barkeep49 (talk) 16:54, 12 May 2021 (UTC)Reply

Barkeep49 Definitely doable. Perhaps something like in the testcases? It automatically collapses if it has over a certain number of appearences (currently 5) except if |collapse=no is given. It can also be forced to collapse using |collapse=yes. --Trialpears (talk) 23:27, 13 May 2021 (UTC)Reply
Yes something like that would be great Trialpears. Best, Barkeep49 (talk) 00:01, 14 May 2021 (UTC)Reply
Note that this feature used to exist back when each week was on a different line, and I removed it as part of my rewrite to put everything on the same line on the grounds that it wasn't necessary given how much less space the template used. I'm fine with it being re-added, though. * Pppery * it has begun... 00:41, 14 May 2021 (UTC)Reply
Yeah it might only most useful at perennially high traffic articles like YouTube. Thanks agin Trialpears for your work on this. Best, Barkeep49 (talk) 17:33, 14 May 2021 (UTC)Reply
Alright, the sandbox version with this should now be ready for deployment. I will give it a week in case anyone objects and then implement it. Worth noting that it now collapses if there are over 10 appearances instead of the previous 5. There are also some other improvements since my previous post. --Trialpears (talk) 00:57, 14 May 2021 (UTC)Reply
Collapse doesn't work. Its use, as at the testcase page, says "The following dates couldn't be parsed: 1: yes", at least on a mobile device. Wyliepedia @ 00:23, 28 May 2021 (UTC)Reply
CAWylie, The testcases shows the current version and the sandbox version side by side. Since I forgot to implement the feature in the main template it still doesn't support it and throws an error when I attempt to give it a parameter it doesn't yet understand. I've just taken the collapse options live and it looks good to me, both in the testcases and on all real talk pages I checked. If you see any issue, please tell me and I'll make sure to fix it swiftly. --Trialpears (talk) 10:20, 29 May 2021 (UTC)Reply
Trialpears: Seems good now. Thank you! Wyliepedia @ 10:52, 29 May 2021 (UTC)Reply