Listing enumerated values for deprecated attributes #441
-
MDN URLhttps://developer.mozilla.org/en-US/docs/Web/HTML/Element/table What specific section or headline is this issue about?Deprecated attributes What information was incorrect, unhelpful, or incomplete?In some deprecated attributes we list the enumerated values. In others we don't. @EzioMercer made a very valid point in a PR to add the enumerated values for the deprecated See mdn/content#28399 (comment) This discussion stems from mdn/content#28684 Section: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table#deprecated_attributes What did you expect to see?consistency should we list all the deprecated values? Should we omit them all. If some and not others, do we have a rationale? Do you have any supporting links, references, or citations?No response Do you have anything more you want to share?No response |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 8 replies
-
In my opinion, if something is deprecated but still widely supported, it should be described as if it weren't deprecated, but if something is deprecated and not widely supported, it should be removed or described very shortly for historic reasons |
Beta Was this translation helpful? Give feedback.
-
This could be converted to a discussion, but adding new content about deprecated features doesn't seem useful beyond historical reasons, so from an editorial perspective I would freeze any additions to these, even for the sake of consistency. I'd lean more towards what we're doing with others ('described very shortly for historic reasons'): - `deprecated_attr` {{Deprecated_inline}}
- : Description of this attr. To achieve a similar effect, use the {non-deprecated alternative}. |
Beta Was this translation helpful? Give feedback.
-
Yes, I would move to a discussion. FWIW I don't think it makes sense to invest in deprecated content. So yes, you might add a short description to the non-deprecated alternative but I wouldn't pad out a full document. Content removal has a policy that derives from BCD. Essentially it happens 2 years after a deprecated feature is removed from all browsers in our supported set. |
Beta Was this translation helpful? Give feedback.
-
@hamishwillee How can I found the discussion of this issue? |
Beta Was this translation helpful? Give feedback.
-
@EzioMercer It hasn't been moved. If it had, it the issue would "become" a discussion. I think it would be up to @estelle to do so if she thinks it worthwhile. I would not feel forced to put much effort into something that was deprecated, for consistency or otherwise.
|
Beta Was this translation helpful? Give feedback.
-
Any updates? |
Beta Was this translation helpful? Give feedback.
-
@estelle after the issue is transferred as a discussion, the issue automatically becomes locked and there does not seem to be an easy way to unlock it. Therefore I've closed the issue (you reopened a while ago) and we should move further discussions either to the PR or this thread. |
Beta Was this translation helpful? Give feedback.
-
Thank you for starting the discussion. I’m closing this now due to inactivity, but if you think that’s a mistake, feel free to reply. You’re also welcome to join the MDN Discord if you’d prefer to chat with us more about it in sync. |
Beta Was this translation helpful? Give feedback.
My take is that neither the
frames
norrules
attribute should be added to any code base. They can be listed for historical reasons because they're still supported. If a 'view sourcer' encounters the attribute, it's helpful for them to be able to find out what they mean hen they look it up, but we definitely don't want to encourage their use.To discourage use, the enumerated values should be in paragraph, rather than list, format. The value definitions should be brief, or non-existent.
For example, rules should likely be reduced to: