Skip to content

Commit

Permalink
Merge branch 'main' into documentpictureinpicture
Browse files Browse the repository at this point in the history
  • Loading branch information
skyclouds2001 authored Oct 8, 2024
2 parents 4a0beca + 7259a7d commit ee6e7c3
Show file tree
Hide file tree
Showing 1,132 changed files with 20,852 additions and 7,588 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pr-check-lint_content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: |
# Use the GitHub API to get the list of changed files
# documentation: https://docs.github.com/rest/commits/commits#compare-two-commits
DIFF_DOCUMENTS=$(gh api repos/{owner}/{repo}/compare/${{ env.BASE_SHA }}...${{ env.HEAD_SHA }} \
DIFF_DOCUMENTS=$(gh api repos/{owner}/{repo}/compare/${BASE_SHA}...${HEAD_SHA} \
--jq '.files | .[] | select(.status|IN("added", "modified", "renamed", "copied", "changed")) | .filename')
# filter out files that are not markdown
DIFF_DOCUMENTS=$(echo "${DIFF_DOCUMENTS}" | egrep -i ".*\.md$" | xargs)
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
# https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#multiline-strings
EOF="$(openssl rand -hex 8)"
files_to_lint="${{ env.DIFF_DOCUMENTS }}"
files_to_lint="${DIFF_DOCUMENTS}"
echo "Running markdownlint --fix"
MD_LINT_FAILED=false
Expand Down Expand Up @@ -160,7 +160,7 @@ jobs:
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
echo "${{ env.MD_LINT_LOG }}" | \
echo "${MD_LINT_LOG}" | \
reviewdog \
-efm="%f:%l:%c %m" \
-efm="%f:%l %m" \
Expand All @@ -172,8 +172,8 @@ jobs:
if: env.FILES_MODIFIED == 'true' || env.MD_LINT_FAILED == 'true' || env.FM_LINT_FAILED == 'true'
run: |
echo -e "\nLogs from markdownlint:"
echo "${{ env.MD_LINT_LOG }}"
echo "${MD_LINT_LOG}"
echo -e "\nLogs from front-matter linter:"
echo "${{ env.FM_LINT_LOG }}"
echo "${FM_LINT_LOG}"
echo -e "\nPlease fix all the linting issues mentioned in above logs and in the review comments."
exit 1
20 changes: 10 additions & 10 deletions .github/workflows/pr-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
run: |
# Use the GitHub API to get the list of changed files
# documentation: https://docs.github.com/rest/commits/commits#compare-two-commits
DIFF_DOCUMENTS=$(gh api repos/{owner}/{repo}/compare/${{ env.BASE_SHA }}...${{ env.HEAD_SHA }} \
DIFF_DOCUMENTS=$(gh api repos/{owner}/{repo}/compare/${BASE_SHA}...${HEAD_SHA} \
--jq '.files | .[] | select(.status|IN("added", "modified", "renamed", "copied", "changed")) | .filename')
# filter out files that are not markdown files
Expand Down Expand Up @@ -112,23 +112,23 @@ jobs:

working-directory: ${{ github.workspace }}/mdn/content
run: |
mkdir -p ${{ env.BUILD_OUT_ROOT }}
mkdir -p ${BUILD_OUT_ROOT}
# Don't use `yarn build` (from mdn/content) because that one hardcodes
# the BUILD_OUT_ROOT and CONTENT_ROOT env vars.
node node_modules/@mdn/yari/build/cli.js ${{ env.GIT_DIFF_CONTENT }}
node node_modules/@mdn/yari/build/cli.js ${GIT_DIFF_CONTENT}
echo "Disk usage size of build"
du -sh ${{ env.BUILD_OUT_ROOT }}
du -sh ${BUILD_OUT_ROOT}
# Save the PR number into the build
echo ${{ github.event.number }} > ${{ env.BUILD_OUT_ROOT }}/NR
echo ${{ github.event.number }} > ${BUILD_OUT_ROOT}/NR
# Download the raw diff blob and store that inside the build
# directory.
# The purpose of this is for the PR Review Companion to later
# be able to use this raw diff file for the benefit of analyzing.
wget https://github.com/${{ github.repository }}/compare/${{ env.BASE_SHA }}...${{ env.HEAD_SHA }}.diff -O ${{ env.BUILD_OUT_ROOT }}/DIFF
wget https://github.com/${{ github.repository }}/compare/${BASE_SHA}...${HEAD_SHA}.diff -O ${BUILD_OUT_ROOT}/DIFF
# Set the output variable so the next job could skip if there are no assets
echo "has_assets=true" >> "$GITHUB_OUTPUT"
Expand All @@ -137,9 +137,9 @@ jobs:
if: ${{ env.GIT_DIFF_CONTENT }}
run: |
# Exclude the .map files, as they're used for debugging JS and CSS.
rsync -a --exclude "*.map" ${{ github.workspace }}/mdn/content/node_modules/@mdn/yari/client/build/ ${{ env.BUILD_OUT_ROOT }}
rsync -a --exclude "*.map" ${{ github.workspace }}/mdn/content/node_modules/@mdn/yari/client/build/ ${BUILD_OUT_ROOT}
# Show the final disk usage size of the build.
du -sh ${{ env.BUILD_OUT_ROOT }}
du -sh ${BUILD_OUT_ROOT}
- uses: actions/upload-artifact@v4
if: ${{ env.GIT_DIFF_CONTENT }}
Expand All @@ -154,9 +154,9 @@ jobs:
CONTENT_TRANSLATED_ROOT: ${{ github.workspace }}/files
working-directory: ${{ github.workspace }}/mdn/content
run: |
echo ${{ env.GIT_DIFF_FILES }}
echo ${GIT_DIFF_FILES}
yarn filecheck ${{ env.GIT_DIFF_FILES }}
yarn filecheck ${GIT_DIFF_FILES}
review:
needs: tests
Expand Down
33 changes: 21 additions & 12 deletions files/es/_redirects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1721,10 +1721,10 @@
/es/docs/Web/API/WebSockets_API/Escribiendo_servidor_WebSocket /es/docs/Web/API/WebSockets_API/Writing_WebSocket_server
/es/docs/Web/API/WebSockets_API/Escribiendo_servidores_con_WebSocket /es/docs/Web/API/WebSockets_API/Writing_WebSocket_servers
/es/docs/Web/API/Web_Speech_API/Uso_de_la_Web_Speech_API /es/docs/Web/API/Web_Speech_API/Using_the_Web_Speech_API
/es/docs/Web/API/Window.clearTimeout /es/docs/Web/API/clearTimeout
/es/docs/Web/API/Window.clearTimeout /es/docs/Web/API/Window/clearTimeout
/es/docs/Web/API/Window.navigator /es/docs/Web/API/Window/navigator
/es/docs/Web/API/Window.onbeforeunload /es/docs/Web/API/Window/beforeunload_event
/es/docs/Web/API/Window.setTimeout /es/docs/Web/API/setTimeout
/es/docs/Web/API/Window.setTimeout /es/docs/Web/API/Window/setTimeout
/es/docs/Web/API/Window/applicationCache /es/docs/orphaned/Web/API/Window/applicationCache
/es/docs/Web/API/Window/dialogArguments /es/docs/orphaned/Web/API/Window/dialogArguments
/es/docs/Web/API/WindowBase64.atob /es/docs/Web/API/Window/atob
Expand All @@ -1736,25 +1736,27 @@
/es/docs/Web/API/WindowEventHandlers/onpopstate /es/docs/Web/API/Window/popstate_event
/es/docs/Web/API/WindowOrWorkerGlobalScope/atob /es/docs/Web/API/Window/atob
/es/docs/Web/API/WindowOrWorkerGlobalScope/caches /es/docs/Web/API/Window/caches
/es/docs/Web/API/WindowOrWorkerGlobalScope/clearInterval /es/docs/Web/API/clearInterval
/es/docs/Web/API/WindowOrWorkerGlobalScope/clearTimeout /es/docs/Web/API/clearTimeout
/es/docs/Web/API/WindowOrWorkerGlobalScope/createImageBitmap /es/docs/Web/API/createImageBitmap
/es/docs/Web/API/WindowOrWorkerGlobalScope/clearInterval /es/docs/Web/API/Window/clearInterval
/es/docs/Web/API/WindowOrWorkerGlobalScope/clearTimeout /es/docs/Web/API/Window/clearTimeout
/es/docs/Web/API/WindowOrWorkerGlobalScope/createImageBitmap /es/docs/Web/API/Window/createImageBitmap
/es/docs/Web/API/WindowOrWorkerGlobalScope/fetch /es/docs/Web/API/Window/fetch
/es/docs/Web/API/WindowOrWorkerGlobalScope/indexedDB /es/docs/Web/API/Window/indexedDB
/es/docs/Web/API/WindowOrWorkerGlobalScope/isSecureContext /es/docs/Web/API/Window/isSecureContext
/es/docs/Web/API/WindowOrWorkerGlobalScope/setInterval /es/docs/Web/API/setInterval
/es/docs/Web/API/WindowOrWorkerGlobalScope/setTimeout /es/docs/Web/API/setTimeout
/es/docs/Web/API/WindowTimers/clearInterval /es/docs/Web/API/clearInterval
/es/docs/Web/API/WindowTimers/clearTimeout /es/docs/Web/API/clearTimeout
/es/docs/Web/API/WindowTimers/setInterval /es/docs/Web/API/setInterval
/es/docs/Web/API/WindowTimers/setTimeout /es/docs/Web/API/setTimeout
/es/docs/Web/API/WindowOrWorkerGlobalScope/setInterval /es/docs/Web/API/Window/setInterval
/es/docs/Web/API/WindowOrWorkerGlobalScope/setTimeout /es/docs/Web/API/Window/setTimeout
/es/docs/Web/API/WindowTimers/clearInterval /es/docs/Web/API/Window/clearInterval
/es/docs/Web/API/WindowTimers/clearTimeout /es/docs/Web/API/Window/clearTimeout
/es/docs/Web/API/WindowTimers/setInterval /es/docs/Web/API/Window/setInterval
/es/docs/Web/API/WindowTimers/setTimeout /es/docs/Web/API/Window/setTimeout
/es/docs/Web/API/XMLDocument/async /es/docs/Web/API/XMLDocument
/es/docs/Web/API/XMLHttpRequest/FormData /es/docs/Web/API/FormData
/es/docs/Web/API/XMLHttpRequest/Using_XMLHttpRequest /es/docs/Web/API/XMLHttpRequest_API/Using_XMLHttpRequest
/es/docs/Web/API/XMLHttpRequest/onreadystatechange /es/docs/Web/API/XMLHttpRequest/readystatechange_event
/es/docs/Web/API/atob /es/docs/Web/API/Window/atob
/es/docs/Web/API/btoa /es/docs/Web/API/Window/btoa
/es/docs/Web/API/caches /es/docs/Web/API/Window/caches
/es/docs/Web/API/clearInterval /es/docs/Web/API/Window/clearInterval
/es/docs/Web/API/clearTimeout /es/docs/Web/API/Window/clearTimeout
/es/docs/Web/API/console/assert /es/docs/Web/API/console/assert_static
/es/docs/Web/API/console/count /es/docs/Web/API/console/count_static
/es/docs/Web/API/console/dir /es/docs/Web/API/console/dir_static
Expand All @@ -1767,12 +1769,15 @@
/es/docs/Web/API/console/timeEnd /es/docs/Web/API/console/timeEnd_static
/es/docs/Web/API/console/trace /es/docs/Web/API/console/trace_static
/es/docs/Web/API/console/warn /es/docs/Web/API/console/warn_static
/es/docs/Web/API/createImageBitmap /es/docs/Web/API/Window/createImageBitmap
/es/docs/Web/API/crypto_property /es/docs/Web/API/Window/crypto
/es/docs/Web/API/event.defaultPrevented /es/docs/Web/API/Event/defaultPrevented
/es/docs/Web/API/event.which /es/docs/Web/API/UIEvent/which
/es/docs/Web/API/fetch /es/docs/Web/API/Window/fetch
/es/docs/Web/API/indexedDB /es/docs/Web/API/Window/indexedDB
/es/docs/Web/API/isSecureContext /es/docs/Web/API/Window/isSecureContext
/es/docs/Web/API/setInterval /es/docs/Web/API/Window/setInterval
/es/docs/Web/API/setTimeout /es/docs/Web/API/Window/setTimeout
/es/docs/Web/Accesibilidad /es/docs/Web/Accessibility
/es/docs/Web/Accesibilidad/Comunidad /es/docs/conflicting/Web/Accessibility
/es/docs/Web/Accesibilidad/Understanding_WCAG /es/docs/Web/Accessibility/Understanding_WCAG
Expand Down Expand Up @@ -2199,13 +2204,17 @@
/es/docs/Web/HTML/microformatos /es/docs/Web/HTML/microformats
/es/docs/Web/HTML/Índice /es/docs/Web/HTML
/es/docs/Web/HTTP/Access_control_CORS /es/docs/Web/HTTP/CORS
/es/docs/Web/HTTP/Basics_of_HTTP /es/docs/conflicting/Web/HTTP
/es/docs/Web/HTTP/Basics_of_HTTP/Choosing_between_www_and_non-www_URLs /es/docs/Web/URI/Authority/Choosing_between_www_and_non-www_URLs
/es/docs/Web/HTTP/Basics_of_HTTP/Data_URIs /es/docs/Web/URI/Schemes/data
/es/docs/Web/HTTP/Basics_of_HTTP/Data_URLs /es/docs/Web/URI/Schemes/data
/es/docs/Web/HTTP/Basics_of_HTTP/Datos_URIs /es/docs/Web/URI/Schemes/data
/es/docs/Web/HTTP/Basics_of_HTTP/Evolution_of_HTTP /es/docs/Web/HTTP/Evolution_of_HTTP
/es/docs/Web/HTTP/Basics_of_HTTP/Identificación_recursos_en_la_Web /es/docs/orphaned/Web/HTTP/Basics_of_HTTP/Identifying_resources_on_the_Web
/es/docs/Web/HTTP/Basics_of_HTTP/Identifying_resources_on_the_Web /es/docs/orphaned/Web/HTTP/Basics_of_HTTP/Identifying_resources_on_the_Web
/es/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Lista_completa_de_tipos_MIME /es/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types
/es/docs/Web/HTTP/Basics_of_HTTP/MIME_types /es/docs/Web/HTTP/MIME_types
/es/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types /es/docs/Web/HTTP/MIME_types/Common_types
/es/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Lista_completa_de_tipos_MIME /es/docs/Web/HTTP/MIME_types/Common_types
/es/docs/Web/HTTP/Gestion_de_la_conexion_en_HTTP_1.x /es/docs/Web/HTTP/Connection_management_in_HTTP_1.x
/es/docs/Web/HTTP/Peticiones_condicionales /es/docs/Web/HTTP/Conditional_requests
/es/docs/Web/HTTP/Sesión /es/docs/Web/HTTP/Session
Expand Down
110 changes: 55 additions & 55 deletions files/es/_wikihistory.json
Original file line number Diff line number Diff line change
Expand Up @@ -5460,6 +5460,14 @@
"modified": "2019-03-23T22:30:46.211Z",
"contributors": ["khrizenriquez"]
},
"Web/API/Window/clearInterval": {
"modified": "2019-03-23T22:56:16.485Z",
"contributors": ["Guitxo"]
},
"Web/API/Window/clearTimeout": {
"modified": "2019-06-18T10:20:27.972Z",
"contributors": ["AlePerez92", "fscholz", "basemnassar11", "VictorArias"]
},
"Web/API/Window/close": {
"modified": "2020-10-15T21:37:07.614Z",
"contributors": ["SphinxKnight", "dgrizzla", "Siro_Diaz"]
Expand All @@ -5472,6 +5480,10 @@
"modified": "2019-03-23T22:45:47.266Z",
"contributors": ["julian3xl"]
},
"Web/API/Window/createImageBitmap": {
"modified": "2020-10-15T22:14:17.553Z",
"contributors": ["Bumxu"]
},
"Web/API/Window/crypto": {
"modified": "2020-02-12T20:26:38.795Z",
"contributors": ["joseluisq", "AlePerez92", "victorjavierss"]
Expand Down Expand Up @@ -5635,6 +5647,21 @@
"modified": "2019-03-23T22:57:50.655Z",
"contributors": ["svera", "pedromagnus", "develasquez"]
},
"Web/API/Window/setInterval": {
"modified": "2020-08-24T18:02:23.092Z",
"contributors": ["mastertrooper", "Makinita", "Klius", "claudionebbia"]
},
"Web/API/Window/setTimeout": {
"modified": "2019-03-23T23:17:29.378Z",
"contributors": [
"BubuAnabelas",
"vltamara",
"nauj27",
"fscholz",
"AshfaqHossain",
"VictorArias"
]
},
"Web/API/Window/showModalDialog": {
"modified": "2019-03-18T20:58:55.311Z",
"contributors": ["SphinxKnight", "BubuAnabelas", "Grijander81"]
Expand Down Expand Up @@ -5707,14 +5734,6 @@
"inma_610"
]
},
"Web/API/clearInterval": {
"modified": "2019-03-23T22:56:16.485Z",
"contributors": ["Guitxo"]
},
"Web/API/clearTimeout": {
"modified": "2019-06-18T10:20:27.972Z",
"contributors": ["AlePerez92", "fscholz", "basemnassar11", "VictorArias"]
},
"Web/API/console": {
"modified": "2019-08-30T08:42:12.082Z",
"contributors": ["ajuanjojjj", "fcanellas", "vlguerrero", "chrisdavidmills"]
Expand Down Expand Up @@ -5767,10 +5786,6 @@
"modified": "2020-10-15T21:53:36.780Z",
"contributors": ["juanluisrp", "oderflaj"]
},
"Web/API/createImageBitmap": {
"modified": "2020-10-15T22:14:17.553Z",
"contributors": ["Bumxu"]
},
"Web/API/notification/icon": {
"modified": "2019-03-23T22:59:32.492Z",
"contributors": ["joxhker"]
Expand All @@ -5783,21 +5798,6 @@
"modified": "2019-03-23T22:50:37.341Z",
"contributors": ["MarkelCuesta", "jezdez", "Davdriver"]
},
"Web/API/setInterval": {
"modified": "2020-08-24T18:02:23.092Z",
"contributors": ["mastertrooper", "Makinita", "Klius", "claudionebbia"]
},
"Web/API/setTimeout": {
"modified": "2019-03-23T23:17:29.378Z",
"contributors": [
"BubuAnabelas",
"vltamara",
"nauj27",
"fscholz",
"AshfaqHossain",
"VictorArias"
]
},
"Web/Accessibility": {
"modified": "2020-09-22T14:24:03.363Z",
"contributors": [
Expand Down Expand Up @@ -9415,34 +9415,6 @@
"DavidPeniafiel"
]
},
"Web/HTTP/Basics_of_HTTP": {
"modified": "2020-04-20T02:59:31.392Z",
"contributors": [
"obed3113",
"sanxofon",
"Sergio_Gonzalez_Collado",
"cissoid"
]
},
"Web/HTTP/Basics_of_HTTP/Evolution_of_HTTP": {
"modified": "2019-03-23T22:10:11.567Z",
"contributors": ["Sergio_Gonzalez_Collado", "ChrisMHM"]
},
"Web/HTTP/Basics_of_HTTP/MIME_types": {
"modified": "2019-11-18T08:03:54.325Z",
"contributors": [
"IsaacAaron",
"sanxofon",
"Sergio_Gonzalez_Collado",
"kevinmont",
"juanrarodriguez18",
"strattadb"
]
},
"Web/HTTP/Basics_of_HTTP/MIME_types/Common_types": {
"modified": "2020-02-28T13:10:45.613Z",
"contributors": ["chrisdavidmills", "sanxofon", "franklevel", "gabrielnoe"]
},
"Web/HTTP/CORS": {
"modified": "2020-08-10T16:23:20.546Z",
"contributors": [
Expand Down Expand Up @@ -9521,6 +9493,10 @@
"omertafox"
]
},
"Web/HTTP/Evolution_of_HTTP": {
"modified": "2019-03-23T22:10:11.567Z",
"contributors": ["Sergio_Gonzalez_Collado", "ChrisMHM"]
},
"Web/HTTP/Headers": {
"modified": "2019-12-10T13:29:15.931Z",
"contributors": [
Expand Down Expand Up @@ -9719,6 +9695,21 @@
"modified": "2020-10-15T21:59:06.897Z",
"contributors": ["JulioMoreyra", "francinysalles", "tonialfaro"]
},
"Web/HTTP/MIME_types": {
"modified": "2019-11-18T08:03:54.325Z",
"contributors": [
"IsaacAaron",
"sanxofon",
"Sergio_Gonzalez_Collado",
"kevinmont",
"juanrarodriguez18",
"strattadb"
]
},
"Web/HTTP/MIME_types/Common_types": {
"modified": "2020-02-28T13:10:45.613Z",
"contributors": ["chrisdavidmills", "sanxofon", "franklevel", "gabrielnoe"]
},
"Web/HTTP/Messages": {
"modified": "2019-11-12T11:40:26.816Z",
"contributors": [
Expand Down Expand Up @@ -14288,6 +14279,15 @@
"Nukeador"
]
},
"conflicting/Web/HTTP": {
"modified": "2020-04-20T02:59:31.392Z",
"contributors": [
"obed3113",
"sanxofon",
"Sergio_Gonzalez_Collado",
"cissoid"
]
},
"conflicting/Web/HTTP/Basics_of_HTTP/MIME_types": {
"modified": "2019-01-16T15:43:53.805Z",
"contributors": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Conceptos básicos de HTTP
slug: Web/HTTP/Basics_of_HTTP
slug: conflicting/Web/HTTP
original_slug: Web/HTTP/Basics_of_HTTP
---

{{HTTPSidebar}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ Obtén más información sobre la consola de JavaScript en diferentes navegadore
- [Consola Web de Firefox.](/es/docs/Tools/Web_Console)
- [Consola de JavaScript Edge.](https://docs.microsoft.com/es-es/microsoft-edge/devtools-guide-chromium)
- [Consola JavaScript de Chrome.](https://developer.chrome.com/devtools/docs/console) (el inspector de Opera funciona de la misma manera)
- [Consola JavaScript de Chrome.](https://developer.chrome.com/docs/devtools/console/) (el inspector de Opera funciona de la misma manera)
- [Consola en Safari.](https://developer.apple.com/library/safari/documentation/AppleApplications/Conceptual/Safari_Developer_Guide/Console/Console.html#//apple_ref/doc/uid/TP40007874-CH6-SW1)
## Ve también
Expand Down
Loading

0 comments on commit ee6e7c3

Please sign in to comment.