FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Deprecate the {{index}} macro by Elchi3 · Pull Request #5607 · mdn/yari · GitHub

/ yari Public

Deprecate the {{index}} macro - #5607

Merged
schalkneethling merged 3 commits into
mdn:mainfrom
Elchi3:deprecate-index-macro
Mar 14, 2022
Merged

schalkneethling merged 3 commits into
mdn:mainfrom
Elchi3:deprecate-index-macro

Conversation

Elchi3 commented Mar 14, 2022
edited
Loading

Copy link
Copy Markdown
Member

Summary

Index pages are no longer a thing in our content.

Problem

We shouldn't maintain outdated wiki macros. However, the macro can only be removed entirely if translations removed all calls to it, so let them know by raising a deprecation error.

Solution

Encourage translators to remove index pages with a MacroDeprecatedError.

How did you test this change?

Put the {{index}} macro on a page and see a flaw like "MacroDeprecatedError from index. Fixable 👍🏼" appearing.

Related

mdn/content#13770

schalkneethling self-requested a review March 14, 2022 14:56
schalkneethling self-assigned this Mar 14, 2022
schalkneethling added 🚉 platform keeping the platform healthy 🧑‍🤝‍🧑 community contributions by our wonderful community labels Mar 14, 2022
Schalk Neethling and others added 2 commits March 14, 2022 17:03

schalkneethling left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

1 Down! Kinda :)

schalkneethling merged commit 2bb80ac into mdn:main Mar 14, 2022
caugner added the macros tracking issues related to kumascript macros label Mar 15, 2022
Elchi3 deleted the deprecate-index-macro branch March 16, 2022 10:50
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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 🚉 platform keeping the platform healthy

Projects

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL