Module:AVDevice: Difference between revisions
Badge breadcrumb: device_type now links to AV_Device_Search?device_type=... (via update-page on MediaWiki MCP Server) |
Fix badge breadcrumb: replace external link syntax with plain wikilink to avoid nofollow and external-link icon (via update-page on MediaWiki MCP Server) |
||
| Line 246: | Line 246: | ||
) | ) | ||
-- Type badge (breadcrumb) | -- Type badge (breadcrumb) — plain wikilinks avoid nofollow and external-link icon | ||
local badgeWikitext = '[[AV Device Search|AV device]]' | local badgeWikitext = '[[AV Device Search|AV device]]' | ||
if device_type then | if device_type then | ||
badgeWikitext = badgeWikitext .. ' › [[AV Device Search|' .. device_type .. ']]' | |||
badgeWikitext = badgeWikitext .. ' › [ | |||
end | end | ||
addFullRow(container, badgeWikitext, '', false, 'infobox-type-badge') | addFullRow(container, badgeWikitext, '', false, 'infobox-type-badge') | ||
| Line 878: | Line 877: | ||
if #cells >= 2 then | if #cells >= 2 then | ||
local docType = trim(cells[2]) | local docType = trim(cells[2]) | ||
local docTitle = trim(cells[5]) | local docTitle = trim(cells[5]) | ||
local docPageName = trim(cells[1]) | local docPageName = trim(cells[1]) | ||