Skip to content

Commit

Permalink
Add page-type entries to Mozilla/Firefox (#27720)
Browse files Browse the repository at this point in the history
* Add page-type entries to Mozilla/Firefox

* Apply suggestions from code review

* add link to generic page types

---------

Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
  • Loading branch information
teoli2003 and hamishwillee authored Jul 4, 2023
1 parent 99668ae commit 7f74644
Show file tree
Hide file tree
Showing 155 changed files with 185 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@ This section lists `page-type` values for pages under [Learn](/en-US/docs/Learn)

### Accessibility page types

This section lists `page-type` values for pages under [Web/Accessibility](/en-US/docs/Web/Accessibility). Every page in that part of the tree must have a `page-type`, and its value must be one of those listed below or one of the generic page type values.
This section lists `page-type` values for pages under [Web/Accessibility](/en-US/docs/Web/Accessibility). Every page in that part of the tree must have a `page-type`, and its value must be one of those listed below or one of the [generic page type](#generic_page_types) values.

- `aria-role`: an ARIA [role](/en-US/docs/Web/Accessibility/ARIA/Roles), like [`section`](/en-US/docs/Web/Accessibility/ARIA/Roles/section_role).
- `aria-attribute`: an ARIA [attribute](eb/Accessibility/ARIA/Attributes), like [`aria-sort`](/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-sort).

### CSS page types

This section lists `page-type` values for pages under [Web/CSS](/en-US/docs/Web/CSS). Every page in that part of the tree must have a `page-type`, and its value must be one of those listed below or one of the generic page type values.
This section lists `page-type` values for pages under [Web/CSS](/en-US/docs/Web/CSS). Every page in that part of the tree must have a `page-type`, and its value must be one of those listed below or one of the [generic page type](#generic_page_types) values.

- `css-at-rule`: an [at-rule](/en-US/docs/Web/CSS/At-rule), like {{cssxref("@charset")}}.
- `css-at-rule-descriptor`: an at-rule descriptor, like [`@counter-style/prefix`](/en-US/docs/Web/CSS/@counter-style/prefix).
Expand All @@ -80,15 +80,15 @@ This section lists `page-type` values for pages under [Glossary](/en-US/docs/Glo

### HTML page types

This section lists `page-type` values for pages under [Web/HTML](/en-US/docs/Web/HTML). Every page in that part of the tree must have a `page-type`, and its value must be one of those listed below or one of the generic page type values.
This section lists `page-type` values for pages under [Web/HTML](/en-US/docs/Web/HTML). Every page in that part of the tree must have a `page-type`, and its value must be one of those listed below or one of the [generic page type](#generic_page_types) values.

- `html-attribute`: an HTML attribute, like [`autocomplete`](/en-US/docs/Web/HTML/Attributes/autocomplete).
- `html-attribute-value`: a single value for an HTML attribute, like [`dns-prefetch`](/en-US/docs/Web/HTML/Attributes/rel/dns-prefetch).
- `html-element`: an HTML element, like [`<button>`](/en-US/docs/Web/HTML/Element/button).

### HTTP page types

This section lists `page-type` values for pages under [Web/HTTP](/en-US/docs/Web/HTTP). Every page in that part of the tree must have a `page-type`, and its value must be one of those listed below or one of the generic page type values.
This section lists `page-type` values for pages under [Web/HTTP](/en-US/docs/Web/HTTP). Every page in that part of the tree must have a `page-type`, and its value must be one of those listed below or one of the [generic page type](#generic_page_types) values.

- `http-csp-directive`: a [CSP](/en-US/docs/Web/HTTP/Headers/Content-Security-Policy) directive, like [`script-src`](/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/script-src).
- `http-cors-error`: a [CORS](/en-US/docs/Web/HTTP/CORS) error, like [`CORSDidNotSucceed`](/en-US/docs/Web/HTTP/CORS/Errors/CORSDidNotSucceed).
Expand All @@ -99,7 +99,7 @@ This section lists `page-type` values for pages under [Web/HTTP](/en-US/docs/Web

### JavaScript page types

This section lists `page-type` values for pages under [Web/JavaScript](/en-US/docs/Web/JavaScript). Every page in that part of the tree must have a `page-type`, and its value must be one of those listed below or one of the generic page type values.
This section lists `page-type` values for pages under [Web/JavaScript](/en-US/docs/Web/JavaScript). Every page in that part of the tree must have a `page-type`, and its value must be one of those listed below or one of the [generic page type](#generic_page_types) values.

- `javascript-class`: a definition of a built-in object, like [`Array`](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array).
- `javascript-constructor`: an object constructor, like [`Array()`](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/Array).
Expand All @@ -119,21 +119,21 @@ This section lists `page-type` values for pages under [Web/JavaScript](/en-US/do

### MathML page types

This section lists `page-type` values for pages under [Web/MathML](/en-US/docs/Web/MathML). Every page in that part of the tree must have a `page-type`, and its value must be one of those listed below or one of the generic page type values.
This section lists `page-type` values for pages under [Web/MathML](/en-US/docs/Web/MathML). Every page in that part of the tree must have a `page-type`, and its value must be one of those listed below or one of the [generic page type](#generic_page_types) values.

- `mathml-attribute`: an MathML attribute, like [`mathcolor`](/en-US/docs/Web/MathML/Global_attributes/mathcolor).
- `mathml-element`: an HTML element, like [`<msqrt>`](/en-US/docs/Web/MathML/Element/msqrt).

### SVG page types

This section lists `page-type` values for pages under [Web/SVG](/en-US/docs/Web/SVG). Every page in that part of the tree must have a `page-type`, and its value must be one of those listed below or one of the generic page type values.
This section lists `page-type` values for pages under [Web/SVG](/en-US/docs/Web/SVG). Every page in that part of the tree must have a `page-type`, and its value must be one of those listed below or one of the [generic page type](#generic_page_types) values.

- `svg-attribute`: an SVG attribute, like [`crossorigin`](/en-US/docs/Web/SVG/Attribute/crossorigin).
- `svg-element`: an SVG element, like [`<circle>`](/en-US/docs/Web/SVG/Element/circle).

### Web API page types

This section lists `page-type` values for pages under [Web/API](/en-US/docs/Web/API). Every page in that part of the tree must have a `page-type`, and its value must be one of those listed below or one of the generic page type values.
This section lists `page-type` values for pages under [Web/API](/en-US/docs/Web/API). Every page in that part of the tree must have a `page-type`, and its value must be one of those listed below or one of the [generic page type](#generic_page_types) values.

- `web-api-overview`: gives an overview of a Web API, like the [Fetch API](/en-US/docs/Web/API/Fetch_API).
- `web-api-global-function`: a global function, like [`fetch()`](/en-US/docs/Web/API/fetch).
Expand All @@ -150,15 +150,15 @@ This section lists `page-type` values for pages under [Web/API](/en-US/docs/Web/

### WebDriver

This section lists `page-type` values for pages under [Web/WebDriver](/en-US/docs/Web/WebDriver). Every page in that part of the tree must have a `page-type`, and its value must be one of those listed below or one of the generic page type values.
This section lists `page-type` values for pages under [Web/WebDriver](/en-US/docs/Web/WebDriver). Every page in that part of the tree must have a `page-type`, and its value must be one of those listed below or one of the [generic page type](#generic_page_types) values.

- `webdriver-command`: a webdriver command, like [`CloseWindow`](/en-US/docs/Web/WebDriver/Commands/CloseWindow).
- `webdriver-capability`: a webdriver capability, like [`acceptInsecureCerts`](/en-US/docs/Web/WebDriver/Capabilities/acceptInsecureCerts).
- `webdriver-error`: a webdriver error, like [Insecure certificate](/en-US/docs/Web/WebDriver/Errors/InsecureCertificate).

### WebExtensions page types

This section lists `page-type` values for pages under [Mozilla/Add-ons/WebExtensions](/en-US/docs/Mozilla/Add-ons/WebExtensions). Every page in that part of the tree must have a `page-type`, and its value must be one of those listed below or one of the generic page type values.
This section lists `page-type` values for pages under [Mozilla/Add-ons/WebExtensions](/en-US/docs/Mozilla/Add-ons/WebExtensions). Every page in that part of the tree must have a `page-type`, and its value must be one of those listed below or one of the [generic page type](#generic_page_types) values.

- `webextension-api`: a WebExtension API, like [`alarms`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/alarms).
- `webextension-api-event`: a WebExtension API event, like [`action.onClicked`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/action/onClicked).
Expand All @@ -169,6 +169,12 @@ This section lists `page-type` values for pages under [Mozilla/Add-ons/WebExtens

### Web Manifest page types

This section lists `page-type` values for pages under [Web/Manifest](/en-US/docs/Web/Manifest). Every page in that part of the tree must have a `page-type`, and its value must be one of those listed below or one of the generic page type values.
This section lists `page-type` values for pages under [Web/Manifest](/en-US/docs/Web/Manifest). Every page in that part of the tree must have a `page-type`, and its value must be one of those listed below or one of the [generic page type](#generic_page_types) values.

- `web-manifest-member`: a member of a manifest, like [`description`](/en-US/docs/Web/Manifest/description).

### Firefox page types

This section lists `page-type` values for pages under [Mozilla/Firefox](/en-US/docs/Mozilla/Firefox). Every page in that part of the tree must have a `page-type`, and its value must be one of those listed below or one of the [generic page type](#generic_page_types) values.

- `firefox-release-notes`: the release notes for a particular Firefox version, such as [_Firefox 115 for developers_](/en-US/docs/Mozilla/Firefox/Releases/115).
1 change: 1 addition & 0 deletions files/en-us/mozilla/firefox/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Firefox
slug: Mozilla/Firefox
page-type: landing-page
---

{{FirefoxSidebar}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Adapting XUL Applications for Firefox 1.5
slug: Mozilla/Firefox/Releases/1.5/Adapting_XUL_Applications_for_Firefox_1.5
page-type: guide
---

{{FirefoxSidebar}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Changing the Priority of HTTP Requests (Non-Standard)
slug: Mozilla/Firefox/Releases/1.5/Changing_the_priority_of_HTTP_requests
page-type: guide
---

{{FirefoxSidebar}}
Expand Down
1 change: 1 addition & 0 deletions files/en-us/mozilla/firefox/releases/1.5/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Firefox 1.5 for developers
slug: Mozilla/Firefox/Releases/1.5
page-type: firefox-release-notes
---

{{FirefoxSidebar}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Using Firefox 1.5 caching
slug: Mozilla/Firefox/Releases/1.5/Using_Firefox_1.5_caching
page-type: guide
---

{{FirefoxSidebar}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: What's New in Deer Park Alpha
slug: Mozilla/Firefox/Releases/1.5/What_s_new_in_1.5_alpha
page-type: guide
---

{{FirefoxSidebar}}
Expand Down
1 change: 1 addition & 0 deletions files/en-us/mozilla/firefox/releases/10/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Firefox 10 for developers
slug: Mozilla/Firefox/Releases/10
page-type: firefox-release-notes
---

{{FirefoxSidebar}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Updating add-ons for Firefox 10
slug: Mozilla/Firefox/Releases/10/Updating_add-ons
page-type: guide
---

{{FirefoxSidebar}}
Expand Down
1 change: 1 addition & 0 deletions files/en-us/mozilla/firefox/releases/100/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Firefox 100 for developers
slug: Mozilla/Firefox/Releases/100
page-type: firefox-release-notes
---

{{FirefoxSidebar}}
Expand Down
1 change: 1 addition & 0 deletions files/en-us/mozilla/firefox/releases/101/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Firefox 101 for developers
slug: Mozilla/Firefox/Releases/101
page-type: firefox-release-notes
---

{{FirefoxSidebar}}
Expand Down
1 change: 1 addition & 0 deletions files/en-us/mozilla/firefox/releases/102/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Firefox 102 for developers
slug: Mozilla/Firefox/Releases/102
page-type: firefox-release-notes
---

{{FirefoxSidebar}}
Expand Down
1 change: 1 addition & 0 deletions files/en-us/mozilla/firefox/releases/103/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Firefox 103 for developers
slug: Mozilla/Firefox/Releases/103
page-type: firefox-release-notes
---

{{FirefoxSidebar}}
Expand Down
1 change: 1 addition & 0 deletions files/en-us/mozilla/firefox/releases/104/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Firefox 104 for developers
slug: Mozilla/Firefox/Releases/104
page-type: firefox-release-notes
---

{{FirefoxSidebar}}
Expand Down
1 change: 1 addition & 0 deletions files/en-us/mozilla/firefox/releases/105/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Firefox 105 for developers
slug: Mozilla/Firefox/Releases/105
page-type: firefox-release-notes
---

{{FirefoxSidebar}}
Expand Down
1 change: 1 addition & 0 deletions files/en-us/mozilla/firefox/releases/106/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Firefox 106 for developers
slug: Mozilla/Firefox/Releases/106
page-type: firefox-release-notes
---

{{FirefoxSidebar}}
Expand Down
1 change: 1 addition & 0 deletions files/en-us/mozilla/firefox/releases/107/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Firefox 107 for developers
slug: Mozilla/Firefox/Releases/107
page-type: firefox-release-notes
---

{{FirefoxSidebar}}
Expand Down
1 change: 1 addition & 0 deletions files/en-us/mozilla/firefox/releases/108/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Firefox 108 for developers
slug: Mozilla/Firefox/Releases/108
page-type: firefox-release-notes
---

{{FirefoxSidebar}}
Expand Down
1 change: 1 addition & 0 deletions files/en-us/mozilla/firefox/releases/109/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Firefox 109 for developers
slug: Mozilla/Firefox/Releases/109
page-type: firefox-release-notes
---

{{FirefoxSidebar}}
Expand Down
1 change: 1 addition & 0 deletions files/en-us/mozilla/firefox/releases/11/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Firefox 11 for developers
slug: Mozilla/Firefox/Releases/11
page-type: firefox-release-notes
---

{{FirefoxSidebar}}
Expand Down
1 change: 1 addition & 0 deletions files/en-us/mozilla/firefox/releases/110/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Firefox 110 for developers
slug: Mozilla/Firefox/Releases/110
page-type: firefox-release-notes
---

{{FirefoxSidebar}}
Expand Down
1 change: 1 addition & 0 deletions files/en-us/mozilla/firefox/releases/111/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Firefox 111 for developers
slug: Mozilla/Firefox/Releases/111
page-type: firefox-release-notes
---

{{FirefoxSidebar}}
Expand Down
1 change: 1 addition & 0 deletions files/en-us/mozilla/firefox/releases/112/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Firefox 112 for developers
slug: Mozilla/Firefox/Releases/112
page-type: firefox-release-notes
---

{{FirefoxSidebar}}
Expand Down
1 change: 1 addition & 0 deletions files/en-us/mozilla/firefox/releases/113/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Firefox 113 for developers
slug: Mozilla/Firefox/Releases/113
page-type: firefox-release-notes
---

{{FirefoxSidebar}}
Expand Down
1 change: 1 addition & 0 deletions files/en-us/mozilla/firefox/releases/114/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Firefox 114 for developers
slug: Mozilla/Firefox/Releases/114
page-type: firefox-release-notes
---

{{FirefoxSidebar}}
Expand Down
1 change: 1 addition & 0 deletions files/en-us/mozilla/firefox/releases/115/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Firefox 115 for developers
slug: Mozilla/Firefox/Releases/115
page-type: firefox-release-notes
---

{{FirefoxSidebar}}
Expand Down
1 change: 1 addition & 0 deletions files/en-us/mozilla/firefox/releases/116/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Firefox 116 for developers
slug: Mozilla/Firefox/Releases/116
page-type: firefox-release-notes
---

{{FirefoxSidebar}}
Expand Down
1 change: 1 addition & 0 deletions files/en-us/mozilla/firefox/releases/12/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Firefox 12 for developers
slug: Mozilla/Firefox/Releases/12
page-type: firefox-release-notes
---

{{FirefoxSidebar}}
Expand Down
1 change: 1 addition & 0 deletions files/en-us/mozilla/firefox/releases/13/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Firefox 13 for developers
slug: Mozilla/Firefox/Releases/13
page-type: firefox-release-notes
---

{{FirefoxSidebar}}
Expand Down
1 change: 1 addition & 0 deletions files/en-us/mozilla/firefox/releases/14/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Firefox 14 for developers
slug: Mozilla/Firefox/Releases/14
page-type: firefox-release-notes
---

{{FirefoxSidebar}}
Expand Down
1 change: 1 addition & 0 deletions files/en-us/mozilla/firefox/releases/15/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Firefox 15 for developers
slug: Mozilla/Firefox/Releases/15
page-type: firefox-release-notes
---

{{FirefoxSidebar}}
Expand Down
1 change: 1 addition & 0 deletions files/en-us/mozilla/firefox/releases/16/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Firefox 16 for developers
slug: Mozilla/Firefox/Releases/16
page-type: firefox-release-notes
---

{{FirefoxSidebar}}
Expand Down
1 change: 1 addition & 0 deletions files/en-us/mozilla/firefox/releases/17/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Firefox 17 for developers
slug: Mozilla/Firefox/Releases/17
page-type: firefox-release-notes
---

{{FirefoxSidebar}}
Expand Down
1 change: 1 addition & 0 deletions files/en-us/mozilla/firefox/releases/18/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Firefox 18 for developers
slug: Mozilla/Firefox/Releases/18
page-type: firefox-release-notes
---

{{FirefoxSidebar}}
Expand Down
1 change: 1 addition & 0 deletions files/en-us/mozilla/firefox/releases/19/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Firefox 19 for developers
slug: Mozilla/Firefox/Releases/19
page-type: firefox-release-notes
---

{{FirefoxSidebar}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Adding feed readers to Firefox
slug: Mozilla/Firefox/Releases/2/Adding_feed_readers_to_Firefox
page-type: guide
---

{{FirefoxSidebar}}
Expand Down
1 change: 1 addition & 0 deletions files/en-us/mozilla/firefox/releases/2/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Firefox 2 for developers
slug: Mozilla/Firefox/Releases/2
page-type: firefox-release-notes
---

{{FirefoxSidebar}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Security in Firefox 2
slug: Mozilla/Firefox/Releases/2/Security_changes
page-type: guide
---

{{FirefoxSidebar}}
Expand Down
Loading

0 comments on commit 7f74644

Please sign in to comment.