Module:CRTModel: Difference between revisions

Badge breadcrumb: CRT (linked to CRT Search) › type (linked to filtered search) (via update-page on MediaWiki MCP Server)
Fix external link icon on badge: wrap type link in plainlinks class (via update-page on MediaWiki MCP Server)
Line 302: Line 302:
if crt_type then
if crt_type then
local typeUrl = tostring(mw.uri.fullUrl('CRT Search', {crt_type = crt_type}))
local typeUrl = tostring(mw.uri.fullUrl('CRT Search', {crt_type = crt_type}))
badgeWikitext = badgeWikitext .. ' › [' .. typeUrl .. ' ' .. crt_type .. ']'
badgeWikitext = badgeWikitext .. ' › <span class="plainlinks">[' .. typeUrl .. ' ' .. crt_type .. ']</span>'
end
end
addFullRow(container, badgeWikitext, '', false, 'infobox-type-badge')
addFullRow(container, badgeWikitext, '', false, 'infobox-type-badge')
MediaWiki Appliance - Powered by TurnKey Linux