Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
863 commits
Select commit Hold shift + click to select a range
374c8b9
Fix typo in "Range: setEnd() method" (#39368)
gurdiga May 2, 2025
e5c488b
fix word repetition (#39365)
SuggonM May 2, 2025
73c2e22
fix(learn - html - table docs): improve the explanation in section an…
dipikabh May 2, 2025
676e390
Reformat SVGAnimatedTransformList (#39346)
yashrajbharti May 2, 2025
1b2de71
Reformat: SVGComponentTransferFunctionElement (#39348)
yashrajbharti May 2, 2025
a44509f
Reformat SVGGradientElement (#39350)
yashrajbharti May 2, 2025
5f42ab3
Reformat SVGPreserveAspectRatio (#39351)
yashrajbharti May 2, 2025
9e453e8
reformat SVGTextPathElement (#39353)
yashrajbharti May 2, 2025
8046716
Reformat SVGTextContentElement (#39352)
yashrajbharti May 2, 2025
2e39a37
Reformat SVGFE* elements (#39349)
yashrajbharti May 2, 2025
5ac9120
Add `navigator.presentation` example (#39053)
low-perry May 2, 2025
6bed868
fix: auto-cleanup by bot (#39371)
mdn-bot May 3, 2025
63dd9b7
Update InterfaceData based on WebRef (#39372)
mdn-bot May 3, 2025
2cdde96
Fix typo: correct 'With out' to 'Without' (#39386)
lorenzoyang May 4, 2025
43254b2
FF139 ExprFeat: Escape < and > in attributes when serialize HTML (#39…
hamishwillee May 5, 2025
9f02140
Line edit to remove … character (#39389)
DanKaplanSES May 5, 2025
892f5d7
Updates to the HTMLDialogElement.returnValue example (#39340)
wbamberg May 5, 2025
ad05d59
fix: typo in CSS cascade test (#39401)
May 5, 2025
dc3adee
Restore missing reference to column tracks in grid-template-columns e…
eyad-alkhalidy May 5, 2025
7b78b0a
Add missing text (#39403)
AdedejiAdelanwa May 5, 2025
f08854d
fix: Move lang attributes to bdi elements (#39396)
enumura1 May 5, 2025
e632b14
fix(learn): use `inherit` for skills solution in CSS cascade (#39400)
May 5, 2025
fccb20f
Update default useragent stylesheet for view-transition-* (#39402)
skyclouds2001 May 5, 2025
bd9c688
Add `hev1.*`/`hvc1.*`/`avc1.*`/`avc3.*`/`av01.*` mp4 mimetypes for Me…
StaZhu May 5, 2025
628b29f
feat: Replace QuicklinksWithSubPages in PWA section (#39334)
bsmth May 5, 2025
c187421
Unify console output format (#39397)
douglasimcabral May 5, 2025
ade8d87
feat: Replace QuicklinksWithSubPages and ListSubpages in Security sec…
bsmth May 5, 2025
c1061f0
fix: Remove "Initial" log from promise example output (#39407)
hyungjikim May 5, 2025
690504b
fix(pr-review-companion): set `cache-control: no-store` (#39409)
caugner May 5, 2025
9ff4dd0
Bump cspell from 8.19.3 to 9.0.0 (#39408)
dependabot[bot] May 5, 2025
ef82d98
RTCIceCandidateStats - updates to match BCD (#37157)
hamishwillee May 5, 2025
4f20f32
Remove improper comma (#39413)
sacrificialprawn May 6, 2025
f9f6cb5
docs: add `ResourceType.json` (#38305)
seia-soto May 6, 2025
3de8190
Merge Introduction_to_HTML5_Game_Development into Games/Tools (#39410)
Josh-Cena May 6, 2025
c2c2aff
CSS mask-repeat refresh (#39399)
estelle May 6, 2025
c51a62a
remove redundant words (#39417)
familyboat May 6, 2025
ae38259
Synchronize with BCD v6.0.6 (#39144)
OnkarRuikar May 6, 2025
d4af249
CSS properties: mask-mode and mask-type (#39287)
estelle May 6, 2025
188dfae
mask-composite property (#39338)
estelle May 6, 2025
525b006
FF139 ExprFeat: Prioritized Scheduler API in nightly (#39398)
hamishwillee May 6, 2025
7819249
chore: Linking to some MDN pages not linked by parent page (#39420)
bsmth May 7, 2025
e68530d
Replace interactive-examples assets with shared-assets (#39440)
caugner May 7, 2025
ad50355
Docs: Clarify setListener source in insertAdjacentElement example (#3…
istvan-ujjmeszaros May 7, 2025
abd02af
Fix typo (#39435)
K0R0BKIN May 7, 2025
5c89f05
typo and related links (#39421)
estelle May 7, 2025
19895ee
CSS mask-origin property (#39366)
estelle May 7, 2025
cd2020d
Replace favicon assets with shared-assets (#39442)
caugner May 7, 2025
a396b67
Fix firstUIEventTimestamp definition (#39439)
tunetheweb May 7, 2025
a9c0161
chore: link to a11y pages from parent, sidebar fix (#39444)
bsmth May 7, 2025
a2e0414
Remove erroneous line numbers from link to voice-change-o-matic (#39448)
sacrificialprawn May 8, 2025
600382e
Replace OGV video example with shared-assets WebM video (#39452)
thaiscdaraujo May 8, 2025
77707a2
Bump cspell from 9.0.0 to 9.0.1 (#39459)
dependabot[bot] May 8, 2025
55fadd3
mask-size property refresh (#39418)
estelle May 8, 2025
96a940e
Add link to the specific `@import layer()` page (#39446)
dipikabh May 8, 2025
1860b6e
FIX: mask definition (#39458)
estelle May 8, 2025
4bc3d0a
fix(docs): Clarify the distinction between the different container qu…
dipikabh May 8, 2025
81e43a2
Remove experimental status for `selectionchange` event on <input> and…
Zuzu-Typ May 9, 2025
a8c6558
Privacy sandbox APIs - add more standards positions (#39300)
hamishwillee May 9, 2025
76670bf
FF139 ExpFeat - unship (before/after)scriptexecute events (#39392)
hamishwillee May 9, 2025
a61be25
Synchronize with BCD v6.0.12 (#39424)
OnkarRuikar May 9, 2025
4c56b29
Fix <ident> cannot start with a digit (#39427)
liuxuelian May 9, 2025
f6985b3
chore: delete vuln response doc (#39467)
bsmth May 9, 2025
2d9fd58
chore(http): link to unlinked child pages (#39468)
bsmth May 9, 2025
cb7e7fd
Fix typos (#39465)
pulkitgarg04 May 9, 2025
d37026a
chore: link to unlinked child pages (#39469)
bsmth May 9, 2025
4b4b195
css: add 'stretch' value examples (#39451)
OnkarRuikar May 9, 2025
f14efcb
Add links to CSS sidebar (#39445)
dipikabh May 9, 2025
f6838cf
More Error Messages (#39419)
addsoupbase May 10, 2025
dbfd2d4
Fix typos in web audio spatialization basics (#39476)
sacrificialprawn May 11, 2025
96ad637
Add warning against using element IDs as global properties. (#39422)
younisdev May 12, 2025
33e22d8
Fix Circle Collision detection algorithm (#39484)
ragul1697 May 12, 2025
a8b2548
feat(aria): Add short titles, format titles for roles (#39472)
bsmth May 12, 2025
9a45688
Adding @starting-style to CSS nesting at-rules (#39473)
acemir May 12, 2025
e3cad67
CSS: mask-position property description (#39449)
estelle May 12, 2025
ff31fa1
Fix typos (#39481)
Josh-Cena May 12, 2025
324d86d
Add username/password section to URLs guide (#39487)
chrisdavidmills May 12, 2025
736dbe4
Expand Compression Dictionary format description (#39441)
tunetheweb May 13, 2025
ce8b5d6
css(fix): update 'shape()' page (#39454)
OnkarRuikar May 13, 2025
bd6d5e5
Add more documentation for sizes=auto (#39464)
tunetheweb May 13, 2025
b331ab7
Bump markdownlint-cli2 from 0.17.2 to 0.18.0 (#39488)
dependabot[bot] May 13, 2025
2b4f6d0
Correct page title for `Uint8Array.prototype.setFromHex()` (#39494)
dontwanttothink May 13, 2025
be9ba40
chore: Link to child pages in SVG, URI section (#39470)
bsmth May 13, 2025
8a9c514
Add a guide on xs-leaks (#38977)
wbamberg May 13, 2025
123ef40
Content script persistence over update (#39499)
rebloor May 14, 2025
e48bc40
fix: auto-cleanup by bot (#39507)
mdn-bot May 14, 2025
05592fd
Update full screen API example code (#39506)
chuchuva May 14, 2025
e488eba
Enable descriptive-link-text markdown lint rule (#39495)
Josh-Cena May 14, 2025
eaec5c4
Fix links (#39508)
Josh-Cena May 14, 2025
f08eb47
chore(html): tidy up parent-child links (#39510)
bsmth May 14, 2025
049e871
chore(xml/wasm): tidy up parent-child links, fix sidebars (#39511)
bsmth May 14, 2025
40d93a4
Improve soft skills recommendations (#39486)
chrisdavidmills May 14, 2025
1c24dd8
new css guide: css clipping (#39475)
estelle May 14, 2025
d9e11f8
Add links to child pages (#39517)
Josh-Cena May 14, 2025
1a09a1e
Fix Grammar (#39515)
addsoupbase May 14, 2025
21e2b8f
Adjust JS guide IA (#39518)
Josh-Cena May 14, 2025
e9cbf8c
Add missing markdown MIME type documentation (#39522)
pulkitgarg04 May 14, 2025
1b77d85
added links to the supported calendar types (#39471)
dletorey May 14, 2025
ce1dfc4
Guide: intro to masking (#39490)
estelle May 14, 2025
c99b4f2
fix: auto-cleanup by bot (#39528)
mdn-bot May 15, 2025
96f892f
Set Vary header in the Fetch metadata example (#39527)
wbamberg May 15, 2025
ae19392
Grammar Issue with Text #39526 (#39531)
zhirong-zhang May 15, 2025
6711b83
Bump markdownlint-cli2 from 0.18.0 to 0.18.1 (#39536)
dependabot[bot] May 15, 2025
8cd84c4
Bump yaml from 2.7.1 to 2.8.0 (#39535)
dependabot[bot] May 15, 2025
c05ef62
Fix some live samples that use images, remove unused images (#39530)
Josh-Cena May 15, 2025
fa31b6f
Fix typo (#39534)
seppewyns May 15, 2025
dab59ac
chore(css): Convert jsfiddles to live samples (#39521)
bsmth May 15, 2025
e5c6251
Update index.md (#39540)
gtdeng May 15, 2025
fd10488
Update index.md (#39529)
jabcreations May 15, 2025
8ca3258
Edit DOMPoint.fromPoint_static documentation (#39539)
farizadam May 15, 2025
3405572
Deduplicate clipboard event pages (#39485)
Josh-Cena May 15, 2025
d030ae0
Remove reference to ImageData in ImageBitmap docs. (#39537)
mkrautz May 16, 2025
3df2b46
typo (#39544)
estelle May 16, 2025
2b50b00
add "default value" (#39542)
estelle May 16, 2025
15a768b
Fix content issues (#39545)
Josh-Cena May 16, 2025
a86850f
fix(workflows): disable cache in privileged workflows (#39547)
caugner May 16, 2025
9f1de91
Bump lefthook from 1.11.12 to 1.11.13 (#39549)
dependabot[bot] May 16, 2025
0c25999
Add missing "to" in html basics course debugging walkthrough page (#3…
lacrosse1991 May 19, 2025
4c44205
Specify which credientials header value is default (#39559)
DanKaplanSES May 19, 2025
27d5cb7
Fix the fullscreen example (#39525)
wbamberg May 19, 2025
09ca35c
Make insertAdjacentElement example a live example in the page (#39443)
wbamberg May 19, 2025
b052f68
Better page for Response.type (#39541)
wbamberg May 19, 2025
e2d1c90
chore: replace `http://` with `https://` (#39567)
yin1999 May 19, 2025
7ea5e6b
Use consistent naming for quirks/limited-quirks/no-quirks modes (#39558)
mao-sz May 19, 2025
a5d7017
Clarify new optionality of `src` if `srcset` is available. (#39557)
younisdev May 19, 2025
0929c9a
doc[iframe/index.md]: change `Window.showModalDialog()` to `HTMLDialo…
samuel871211 May 19, 2025
570370b
`author` manifest key Chrome clarifications (#39463)
rebloor May 20, 2025
9d28a3e
Update "Specifying a uniform font size for h1" (#39582)
zcorpan May 20, 2025
11da1e1
doc[iframe]: remove `HTMLDialogElement.showModal` from `allow-popups`…
samuel871211 May 20, 2025
2040254
chore(pwa): tidy up parent-child links (#39585)
bsmth May 20, 2025
28b1d2f
Bump cspell from 9.0.1 to 9.0.2 (#39587)
dependabot[bot] May 20, 2025
14e9ec6
Fix typos (#39566)
Masterlincs May 21, 2025
beb523f
Remove references to `showModalDialog()` (#39583)
samuel871211 May 21, 2025
05becee
fix typo (#39596)
familyboat May 21, 2025
1c0262a
align with the usage in WebAssembly.instantiateStreaming() article (#…
familyboat May 21, 2025
09cc618
DataTransfer.files can also be accessed with paste event (#39565)
Masterlincs May 21, 2025
23de228
anchorNode and focusNode can be null (#39456)
gavinmorrow May 21, 2025
3339dd0
Update InterfaceData based on WebRef (#39553)
mdn-bot May 21, 2025
cd16ae6
Match Example "Content-Length" header to body length (#39555)
jackoconnordev May 21, 2025
611edf6
Fix invalid code syntax (#39548)
Josh-Cena May 21, 2025
abe7510
Update index.md for better description for the coordinates. (#39573)
EbereUzodufa May 21, 2025
b114c92
docs(Fx139): Refresh hidden until found, beforematch (#39591)
bsmth May 21, 2025
8401040
Add machine-translated locales to Localization page (#39602)
caugner May 21, 2025
c205725
Bump @mdn/yari from 4.9.1 to 4.10.0 (#39603)
dependabot[bot] May 21, 2025
683890a
Editorial review: Document the Summarizer API (#39263)
chrisdavidmills May 21, 2025
3cc3f79
Content script load order clarification (#39298)
rebloor May 21, 2025
06263fe
Synchronize with BCD v6.0.16 (#39606)
OnkarRuikar May 22, 2025
00c251f
Clarify use of prefers-reduced-motion: reduce in CSS example (#39576)
farizadam May 22, 2025
1f6a862
Correct the description of credentials in the Request interface page …
wbamberg May 22, 2025
2fdcabd
fix: missing newline before WebGL2-specific information (#39607)
ashish0kumar May 22, 2025
f0308e3
Fx139: Firefox/139 release notes (#39600)
bsmth May 22, 2025
a826b51
Add note to clarify that browser AI models may differ (#39609)
chrisdavidmills May 22, 2025
f521806
Bug-1550032 addition of unspecified to webextension.api.cookie.SameSi…
rebloor May 22, 2025
4e55932
Fx140: Add page for Firefox/140 (#39622)
bsmth May 22, 2025
679f146
Reverting release note branches (#39623)
Rumyra May 22, 2025
f752b35
Clean up #addons:mozilla.org room Matrix link (#39502)
janbrasna May 22, 2025
76fad73
[HTTP] Remove Permissions-Policy directive document-domain (#39575)
bershanskiy May 22, 2025
0915a5e
Add 2nd round of Scrimba links to the Learn content (#39577)
chrisdavidmills May 22, 2025
364a4d0
Fix some lint reports (#39625)
Josh-Cena May 23, 2025
bccce51
Lint: more concise regex syntax (#39645)
Josh-Cena May 23, 2025
19e7cdb
Editorial review: Document Translator and Language Detector APIs (#39…
chrisdavidmills May 23, 2025
e6d43da
Lint: improve import/label/comment formatting (#39646)
Josh-Cena May 23, 2025
1eabc08
Lint: use parseInt with a radix (#39644)
Josh-Cena May 23, 2025
373fcd4
Lint: use concise assignment operators (#39643)
Josh-Cena May 23, 2025
4a0413e
Lint: use concise arrows (#39647)
Josh-Cena May 23, 2025
6f1b816
Remove empty learn modules (#39610)
chrisdavidmills May 23, 2025
f2dc3d5
Lint: remove unnecessary if/else/return (#39641)
Josh-Cena May 23, 2025
37e3b0f
Add prose to clarify that the invalid HTML is intentional (#39631)
dipikabh May 23, 2025
3d53de8
Fix linter reports (#39651)
Josh-Cena May 23, 2025
122471f
Add short-title for CSS landing page (#39650)
caugner May 23, 2025
ee756fd
feat(http): Improve header titles, short-titles (#39648)
bsmth May 23, 2025
3ffce2e
Addition of the `webextensions.api.tabGroups` documentation (#39370)
rebloor May 23, 2025
caa4012
Synchronize with BCD v6.0.17 (#39655)
OnkarRuikar May 24, 2025
ca5cf10
Fix typos (#39658)
Rageking8 May 24, 2025
58cc81b
Fix determiner choice with HTML elements (#39660)
Psychpsyo May 24, 2025
590795c
Update InterfaceData based on WebRef (#39654)
mdn-bot May 24, 2025
12222b3
FF139 SVG discard element and api removed - expr feature too (#39636)
hamishwillee May 26, 2025
4f10dde
Remove link to nonexistent page (#39656)
Josh-Cena May 26, 2025
06da984
FF140 Relnote: Notification.maxActions unpublished to nightly (#39640)
hamishwillee May 26, 2025
4069957
doc[sandbox]: remove `HTMLDialogElement.showModal` from `allow-popups…
samuel871211 May 26, 2025
317ebb3
Make String.p.pad{End,Start} articles consistent (#39677)
Josh-Cena May 26, 2025
18ddc28
Improve version control consistentency (#39616)
chrisdavidmills May 26, 2025
aa64464
Update index.md (#39684)
HomyeeKing May 26, 2025
83b07e6
Bump codelytv/pr-size-labeler from 1.10.2 to 1.10.3 (#39686)
dependabot[bot] May 26, 2025
8697d1b
Add the default value indicator in prose (#39626)
dipikabh May 26, 2025
a622c60
fix: typo in options_ui deprecation warning (#39681)
Ma-ve May 26, 2025
a603164
FF140 Relnote - TaskSignal.any() (#39635)
hamishwillee May 26, 2025
24c4fa2
FF140 Relnote: Serializes < and > in attributes (#39638)
hamishwillee May 26, 2025
1809464
FF140 TaskSignal.any() - added to expr feat (#39634)
hamishwillee May 26, 2025
9ec0f8b
FF140 escaping `<` and `>` to `&lt;` and `&gt;` in attributes when se…
hamishwillee May 26, 2025
43d1415
Fix typo (#39691)
K0R0BKIN May 26, 2025
8739174
FF140 Relnote/Expr Atomics.waitAsync() (#39678)
hamishwillee May 26, 2025
b30a619
FF140 Relnote: Cookie Store API (#39676)
hamishwillee May 26, 2025
baa935a
Add a missing backtick at the end of a code element (#39693)
mohammad-kenaan May 26, 2025
5de3378
Add view-transition-class property (#37901)
cssinate May 27, 2025
4a6b0d9
Bump @octokit/rest from 21.1.1 to 22.0.0 (#39687)
dependabot[bot] May 27, 2025
150aeae
Fix typo: Remove a duplicated word (#39699)
eyad-alkhalidy May 27, 2025
1376e18
Array.fromAsync() mapFn does not always have its input awaited (#39690)
Josh-Cena May 27, 2025
4f0ae1e
Remove unused assets in <discard> folder (#39696)
Josh-Cena May 27, 2025
df5d7dd
Replace "blue" with "red" where referring to the hex code #a71e14 (#3…
Chevindu May 27, 2025
0409fef
FF140 Relnote/Expr Feat: Dialog closeBy attribute (#39680)
hamishwillee May 27, 2025
41d8fb5
Atomics.wait()/waitAsync() improvements (#39679)
hamishwillee May 27, 2025
393222b
Add years to external article links (#39701)
estelle May 27, 2025
b5437b7
Lint: prefer for...of loops over plain for loops (#39661)
Josh-Cena May 27, 2025
ffa6f58
Lint: use strict equality, avoid numeric loss of precision (#39667)
Josh-Cena May 27, 2025
2c0f972
Lint: use modern syntax, object shorthand/exponentiation/regex litera…
Josh-Cena May 27, 2025
847f754
Lint: prefer Object.hasOwn, avoid eval (#39668)
Josh-Cena May 27, 2025
cb25e0a
Move punctuation out of code spans, fix bad backticks (#39704)
Josh-Cena May 27, 2025
892eea5
FF139 Relnote - SVG discard removed (#39637)
hamishwillee May 27, 2025
edb16c0
Lint: fix CSS syntax and some antipatterns (#39685)
Josh-Cena May 27, 2025
37710b2
chore(fx): pages missing text before first h2 (#39712)
bsmth May 27, 2025
697e5e3
Use reduce() method to get the total size of Uint8Arrays (#39374)
def00111 May 28, 2025
d641896
fix: auto-cleanup by bot (#39714)
mdn-bot May 28, 2025
b95bad7
Correct variables in console.log (#39713)
mikoMK May 28, 2025
a94222d
chore(http): Update language-detector and translator directives, page…
bsmth May 28, 2025
6d68286
chore(glossary): Use a shorter page title (#39708)
bsmth May 28, 2025
017d2a4
add Forbids value `auto` (#39578)
zhangenming May 28, 2025
d80455b
Update `tl;dr` enum to remove the semicolon (#39716)
tomayac May 28, 2025
3e4f9ff
Update remaining tl;dr enums to tldr (#39718)
chrisdavidmills May 28, 2025
05a220b
chore(fx): Prepare relnotes, 139 now stable (#39717)
bsmth May 28, 2025
a155645
Update Pull Request Template (#39707)
pransh15 May 28, 2025
941ade9
Replace some w3.org/TR links with editor drafts (#39683)
Josh-Cena May 28, 2025
61042ed
Bump @mdn/yari from 4.10.0 to 4.10.1 (#39721)
dependabot[bot] May 28, 2025
f08990e
Update index.md (#39726)
Rossolson May 28, 2025
e92bec8
WebExt: cleanup useless tag of year (#39731)
PassionPenguin May 29, 2025
c6952c0
Update non-standard disclaimer (#38588)
caugner May 29, 2025
7dda25d
Editorial review: Add reading-flow and reading-order docs (#39404)
chrisdavidmills May 29, 2025
8a6d1f1
FF140 pointerrawupdate event - relnote/docs (#39695)
hamishwillee May 30, 2025
828ae6e
Synchronize with BCD v6.0.18 (#39715)
OnkarRuikar May 30, 2025
08d05cd
Add docs for Speculation Rules features: target_hint and clear-site-d…
tunetheweb May 30, 2025
fe7daa1
Add content covering the limitations of <selectedcontent> (#39411)
philipwalton May 30, 2025
14acf1a
Lint: migrate function expressions to arrow functions or declarations…
Josh-Cena May 30, 2025
58fda7e
Fix remaining problems of text stuck to code/link (#39722)
Josh-Cena May 30, 2025
de39ed7
Internalize arc interactive codepen (#39727)
Josh-Cena May 30, 2025
6d20009
Lint: replace string concatenation with template strings, replace una…
Josh-Cena May 30, 2025
bb1ba99
Fix invalid SVG syntax (#39669)
Josh-Cena May 30, 2025
3a85d69
Add MITM guide (#39604)
wbamberg May 30, 2025
f1113cf
Synchronize with BCD v6.0.19 (#39737)
OnkarRuikar May 31, 2025
8d160cd
Clarify rules for rel="noopener" and cross origin (#39675)
Khaspper May 31, 2025
8727d7c
Wrong reference to upgrade-insecure-requests header (#39740)
Railore Jun 1, 2025
86fa532
Update attacks nav (#39736)
wbamberg Jun 2, 2025
5be0cd7
Add constraint for initial value in @property rule (#38321)
twittwer Jun 2, 2025
0145c64
Fix invalid CSS syntax (#39738)
Josh-Cena Jun 2, 2025
fc52eb8
Extract inline script/style into separate CSS/HTML blocks (#39744)
Josh-Cena Jun 2, 2025
295ba1f
Fix spelling, remove unused words (#39749)
Josh-Cena Jun 2, 2025
03ca44d
chore: Change ints to 'number' for ProgressEvent properties (#39574)
bsmth Jun 2, 2025
538bb24
fit-content: explain browser computation (#39730)
kannanwisen Jun 2, 2025
e779eee
Internalize closure example jsfiddle (#39728)
Josh-Cena Jun 2, 2025
3a55ff6
doc: add explanation for multiple `Transfer-Encoding` values (#39496)
samuel871211 Jun 2, 2025
ad2ee21
fix: auto-cleanup by bot (#39752)
mdn-bot Jun 3, 2025
7f038f6
fix typo (#39753)
yin1999 Jun 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
1 change: 0 additions & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@

# Templates and sidebars (rari)
/files/jsondata/L10n-Template.json @mdn/core-dev
/files/sidebars/ @mdn/core-dev

# ============================= CONTROL FILES ============================= #
# The CODEOWNERS file must end with these matches: Any pull request changing
Expand Down
17 changes: 14 additions & 3 deletions .github/PULL_REQUEST_TEMPLATE
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
<!-- 🙌 Thanks for contributing to MDN Web Docs. Adding details below will help us to merge your PR faster. -->

<!-- 📝 For large changes, check our contribution guide:
https://developer.mozilla.org/en-US/docs/MDN/Community/Pull_requests -->

<!-- 🚨 Low-quality, spammy, or disruptive pull requests are moderated heavily.
Severe or repeated violations can result in being banned from contributing.
Make sure you've read and agree to the following:
- Community Participation Guidelines: https://developer.mozilla.org/en-US/docs/MDN/Writing_guidelines
- MDN Content Enforcement Policy: https://developer.mozilla.org/en-US/docs/MDN/Community/Community_Participation_Guidelines -->

<!-- Please complete all sections, especially the Motivation field. If there’s no related issue, explaining why this change is needed helps reviewers understand the context and prioritize your request. Without it, your PR may be delayed or closed. -->

<!-- 👷‍♀️ After submitting, go to the 'Checks' tab of your PR for the build status -->
---

### Description

<!-- ✍️ Summarize your changes in one or two sentences -->
Expand All @@ -17,6 +31,3 @@
<!-- 🔨 If this fully resolves a GitHub issue, use "Fixes #123" -->
<!-- 👉 Highlight related pull requests using "Relates to #123" -->
<!-- ❗ If another pull request should be merged first, use "**Depends on:** #123" -->


<!-- 👷‍♀️ After submitting, go to the "Checks" tab of your PR for the build status -->
1 change: 0 additions & 1 deletion .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ system:
- package.json
- yarn.lock
- .github/**
- .husky/**
- .vscode/**
- .*
- scripts/**
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/auto-cleanup-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,13 @@ jobs:
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: yarn

- name: Install all yarn packages
run: yarn --frozen-lockfile
env:
# https://github.com/microsoft/vscode-ripgrep#github-api-limit-note
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HUSKY: 0
LEFTHOOK: 0

- name: Lint markdown files
run: |
Expand All @@ -47,7 +46,9 @@ jobs:
author: mdn-bot <108879845+mdn-bot@users.noreply.github.com>
committer: mdn-bot <108879845+mdn-bot@users.noreply.github.com>
body: |
All issues auto-fixed
This PR was generated by [this run](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}) of the [`auto-cleanup-bot`](https://github.com/${{ github.repository }}/blob/${{ github.ref_name }}/.github/workflows/auto-cleanup-bot.yml) workflow.

All issues were auto-fixed.
labels: |
automated pr
token: ${{ secrets.AUTOMERGE_TOKEN }}
Expand All @@ -62,8 +63,10 @@ jobs:
author: mdn-bot <108879845+mdn-bot@users.noreply.github.com>
committer: mdn-bot <108879845+mdn-bot@users.noreply.github.com>
body: |
This PR was generated by the [`auto-cleanup-bot`](https://github.com/${{ github.repository }}/blob/${{ github.ref_name }}/.github/workflows/auto-cleanup-bot.yml) workflow.

Auto-fix was run, but additional issues found.
Please review the run log: https://github.com/mdn/content/actions/runs/${{ github.run_id }}
Please review the [run log](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}).
labels: |
automated pr
token: ${{ secrets.AUTOMERGE_TOKEN }}
77 changes: 41 additions & 36 deletions .github/workflows/pr-check-lint_content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
uses: actions/checkout@v4

- name: Get changed files
id: check
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BASE_SHA: ${{ github.event.pull_request.base.sha }}
Expand All @@ -37,17 +38,17 @@ jobs:
--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 "^files/.*\.md$" | xargs)
echo "DIFF_DOCUMENTS=${DIFF_DOCUMENTS}" >> $GITHUB_ENV
echo "DIFF_DOCUMENTS=${DIFF_DOCUMENTS}" >> "$GITHUB_OUTPUT"

- name: Checkout HEAD
if: env.DIFF_DOCUMENTS
if: steps.check.outputs.DIFF_DOCUMENTS
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
path: pr_head

- name: Get changed content from HEAD
if: env.DIFF_DOCUMENTS
if: steps.check.outputs.DIFF_DOCUMENTS
run: |
git config --global user.email "108879845+mdn-bot@users.noreply.github.com"
git config --global user.name "mdn-bot"
Expand All @@ -63,21 +64,24 @@ jobs:
git commit -m "Code from PR head"

- name: Setup Node.js environment
if: env.DIFF_DOCUMENTS
if: steps.check.outputs.DIFF_DOCUMENTS
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: yarn

- name: Install all yarn packages
if: env.DIFF_DOCUMENTS
if: steps.check.outputs.DIFF_DOCUMENTS
run: yarn --frozen-lockfile
env:
# https://github.com/microsoft/vscode-ripgrep#github-api-limit-note
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Lint and format markdown files
if: env.DIFF_DOCUMENTS
id: lint
if: steps.check.outputs.DIFF_DOCUMENTS
env:
DIFF_DOCUMENTS: ${{ steps.check.outputs.DIFF_DOCUMENTS }}
run: |
# Generate random delimiter
# https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#multiline-strings
Expand All @@ -88,38 +92,38 @@ jobs:
echo "crlf line ending check"
CRLF_FAILED=true
CRLF_LOG=$(git ls-files --eol ${files_to_lint} | grep -E 'w/(mixed|crlf)') || CRLF_FAILED=false
echo "CRLF_LOG<<${EOF}" >> $GITHUB_ENV
echo "${CRLF_LOG}" >> $GITHUB_ENV
echo "${EOF}" >> $GITHUB_ENV
echo "CRLF_FAILED=${CRLF_FAILED}" >> $GITHUB_ENV
echo "CRLF_LOG<<${EOF}" >> "$GITHUB_OUTPUT"
echo "${CRLF_LOG}" >> "$GITHUB_OUTPUT"
echo "${EOF}" >> "$GITHUB_OUTPUT"
echo "CRLF_FAILED=${CRLF_FAILED}" >> "$GITHUB_OUTPUT"

echo "Running markdownlint --fix"
MD_LINT_FAILED=false
MD_LINT_LOG=$(yarn markdownlint-cli2 --fix ${files_to_lint} 2>&1) || MD_LINT_FAILED=true
echo "MD_LINT_LOG<<${EOF}" >> $GITHUB_ENV
echo "${MD_LINT_LOG}" >> $GITHUB_ENV
echo "${EOF}" >> $GITHUB_ENV
echo "MD_LINT_FAILED=${MD_LINT_FAILED}" >> $GITHUB_ENV
echo "MD_LINT_LOG<<${EOF}" >> "$GITHUB_OUTPUT"
echo "${MD_LINT_LOG}" >> "$GITHUB_OUTPUT"
echo "${EOF}" >> "$GITHUB_OUTPUT"
echo "MD_LINT_FAILED=${MD_LINT_FAILED}" >> "$GITHUB_OUTPUT"

echo "Linting front-matter"
FM_LINT_FAILED=false
FM_LINT_LOG=$(node scripts/front-matter_linter.js --fix true ${files_to_lint} 2>&1) || FM_LINT_FAILED=true
echo "FM_LINT_LOG<<${EOF}" >> $GITHUB_ENV
echo "${FM_LINT_LOG}" >> $GITHUB_ENV
echo "${EOF}" >> $GITHUB_ENV
echo "FM_LINT_FAILED=${FM_LINT_FAILED}" >> $GITHUB_ENV
echo "FM_LINT_LOG<<${EOF}" >> "$GITHUB_OUTPUT"
echo "${FM_LINT_LOG}" >> "$GITHUB_OUTPUT"
echo "${EOF}" >> "$GITHUB_OUTPUT"
echo "FM_LINT_FAILED=${FM_LINT_FAILED}" >> "$GITHUB_OUTPUT"

echo "Running Prettier"
PRETTIER_FAILED=false
PRETTIER_LOG=$(yarn prettier --check ${files_to_lint} 2>&1) || PRETTIER_FAILED=true
echo "PRETTIER_LOG<<${EOF}" >> $GITHUB_ENV
echo "${PRETTIER_LOG}" >> $GITHUB_ENV
echo "${EOF}" >> $GITHUB_ENV
echo "PRETTIER_FAILED=${PRETTIER_FAILED}" >> $GITHUB_ENV
echo "PRETTIER_LOG<<${EOF}" >> "$GITHUB_OUTPUT"
echo "${PRETTIER_LOG}" >> "$GITHUB_OUTPUT"
echo "${EOF}" >> "$GITHUB_OUTPUT"
echo "PRETTIER_FAILED=${PRETTIER_FAILED}" >> "$GITHUB_OUTPUT"
yarn prettier -w ${files_to_lint}

if [[ -n $(git diff) ]]; then
echo "FILES_MODIFIED=true" >> $GITHUB_ENV
echo "FILES_MODIFIED=true" >> "$GITHUB_OUTPUT"
fi

# info for troubleshooting
Expand All @@ -130,13 +134,13 @@ jobs:
git diff

- name: Setup reviewdog
if: env.FILES_MODIFIED == 'true' || env.MD_LINT_FAILED == 'true'
uses: reviewdog/action-setup@3f401fe1d58fe77e10d665ab713057375e39b887 # v1.3.0
if: steps.lint.outputs.FILES_MODIFIED == 'true' || steps.lint.outputs.MD_LINT_FAILED == 'true'
uses: reviewdog/action-setup@e04ffabe3898a0af8d0fb1af00c188831c4b5893 # v1.3.2
with:
reviewdog_version: latest

- name: Suggest changes using diff
if: env.FILES_MODIFIED == 'true'
if: steps.lint.outputs.FILES_MODIFIED == 'true'
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
Expand All @@ -151,8 +155,9 @@ jobs:
-reporter=github-pr-review < "${TMPFILE}"

- name: Add reviews for markdownlint errors
if: env.MD_LINT_FAILED == 'true'
if: steps.lint.outputs.MD_LINT_FAILED == 'true'
env:
MD_LINT_LOG: ${{ steps.lint.outputs.MD_LINT_LOG }}
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
echo "${MD_LINT_LOG}" | \
Expand All @@ -164,16 +169,16 @@ jobs:
-reporter="github-pr-review"

- name: Fail if any issues pending
if: env.FILES_MODIFIED == 'true' || env.CRLF_FAILED == 'true' || env.MD_LINT_FAILED == 'true' || env.FM_LINT_FAILED == 'true'
if: steps.lint.outputs.FILES_MODIFIED == 'true' || steps.lint.outputs.CRLF_FAILED == 'true' || steps.lint.outputs.MD_LINT_FAILED == 'true' || steps.lint.outputs.FM_LINT_FAILED == 'true'
env:
CRLF_FAILED: ${{ env.CRLF_FAILED }}
MD_LINT_FAILED: ${{ env.MD_LINT_FAILED }}
FM_LINT_FAILED: ${{ env.FM_LINT_FAILED }}
PRETTIER_FAILED: ${{ env.PRETTIER_FAILED }}
CRLF_LOG: ${{ env.CRLF_LOG }}
MD_LINT_LOG: ${{ env.MD_LINT_LOG }}
FM_LINT_LOG: ${{ env.FM_LINT_LOG }}
PRETTIER_LOG: ${{ env.PRETTIER_LOG }}
CRLF_FAILED: ${{ steps.lint.outputs.CRLF_FAILED }}
MD_LINT_FAILED: ${{ steps.lint.outputs.MD_LINT_FAILED }}
FM_LINT_FAILED: ${{ steps.lint.outputs.FM_LINT_FAILED }}
PRETTIER_FAILED: ${{ steps.lint.outputs.PRETTIER_FAILED }}
CRLF_LOG: ${{ steps.lint.outputs.CRLF_LOG }}
MD_LINT_LOG: ${{ steps.lint.outputs.MD_LINT_LOG }}
FM_LINT_LOG: ${{ steps.lint.outputs.FM_LINT_LOG }}
PRETTIER_LOG: ${{ steps.lint.outputs.PRETTIER_LOG }}
run: |
echo -e "\nPlease fix all the linting issues mentioned in the following logs and in the PR review comments."

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
name: Label by size
runs-on: ubuntu-latest
steps:
- uses: codelytv/pr-size-labeler@1c3422395d899286d5ee2c809fd5aed264d5eb9b # v1.10.2
- uses: codelytv/pr-size-labeler@4ec67706cd878fbc1c8db0a5dcd28b6bb412e85a # v1.10.3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
github_api_url: "https://api.github.com"
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/pr-rebase-needed.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "PR Needs Rebase"
name: "PR conflicts"

on:
push:
Expand All @@ -9,8 +9,12 @@ permissions:
# Label pull requests.
pull-requests: write

concurrency:
group: pr-rebase-needed-${{ github.event.pull_request.number }}
cancel-in-progress: true

jobs:
label-rebase-needed:
labeler:
uses: mdn/workflows/.github/workflows/pr-rebase-needed.yml@main
with:
target-repo: "mdn/content"
Expand Down
Loading