3,726
edits
MusikAnimal (talk | contribs) No edit summary |
MusikAnimal (talk | contribs) No edit summary |
||
Line 11: | Line 11: | ||
return out .. ']]' | return out .. ']]' | ||
end | |||
local function live_debut(name) | |||
-- local cargo = mw.ext.cargo | |||
-- local shows = cargo.query( | |||
-- 'live_songs, ', | |||
-- "track_listings._pageName=title, releases.release_date=date, release_date__precision=precision, albums.type=type, track_listings.listing_id=listing_id, headline", | |||
-- { | |||
-- where = "releases.release_date != '' AND song_page_title = \"" .. song .. '"', | |||
-- join = 'track_listings._pageName=albums._pageName,albums.name=releases._pageName', | |||
-- groupBy = 'track_listings.work', | |||
-- orderBy = 'releases.release_date ASC' | |||
-- } | |||
-- ) | |||
return false | |||
end | end | ||
Line 47: | Line 62: | ||
if length ~= '' then | if length ~= '' then | ||
out = out .. '[' .. length .. ']' | out = out .. '[' .. length .. '] ' | ||
end | |||
if live_debut(name) then | |||
out = out .. "[<span style='color:green'>live debut</span>]" | |||
end | end | ||