Module:Track listing: रिवीजन सभ के बीचा में अंतर

Content deleted Content added
add a tracking category for deprecated params
allow suppressing categories with |category=no
लाइन 145:
music_width = true,
extra_width = true,
category = true,
}
 
Line 171 ⟶ 172:
-- Evaluate boolean properties
self.collapsed = yesno(self.collapsed, false)
self.showCategories = yesno(self.category)
self.category = nil
 
-- Make track objects
Line 244 ⟶ 247:
function TrackListing:renderTrackingCategories()
local ret = ''
if self.showCategories and self.hasDeprecatedArgs then
ret = ret .. '[[Category:Track listings with deprecated arguments]]'
end