Closed wbamberg closed 2 years ago
As this one is nearing 2 years without any updated, I suggest we consider closing it and maybe instead perhaps adding to the OWD work list (if it’s not already included there) — following the general principle that it’s good to not keep issues open indefinitely without any associated updates to the content.
Fair enough. I still think this is worth doing but it's obsolete at least in that it talks about using tags rather than page types, and it might (I hope) be obsoleted by https://github.com/openwebdocs/project/issues/76, so I'm less invested in getting it done.
According to https://github.com/mdn/sprints/issues/3327 we have ~1100 pages directly under Web/API.
I believe that every page directly under Web/API must be one of:
1) an API overview page, e.g. https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API 2) an interface page, e.g. https://developer.mozilla.org/en-US/docs/Web/API/Request 3) a dictionary page, e.g. https://developer.mozilla.org/en-US/docs/Web/API/AesGcmParams
While it's hard to tell which pages are in group (1), a reasonable heuristic seems to be: if the title contains a space, the page is an API overview page. But that heuristic we have about 100 API overview pages, leaving about 1000 others.
As far as I know, all the others ought to be either interface pages or dictionary pages, so ought to be listed in GroupData.json. In fact, ~250 of these pages are not listed in GroupData.
Additionally, some interfaces/dictionaries appear under more than one group in GroupData. I believe that this should not be allowed.
So we should: