Module:CRTModel: Difference between revisions
Badge fix: use plainlinks + external link with query params for pre-filtered CRT type search. $wgNoFollowDomainExceptions handles nofollow, plainlinks hides external icon. (via update-page on MediaWiki MCP Server) |
Change "Add accessory" button to link to Create_an_accessory with crt_models parameter (via update-page on MediaWiki MCP Server) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 715: | Line 715: | ||
local addAccessoryUrl = mw.uri.fullUrl( | local addAccessoryUrl = mw.uri.fullUrl( | ||
" | "Create an accessory", | ||
{ | { | ||
crt_models = pageName | |||
} | } | ||
) | ) | ||
| Line 816: | Line 815: | ||
local addPartUrl = mw.uri.fullUrl( | local addPartUrl = mw.uri.fullUrl( | ||
" | "Create a part", | ||
{ | { | ||
crt_models = pageName | |||
} | } | ||
) | ) | ||