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

Update all browser compat/spec sections #11594

Closed
8 tasks done
queengooborg opened this issue Feb 12, 2023 · 7 comments · Fixed by #16897
Closed
8 tasks done

Update all browser compat/spec sections #11594

queengooborg opened this issue Feb 12, 2023 · 7 comments · Fixed by #16897
Labels
effort: large Task is large effort. good first issue A good issue for newcomers to get started with. help wanted If you know something about this, we would love your help! l10n-pt-br Issues related to Brazilian Portuguese l10n-ru Issues related to Russian content. p2 We want to address this but may have other higher priority items.

Comments

@queengooborg
Copy link
Collaborator

queengooborg commented Feb 12, 2023

In many translated pages, old-style spec/compat data sections are used, from more recent formats such as calling {{Compat}} with an argument to as far back as wiki tables and using the {{spec}} macro. We should check all of the pages for these older-style sections and replace them with a translated version of the following:

### Specifications

{{Specifications}}

### Browser compatibility

{{Compat}}

This project involves the following tasks:

  • Replace compatibility data tables (markdown and HTML) with {{Compat}}
  • Remove arguments to {{Compat}} calls - Remove arguments to {{Compat}} macro calls #16873
  • Remove arguments to {{Specifications}} calls - complete
  • Replace sections with {{spec}}, {{spec2}} and {{SpecName}} with {{Specifications}}
  • Replace any Specifications sections stating "there is no spec" or similar with {{Specifications}} (if the same applies upstream)
  • Remove any notes regarding specific browser versions (especially of SpiderMonkey)

Locales:


Some examples of old-style compat tables and spec tables include:

{{compat("api.Document.pointerLock")}}

---

| Browser           | Suporte         | Notas                                                          |
| ----------------- | --------------- | -------------------------------------------------------------- |
| Internet Explorer | 8               | (IE8) apenas selectores CSS 2.1                                |
| Firefox (Gecko)   | **3.5** (1.9.1) |                                                                |
| Opera             | 10              |                                                                |
| Chrome            | 1               |                                                                |
| Safari (webkit)   | 3.2 (525.3)     | [webk.it/16587](https://bugs.webkit.org/show_bug.cgi?id=16587) |

--- 

## Especificação

- {{spec("https://www.w3.org/TR/selectors-api/","Selectors API Level 1","rec")}}
- {{spec("https://www.w3.org/TR/selectors-api2/","Selectors API Level 2","wd")}}
- {{spec("http://dev.w3.org/2006/webapi/selectors-api2/","Selectors API Level 2","ed")}}

---

| Характеристики                                                                               | Статус                           | Комментарий           |
| -------------------------------------------------------------------------------------------- | -------------------------------- | --------------------- |
| {{SpecName("DOM WHATWG", "#interface-domtokenlist", "DOMTokenList")}} | {{Spec2("DOM WHATWG")}} | Начальное определение |
@queengooborg queengooborg added help wanted If you know something about this, we would love your help! effort: large Task is large effort. p2 We want to address this but may have other higher priority items. labels Feb 12, 2023
@queengooborg queengooborg pinned this issue Feb 12, 2023
@queengooborg queengooborg added the good first issue A good issue for newcomers to get started with. label Feb 13, 2023
@Graywolf9
Copy link
Contributor

es done in #11609 thanks to @queengooborg !

@queengooborg
Copy link
Collaborator Author

Actually no, Spanish isn't even done to being finished... 🙃 There are lots, LOTS more entries to work through, and that PR only covers a small amount!

@SnowMarble
Copy link
Contributor

ko done in #11691 :)

@hochan222 hochan222 added l10n-ja Issues related to Japanese content. l10n-fr Issues related to French content. l10n-zh Issues related to Chinese content. l10n-es Issues related to Spanish content. l10n-ru Issues related to Russian content. l10n-ko Issues related to Korean content. l10n-pt-br Issues related to Brazilian Portuguese and removed l10n-ko Issues related to Korean content. labels Feb 19, 2023
queengooborg added a commit that referenced this issue Feb 20, 2023
This PR updates some of the browser compatibility data and specification sections for the Spanish locale. Part of work for #11594.

Note: this may also include other minor updates, such as removal of old sections or other small bits of cleanup.
queengooborg added a commit that referenced this issue Feb 20, 2023
This PR updates some of the browser compatibility data and specification sections for the Spanish locale. Part of work for #11594.

Note: this may also include other minor updates, such as removal of old sections or other small bits of cleanup.
queengooborg added a commit that referenced this issue Feb 20, 2023
This PR updates some of the browser compatibility data and specification sections for the Spanish locale. Part of work for #11594.

Note: this may also include other minor updates, such as removal of old sections or other small bits of cleanup.
queengooborg added a commit that referenced this issue Feb 20, 2023
This PR updates some of the browser compatibility data and specification sections for the Spanish locale. Part of work for #11594.

Note: this may also include other minor updates, such as removal of old sections or other small bits of cleanup.
queengooborg added a commit that referenced this issue Feb 20, 2023
This PR updates some of the browser compatibility data and specification sections for the Spanish locale. Part of work for #11594.

Note: this may also include other minor updates, such as removal of old sections or other small bits of cleanup.
Graywolf9 added a commit that referenced this issue Feb 23, 2023
* es: Update browser compat/spec sections (part 10)

This PR updates some of the browser compatibility data and specification sections for the Spanish locale. Part of work for #11594.

Note: this may also include other minor updates, such as removal of old sections or other small bits of cleanup.

* Apply suggestions from code review

---------

Co-authored-by: Alexander <[email protected]>
Graywolf9 added a commit that referenced this issue Feb 23, 2023
* es: Update browser compat/spec sections (part 11)

This PR updates some of the browser compatibility data and specification sections for the Spanish locale. Part of work for #11594.

Note: this may also include other minor updates, such as removal of old sections or other small bits of cleanup.

* Fix non rendered macros

---------

Co-authored-by: GrayWolf <[email protected]>
@Graywolf9
Copy link
Contributor

Thank you so much again @queengooborg ! It seems to be done now thanks to you!

@yin1999 yin1999 removed the l10n-zh Issues related to Chinese content. label Feb 24, 2023
@yin1999
Copy link
Member

yin1999 commented Feb 24, 2023

Already done this for l10n-zh in #5618, so removing l10n-zh label.

@Graywolf9 Graywolf9 removed the l10n-es Issues related to Spanish content. label Feb 24, 2023
SphinxKnight pushed a commit that referenced this issue Feb 25, 2023
This PR updates some of the browser compatibility data and specification sections for the French locale. Part of work for #11594.

Note: this may also include other minor updates, such as removal of old sections or other small bits of cleanup.
SphinxKnight pushed a commit that referenced this issue Feb 25, 2023
This PR updates some of the browser compatibility data and specification sections for the French locale. Part of work for #11594.

Note: this may also include other minor updates, such as removal of old sections or other small bits of cleanup.
SphinxKnight pushed a commit that referenced this issue Feb 25, 2023
This PR updates some of the browser compatibility data and specification sections for the French locale. Part of work for #11594.

Note: this may also include other minor updates, such as removal of old sections or other small bits of cleanup.
SphinxKnight pushed a commit that referenced this issue Feb 25, 2023
This PR updates some of the browser compatibility data and specification sections for the French locale. Part of work for #11594.

Note: this may also include other minor updates, such as removal of old sections or other small bits of cleanup.
SphinxKnight pushed a commit that referenced this issue Feb 25, 2023
This PR updates some of the browser compatibility data and specification sections for the French locale. Part of work for #11594.

Note: this may also include other minor updates, such as removal of old sections or other small bits of cleanup.
SphinxKnight pushed a commit that referenced this issue Feb 25, 2023
This PR updates some of the browser compatibility data and specification sections for the French locale. Part of work for #11594.

Note: this may also include other minor updates, such as removal of old sections or other small bits of cleanup.
SphinxKnight pushed a commit that referenced this issue Feb 25, 2023
This PR updates some of the browser compatibility data and specification sections for the French locale. Part of work for #11594.

Note: this may also include other minor updates, such as removal of old sections or other small bits of cleanup.
SphinxKnight pushed a commit that referenced this issue Feb 25, 2023
This PR updates some of the browser compatibility data and specification sections for the French locale. Part of work for #11594.

Note: this may also include other minor updates, such as removal of old sections or other small bits of cleanup.
SphinxKnight pushed a commit that referenced this issue Feb 25, 2023
This PR updates some of the browser compatibility data and specification sections for the French locale. Part of work for #11594.

Note: this may also include other minor updates, such as removal of old sections or other small bits of cleanup.
@queengooborg queengooborg removed the l10n-fr Issues related to French content. label Feb 25, 2023
@yin1999 yin1999 removed the l10n-ja Issues related to Japanese content. label Sep 2, 2023
@yin1999
Copy link
Member

yin1999 commented Oct 30, 2023

Hey @queengooborg. I've remove all deprecated macros (related with compat/spec section) for ru. Would you like to remove all params of Specifications and Compat macros for ru :)

@queengooborg
Copy link
Collaborator Author

Hey @queengooborg. I've remove all deprecated macros (related with compat/spec section) for ru. Would you like to remove all params of Specifications and Compat macros for ru :)

Thank you for tackling that, @yin1999! I'd be happy to work on getting the params removed, I can write a script to scan and fix any such instances in all applicable locales!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort: large Task is large effort. good first issue A good issue for newcomers to get started with. help wanted If you know something about this, we would love your help! l10n-pt-br Issues related to Brazilian Portuguese l10n-ru Issues related to Russian content. p2 We want to address this but may have other higher priority items.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants