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

Fix: nits and improvements for console pages - follow-up of #30065 #30502

Merged
merged 11 commits into from
Nov 24, 2023

Conversation

SphinxKnight
Copy link
Member

@SphinxKnight SphinxKnight commented Nov 24, 2023

Upstreaming fixes I've been making in fr (cf. mdn/translated-content/pull/16974).

I gladly admit some of these might be opinionated and tried to split this into singular commits for each type of change.

Among other things:

  • I've removed MSDN links and decided it could be nice to have pointers from other docs (Chrome/Edge/Node): please let me know if you think this doesn't have much value in this context. I can remove those "See also" third party links.
  • I've found newlines/wrapping to be heterogeneous and went with fixing this. If that contradicts any Prettier/convention rule, please let me know.

See #30065 for recent changes here.

@SphinxKnight SphinxKnight requested a review from a team as a code owner November 24, 2023 13:50
@SphinxKnight SphinxKnight requested review from Elchi3 and removed request for a team November 24, 2023 13:50
@github-actions github-actions bot added the Content:WebAPI Web API docs label Nov 24, 2023
Copy link
Contributor

Preview URLs (23 pages)
Flaws (81)

URL: /en-US/docs/Web/API/console
Title: console
Flaw count: 29

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • /en-US/docs/Web/API/Console/assert redirects to /en-US/docs/Web/API/console/assert_static
    • /en-US/docs/Web/API/Console/clear redirects to /en-US/docs/Web/API/console/clear_static
    • /en-US/docs/Web/API/Console/count redirects to /en-US/docs/Web/API/console/count_static
    • /en-US/docs/Web/API/Console/countReset redirects to /en-US/docs/Web/API/console/countreset_static
    • and 24 more flaws omitted

URL: /en-US/docs/Web/API/console/countreset_static
Title: console: countReset() static method
Flaw count: 2

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • /en-US/docs/Web/API/Console/count redirects to /en-US/docs/Web/API/console/count_static

URL: /en-US/docs/Web/API/console/groupcollapsed_static
Title: console: groupCollapsed() static method
Flaw count: 5

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • /en-US/docs/Web/API/Console/group redirects to /en-US/docs/Web/API/console/group_static
    • /en-US/docs/Web/API/Console/groupEnd redirects to /en-US/docs/Web/API/console/groupend_static
    • /en-US/docs/Web/API/Console/group redirects to /en-US/docs/Web/API/console/group_static
    • /en-US/docs/Web/API/Console/groupEnd redirects to /en-US/docs/Web/API/console/groupend_static

URL: /en-US/docs/Web/API/console/table_static
Title: console: table() static method
Flaw count: 1

  • macros:
    • wrong xref macro used (consider changing which macro you use)

URL: /en-US/docs/Web/API/console/log_static
Title: console: log() static method
Flaw count: 1

  • macros:
    • wrong xref macro used (consider changing which macro you use)

URL: /en-US/docs/Web/API/console/clear_static
Title: console: clear() static method
Flaw count: 1

  • macros:
    • wrong xref macro used (consider changing which macro you use)

URL: /en-US/docs/Web/API/console/profileend_static
Title: console: profileEnd() static method
Flaw count: 3

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • /en-US/docs/Web/API/Console/profile redirects to /en-US/docs/Web/API/console/profile_static
    • /en-US/docs/Web/API/Console/profile redirects to /en-US/docs/Web/API/console/profile_static

URL: /en-US/docs/Web/API/console/profile_static
Title: console: profile() static method
Flaw count: 4

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • /en-US/docs/Web/API/Console/profileEnd redirects to /en-US/docs/Web/API/console/profileend_static
    • /en-US/docs/Web/API/Console/profileEnd redirects to /en-US/docs/Web/API/console/profileend_static
    • /en-US/docs/Web/API/Console/profileEnd redirects to /en-US/docs/Web/API/console/profileend_static

URL: /en-US/docs/Web/API/console/assert_static
Title: console: assert() static method
Flaw count: 1

  • macros:
    • wrong xref macro used (consider changing which macro you use)

URL: /en-US/docs/Web/API/console/timelog_static
Title: console: timeLog() static method
Flaw count: 5

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • /en-US/docs/Web/API/Console/time redirects to /en-US/docs/Web/API/console/time_static
    • /en-US/docs/Web/API/Console/time redirects to /en-US/docs/Web/API/console/time_static
    • /en-US/docs/Web/API/Console/time redirects to /en-US/docs/Web/API/console/time_static
    • /en-US/docs/Web/API/Console/timeEnd redirects to /en-US/docs/Web/API/console/timeend_static

URL: /en-US/docs/Web/API/console/warn_static
Title: console: warn() static method
Flaw count: 1

  • macros:
    • wrong xref macro used (consider changing which macro you use)

URL: /en-US/docs/Web/API/console/group_static
Title: console: group() static method
Flaw count: 4

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • /en-US/docs/Web/API/Console/groupEnd redirects to /en-US/docs/Web/API/console/groupend_static
    • /en-US/docs/Web/API/Console/groupEnd redirects to /en-US/docs/Web/API/console/groupend_static
    • /en-US/docs/Web/API/Console/groupCollapsed redirects to /en-US/docs/Web/API/console/groupcollapsed_static

URL: /en-US/docs/Web/API/console/timestamp_static
Title: console: timeStamp() static method
Flaw count: 4

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • /en-US/docs/Web/API/Console/time redirects to /en-US/docs/Web/API/console/time_static
    • /en-US/docs/Web/API/Console/timeLog redirects to /en-US/docs/Web/API/console/timelog_static
    • /en-US/docs/Web/API/Console/timeEnd redirects to /en-US/docs/Web/API/console/timeend_static

URL: /en-US/docs/Web/API/console/dirxml_static
Title: console: dirxml() static method
Flaw count: 1

  • macros:
    • wrong xref macro used (consider changing which macro you use)

URL: /en-US/docs/Web/API/console/trace_static
Title: console: trace() static method
Flaw count: 2

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • /en-US/docs/Web/API/Console/log redirects to /en-US/docs/Web/API/console/log_static

URL: /en-US/docs/Web/API/console/error_static
Title: console: error() static method
Flaw count: 1

  • macros:
    • wrong xref macro used (consider changing which macro you use)

URL: /en-US/docs/Web/API/console/dir_static
Title: console: dir() static method
Flaw count: 1

  • macros:
    • wrong xref macro used (consider changing which macro you use)

URL: /en-US/docs/Web/API/console/groupend_static
Title: console: groupEnd() static method
Flaw count: 3

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • /en-US/docs/Web/API/Console/group redirects to /en-US/docs/Web/API/console/group_static
    • /en-US/docs/Web/API/Console/groupCollapsed redirects to /en-US/docs/Web/API/console/groupcollapsed_static

URL: /en-US/docs/Web/API/console/info_static
Title: console: info() static method
Flaw count: 1

  • macros:
    • wrong xref macro used (consider changing which macro you use)

URL: /en-US/docs/Web/API/console/time_static
Title: console: time() static method
Flaw count: 5

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • /en-US/docs/Web/API/Console/timeEnd redirects to /en-US/docs/Web/API/console/timeend_static
    • /en-US/docs/Web/API/Console/timeEnd redirects to /en-US/docs/Web/API/console/timeend_static
    • /en-US/docs/Web/API/Console/timeEnd redirects to /en-US/docs/Web/API/console/timeend_static
    • /en-US/docs/Web/API/Console/timeLog redirects to /en-US/docs/Web/API/console/timelog_static

URL: /en-US/docs/Web/API/console/debug_static
Title: console: debug() static method
Flaw count: 1

  • macros:
    • wrong xref macro used (consider changing which macro you use)

URL: /en-US/docs/Web/API/console/timeend_static
Title: console: timeEnd() static method
Flaw count: 4

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • /en-US/docs/Web/API/Console/time redirects to /en-US/docs/Web/API/console/time_static
    • /en-US/docs/Web/API/Console/time redirects to /en-US/docs/Web/API/console/time_static
    • /en-US/docs/Web/API/Console/timeLog redirects to /en-US/docs/Web/API/console/timelog_static

URL: /en-US/docs/Web/API/console/count_static
Title: console: count() static method
Flaw count: 1

  • macros:
    • wrong xref macro used (consider changing which macro you use)
External URLs (59)

URL: /en-US/docs/Web/API/console
Title: console


URL: /en-US/docs/Web/API/console/countreset_static
Title: console: countReset() static method


URL: /en-US/docs/Web/API/console/groupcollapsed_static
Title: console: groupCollapsed() static method


URL: /en-US/docs/Web/API/console/table_static
Title: console: table() static method


URL: /en-US/docs/Web/API/console/log_static
Title: console: log() static method


URL: /en-US/docs/Web/API/console/clear_static
Title: console: clear() static method


URL: /en-US/docs/Web/API/console/profile_static
Title: console: profile() static method


URL: /en-US/docs/Web/API/console/assert_static
Title: console: assert() static method


URL: /en-US/docs/Web/API/console/timelog_static
Title: console: timeLog() static method


URL: /en-US/docs/Web/API/console/warn_static
Title: console: warn() static method


URL: /en-US/docs/Web/API/console/group_static
Title: console: group() static method


URL: /en-US/docs/Web/API/console/timestamp_static
Title: console: timeStamp() static method


URL: /en-US/docs/Web/API/console/dirxml_static
Title: console: dirxml() static method


URL: /en-US/docs/Web/API/console/trace_static
Title: console: trace() static method


URL: /en-US/docs/Web/API/console/error_static
Title: console: error() static method


URL: /en-US/docs/Web/API/console/dir_static
Title: console: dir() static method


URL: /en-US/docs/Web/API/console/groupend_static
Title: console: groupEnd() static method


URL: /en-US/docs/Web/API/console/info_static
Title: console: info() static method


URL: /en-US/docs/Web/API/console/time_static
Title: console: time() static method


URL: /en-US/docs/Web/API/console/debug_static
Title: console: debug() static method


URL: /en-US/docs/Web/API/console/timeend_static
Title: console: timeEnd() static method


URL: /en-US/docs/Web/API/console/count_static
Title: console: count() static method

Copy link
Member

@teoli2003 teoli2003 left a comment

Choose a reason for hiding this comment

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

👍

@teoli2003 teoli2003 merged commit 2288418 into mdn:main Nov 24, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:WebAPI Web API docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants