Skip to content

Auto-addition of mdn_url when multiple candidates in content inventory #29339

@Elchi3

Description

@Elchi3

What type of issue is this?

Infrastructure issue

What is the issue?

No mdn_url for:

api.Sanitizer
api.Sanitizer.Sanitizer
api.Translator
api.Summarizer

What behavior were you expecting?

Automatically added mdn_urls for:

api.Sanitizer
api.Sanitizer.Sanitizer
api.Translator
api.Summarizer

What version(s) of BCD is the issue present in?

  • The current BCD release
  • The current version of the main branch

Do you have anything more you want to share?

For the BCD keys where the automated addition of mdn_urls fails, the issue is that the script doesn't know which MDN page to pick from, given multiple exist in the in the MDN inventory JSON.

For example, the MDN inventory lists two pages with the matching BCD key "api.Translator": the Translator interface page and an overview page.

Can we do something about it? We should pick the reference page and not the overview page but the script doesn't know this yet.

Metadata

Metadata

Assignees

Labels

infraInfrastructure issues (npm, GitHub Actions, releases) of this projectp2High priority – Community PRs highly encouraged.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions