| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Document macro deprecation
Update README.md
There was a problem hiding this comment.
1 Down! Kinda :)
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
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