proposal: remove the title
parameter from smartLink()
#10804
Labels
engineering-request
enahncement requests from community, writers and partners
idle
macros
tracking issues related to kumascript macros
on hold
Waiting on something else before this can be moved forward.
p4
Not urgent, only if time allows
Context:
I'm trying to remove broken-link-flaw reports to missing translation as broken if en-US fallback exists from
smartLink()
. I found that thesmartLink()
method lacks documentation for its parameters and contains too many parameters, which makes it difficult to be used in macros.As I dug deeper, I found that it will add a
title
attribute to the generated<a>
tags when this arg is provided. Then I investigated the usage ofsmartLink()
and found that only one macro passed thetitle
parameter, and the set title overlapped with the link text:DOMxRef
I think we can safely remove this parameter and clean up the function calls.
The text was updated successfully, but these errors were encountered: