Module:AVDevice: Difference between revisions
Badge fix: use plainlinks + external link with query params for pre-filtered device type search. $wgNoFollowDomainExceptions handles nofollow, plainlinks hides external icon. (via update-page on MediaWiki MCP Server) |
Change "Add part" button to link to Create_a_part with av_devices parameter (via update-page on MediaWiki MCP Server) |
||
| Line 645: | Line 645: | ||
addSectionRow(container, 'Parts') | addSectionRow(container, 'Parts') | ||
-- Build the add part link with | -- Build the add part link pointing to Create_a_part with av_devices parameter | ||
local addPartUrl = mw.uri.fullUrl( | local addPartUrl = mw.uri.fullUrl( | ||
" | "Create a part", | ||
{ | { | ||
av_devices = pageName | |||
} | } | ||
) | ) | ||