Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a408e0410a94f49c

Jump to content

Template talk:Track listing

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
(Redirected from Module talk:Track listing/configuration)
Latest comment: 1 month ago by Jerodlycett in topic Duplicate IDs

Display parameters

[edit]

Only No., Title and Length display when there are no values. Is it possible to make Length invisible unless the track length values are filled, like Extra column? Kailash29792 (talk) 03:45, 1 May 2026 (UTC)Reply

Quotation marks

[edit]

Is it possible to add an option to not show quotation marks?

Here's a example where that can be useful: "How to Succeed in Business Without Really Trying (soundtrack)". There are descriptive titles and subtitles like "Overture", "Finale", "Reprise", "Finch's frolic", "Company party". It would be nice to have an option to disable quotation marks in cases like this. --Moscow Connection (talk) 11:14, 17 June 2026 (UTC)Reply

Track list length

[edit]

Per the template for the total length parameter, it notes "It should be specified in minutes and seconds, even if it is longer than one hour, for example 74:23", however as per Category:Track listings with input errors, it mentions "Time segments should also not exceed 60", with the total length showing as 1:23:45 for example. The statements are quite confusing and need to be fixed.--Majash2020 (talk) 03:31, 19 July 2026 (UTC)Reply

Proposal: 7" vinyl single Side A and Side B

[edit]

For track listings in articles for singles, there is sometimes a 7" vinyl single release with tracks on Side A and Side B, sometimes with exclusive tracks not available on any other format. Can there be a update to this template to reflect this by allowing both A and B tracks to be labelled within a single tracklist? The template parameters trackA, writerA, lengthA and trackB, writerB, lengthB could be added for this purpose. Blackstardust16 (talk) 09:52, 30 July 2026 (UTC)Reply

Duplicate IDs

[edit]

It appears that if this template gets used multiple times on a single page it creates duplicate IDs which the lint system correctly identifies as an error. I think it's line 166 that's causing the issue.

:attr('id', string.format(cfg.track_id, self.number))

I'm not sure how best to solve this. Jerod Lycett (talk) 09:56, 21 August 2026 (UTC)Reply

Are the duplicate ids being using as targets of links? If not, it is unclear whether they are causing actual problems. People fixing Linter errors are mostly ignoring duplicate id errors for now. – Jonesey95 (talk) 15:39, 21 August 2026 (UTC)Reply
It causes issues with CSS, Javascript, and some (admittedly crappy) accessibility tools. Almost all dupe IDs are from templates, mostly the cite templates, so it's near impossible to fix as a regular editor. For example, to fix any of those generated by track listing it would require a module change, and I'm not even sure it's possible. I do ask: is there any reason we have the id from the template? Jerod Lycett (talk) 22:31, 21 August 2026 (UTC)Reply
What are the specific errors that the duplicate ids cause in articles that use this template? Can you give a specific example? As for why they exist, I don't know; someone more familiar with the code may be able to answer that. – Jonesey95 (talk) 01:03, 22 August 2026 (UTC)Reply
The biggest is the lack of useful navigation by screenreaders (which utilize the HTML DOM). They utilize the IDs to create internal links. Any article that has duplicate IDs is less accessible, which is by itself a problem. It does, of course, also make linking bad. Memories (Within Temptation song)#track1 for example has three possible targets.
I don't know if there's a way to deduplicate them other than allowing for an override. If they're not used regularly for links though, removing their creation and allowing the DOM to generate its own pseudo-IDs would be a better solution. Jerod Lycett (talk) 04:23, 22 August 2026 (UTC)Reply