Template talk:Track listing
This is the talk page for discussing improvements to the Track listing template. |
|
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||
|
Template:Track listing is permanently protected from editing because it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
1, 2, 3, 4, 5, 6, 7, 8, 9, 10 |
This page has archives. Sections older than 90 days may be automatically archived by Lowercase sigmabot III when more than 5 sections are present. |
Period
[edit]Why is there no period generated by |all_music=
? InfiniteNexus (talk) 06:52, 14 December 2023 (UTC)
- Because it usually implies that
|all_lyrics=
will be used as well, and this would require it to be followed by a comma. Richard3120 (talk) 20:43, 6 April 2024 (UTC)- Then the template should be adjusted to recognize if
|all_lyrics=
is being used, and if not, automatically add a period. InfiniteNexus (talk) 23:00, 7 April 2024 (UTC)
- Then the template should be adjusted to recognize if
Dark mode media query
[edit]According to the recommendations for night mode compatibility on MediaWiki, the class to style in the prefers-color-scheme
media query should be skin-theme-clientpref-os
instead of skin-theme-clientpref-night
, is that correct? Strepulah (talk) 08:34, 5 May 2024 (UTC)
- @Jdlrobson: Perhaps you could help me out here? Strepulah (talk) 09:21, 13 May 2024 (UTC)
- Hey @Strepulahthanks for reaching out - you need both (e.g. duplicate rules for both modes):
- skin-theme-clientpref-os should be used in conjunction with prefers-color-scheme media query. It corresponds to ?vectornightmode=2 and will only display night mode if the operating system preference has been set - it means "Give me dark theme if my operating system was configured to request it".
- skin-theme-clientpref-night should be set without a prefers-color-scheme media query. It corresponds to ?vectornightmode=1 - it means "Always give me dark theme".
- Hope that helps? 🐸 Jdlrobson (talk) 16:32, 13 May 2024 (UTC)
- Sort of. But then shouldn't lines 99, 103 and 107-109 in Module:Track listing/styles.css have class
skin-theme-clientpref-os
? Strepulah (talk) 17:25, 13 May 2024 (UTC)
- Sort of. But then shouldn't lines 99, 103 and 107-109 in Module:Track listing/styles.css have class
- Hey @Strepulahthanks for reaching out - you need both (e.g. duplicate rules for both modes):
No documentation on how to use TrackSum.js
[edit]Can someone explain how to use the userscript User:JPxG/TrackSum.js to calculate the total lengths? The userscript doesn't have any documentation so I have no idea how to use it. 81.154.143.12 (talk) 20:36, 10 June 2024 (UTC)
"T:TRACKLIST" listed at Redirects for discussion
[edit]The redirect T:TRACKLIST has been listed at redirects for discussion to determine whether its use and function meets the redirect guidelines. Readers of this page are welcome to comment on this redirect at Wikipedia:Redirects for discussion/Log/2024 September 15 § T:TRACKLIST until a consensus is reached. Utopes (talk / cont) 20:59, 15 September 2024 (UTC)
Change ids to classes?
[edit]@User:Gonnym: You added a feature 4 years ago, where ids where added. This causes an issue where there is more than one track listing for an album, like when an album is slightly different in different continents (one or more songs added/removed). Those albums now show up at Special:LintErrors/duplicate-ids as unsupported by Parsoid, the new parser. Can this use classes instead, like shown below? line 166:
− | : | + | :attr('class', string.format(cfg.track_id, self.number)) |
Snævar (talk) 16:42, 26 November 2024 (UTC)
- Did you test to see if changing to class still allows using it as a anchor? Gonnym (talk) 14:15, 29 November 2024 (UTC)