Module:BrandSeries: Difference between revisions
Fix Unassigned link - use HTML anchor tag instead of wikitext external link (via update-page on MediaWiki MCP Server) |
Fix Unassigned link - use proper HTML anchor tag (via update-page on MediaWiki MCP Server) |
||
| Line 110: | Line 110: | ||
local askQuery = string.format('[[Category:CRT models]][[Has brand::%s]][[Has series::!+]]', brand) | local askQuery = string.format('[[Category:CRT models]][[Has brand::%s]][[Has series::!+]]', brand) | ||
local askUrl = '/wiki/Special:Ask/' .. encodeForAsk(askQuery) | local askUrl = '/wiki/Special:Ask/' .. encodeForAsk(askQuery) | ||
-- Use HTML anchor tag | -- Use HTML anchor tag directly | ||
local unassignedLink = | local unassignedLink = '<a href="' .. askUrl .. '"><i>(Unassigned)</i></a>' | ||
table.insert(lines, '|-') | table.insert(lines, '|-') | ||