mdn / kumascript

Bringing scripting to the wiki bears.
https://developer.mozilla.org/docs/Project:MDN/Kuma/Introduction_to_KumaScript
Mozilla Public License 2.0
129 stars 172 forks source link

Add "DOM" as a synonym for "DOM WHATWG" in SpecName.ejs #1242

Closed a2sheppy closed 2 years ago

a2sheppy commented 5 years ago

Currently, if you're trying to refer to the DOM specification, you're expected to use "DOM WHATWG" when using macros such as APIRef. This is a case where that can be confusing, as it's the main DOM spec we refer to. I propose adding to the SpecName macro the ability to translate the name "DOM" to "DOM WHATWG" so we can use it as a synonym.

ExE-Boss commented 4 years ago

This will then be inconsistent with HTML, which is currently named “HTML WHATWG” in SpecData.json.