Move data-reference-type attribute into a constant
What does this MR do and why?
This is a small refactoring suggested on #364047 (closed).
It moves data-reference-type=
attribute into a constant so it can be re-used by
ReferenceRewriter
class to detect if content needs a rewrite.
Nothing changes in the current behavior, but it prevents someone from changing this attribute name and break rewrites when needed.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.