Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate macros only used in translated content #6252

Merged
merged 2 commits into from
May 12, 2022

Conversation

queengooborg
Copy link
Collaborator

This PR deprecates all of the macros that are only used in translated content, aside from the old browser compatibility table macros (taken care of in #6251), and outdated (which seems like it's probably useful for translated content).

@caugner
Copy link
Contributor

caugner commented May 12, 2022

@queengooborg Out of curiosity, did you use/write a script/command to gather this list of unused macros?

Copy link
Contributor

@caugner caugner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified using `rg -i "{{ *NameOfMacro" that these are no longer used in mdn/content.

@caugner caugner merged commit 52adf51 into mdn:main May 12, 2022
@caugner caugner added 🧑‍🤝‍🧑 community contributions by our wonderful community macros tracking issues related to kumascript macros labels May 12, 2022
@queengooborg queengooborg deleted the macros/deprecation branch May 12, 2022 19:07
OnkarRuikar pushed a commit to OnkarRuikar/yari that referenced this pull request Jun 2, 2022
…#6252)

- {{CSSTutorialTOC}}
- {{DOM0}}
- {{DiscussionList}}
- {{EditorGuideQuicklinks}}
- {{GlossaryList}}
- {{HTML5ArticleTOC}}
- {{HTMLVersionInline}}
- {{Note}}
- {{NoteEnd}}
- {{NoteStart}}
- {{ObsoleteGeneric}}
- {{Obsolete_Header}}
- {{Obsolete_Inline}}
- {{TemplateLink}}
- {{ToolsSidebar}}
- {{gecko_callout_heading}}
- {{jsOverrides}}
- {{languages}}
- {{nextPage}}
- {{previousPage}}
- {{web.link}}
- {{wiki.localize}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧑‍🤝‍🧑 community contributions by our wonderful community macros tracking issues related to kumascript macros
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants