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

Put browser-compat info in front-runner for api/[opq]* #5420

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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.
11 changes: 4 additions & 7 deletions files/en-us/_redirects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4080,7 +4080,7 @@
/en-US/docs/HTML:Inline_elements /en-US/docs/Web/HTML/Inline_elements
/en-US/docs/HTML:The_Importance_of_Correct_Commenting /en-US/docs/Learn/HTML/Introduction_to_HTML/Getting_started#HTML_comments
/en-US/docs/HTML:tag /en-US/docs/Web/HTML/Element
/en-US/docs/HTMLElement.forceSpellCheck /en-US/docs/Web/HTML/Global_attributes/spellcheck
/en-US/docs/HTMLElement.forceSpellCheck /en-US/docs/Web/API/HTMLElement/forceSpellCheck
/en-US/docs/HTMLObjectElement.type /en-US/docs/Web/API/HTMLObjectElement/type
/en-US/docs/HTMLOptionElement.Option /en-US/docs/Web/API/HTMLOptionElement/Option
/en-US/docs/HTMLSpanElemen /en-US/docs/Web/API/HTMLSpanElement
Expand Down Expand Up @@ -5498,6 +5498,7 @@
/en-US/docs/Liberty!_Equality!_Validity! /en-US/docs/Learn/HTML/Introduction_to_HTML/Debugging_HTML
/en-US/docs/Link_prefetching_FAQ /en-US/docs/Web/HTTP/Link_prefetching_FAQ
/en-US/docs/Localization /en-US/docs/Glossary/Localization
/en-US/docs/Localizations_and_character_encodings /en-US/docs/Web/Guide/Localizations_and_character_encodings
/en-US/docs/MDC:How_to_Help /en-US/docs/MDN/Contribute
/en-US/docs/MDN/At_ten/Contributing_to_MDN /en-US/docs/MDN/Contribute
/en-US/docs/MDN/Contribute/Code_sample_guidelines /en-US/docs/MDN/Guidelines/Code_guidelines
Expand Down Expand Up @@ -6807,7 +6808,6 @@
/en-US/docs/Web-related_technologies /en-US/docs/Related
/en-US/docs/Web/API/AbortController/FetchController /en-US/docs/Web/API/AbortController/AbortController
/en-US/docs/Web/API/AbstractWorker.onerror /en-US/docs/Web/API/AbstractWorker/onerror
/en-US/docs/Web/API/AddressErrors/regionCode /en-US/docs/Web/API/AddressErrors
/en-US/docs/Web/API/AmbientLightSensor/reading /en-US/docs/Web/API/AmbientLightSensor/illuminance
/en-US/docs/Web/API/AmbientLightSensorReading /en-US/docs/Web/API/AmbientLightSensor
/en-US/docs/Web/API/AmbientLightSensorReading/AmbientLightSensorReading /en-US/docs/Web/API/AmbientLightSensor/AmbientLightSensor
Expand Down Expand Up @@ -7401,7 +7401,6 @@
/en-US/docs/Web/API/Element/pointerover_event /en-US/docs/Web/API/HTMLElement/pointerover_event
/en-US/docs/Web/API/Element/pointerup_event /en-US/docs/Web/API/HTMLElement/pointerup_event
/en-US/docs/Web/API/Element/resourcetimingbufferfull_event /en-US/docs/Web/API/Performance/resourcetimingbufferfull_event
/en-US/docs/Web/API/Element/tabStop /en-US/docs/Web/API/ShadowRoot/delegatesFocus
/en-US/docs/Web/API/ElementTraversal.childElementCount /en-US/docs/Web/API/Element/childElementCount
/en-US/docs/Web/API/ElementTraversal.firstElementChild /en-US/docs/Web/API/Element/firstElementChild
/en-US/docs/Web/API/ElementTraversal.lastElementChild /en-US/docs/Web/API/Element/lastElementChild
Expand Down Expand Up @@ -7607,8 +7606,8 @@
/en-US/docs/Web/API/HTMLElement.dataset /en-US/docs/Web/API/HTMLOrForeignElement/dataset
/en-US/docs/Web/API/HTMLElement.dir /en-US/docs/Web/API/HTMLElement/dir
/en-US/docs/Web/API/HTMLElement.focus /en-US/docs/Web/API/HTMLOrForeignElement/focus
/en-US/docs/Web/API/HTMLElement.forceSpellCheck /en-US/docs/Web/HTML/Global_attributes/spellcheck
/en-US/docs/Web/API/HTMLElement.forceSpellCheck() /en-US/docs/Web/HTML/Global_attributes/spellcheck
/en-US/docs/Web/API/HTMLElement.forceSpellCheck /en-US/docs/Web/API/HTMLElement/forceSpellCheck
/en-US/docs/Web/API/HTMLElement.forceSpellCheck() /en-US/docs/Web/API/HTMLElement/forceSpellCheck
/en-US/docs/Web/API/HTMLElement.isContentEditable /en-US/docs/Web/API/HTMLElement/isContentEditable
/en-US/docs/Web/API/HTMLElement.lang /en-US/docs/Web/API/HTMLElement/lang
/en-US/docs/Web/API/HTMLElement.offsetHeight /en-US/docs/Web/API/HTMLElement/offsetHeight
Expand All @@ -7626,7 +7625,6 @@
/en-US/docs/Web/API/HTMLElement/blur /en-US/docs/Web/API/HTMLOrForeignElement/blur
/en-US/docs/Web/API/HTMLElement/dataset /en-US/docs/Web/API/HTMLOrForeignElement/dataset
/en-US/docs/Web/API/HTMLElement/focus /en-US/docs/Web/API/HTMLOrForeignElement/focus
/en-US/docs/Web/API/HTMLElement/forceSpellCheck /en-US/docs/Web/HTML/Global_attributes/spellcheck
/en-US/docs/Web/API/HTMLElement/invalid_event /en-US/docs/Web/API/HTMLInputElement/invalid_event
/en-US/docs/Web/API/HTMLElement/nonce /en-US/docs/Web/API/HTMLOrForeignElement/nonce
/en-US/docs/Web/API/HTMLElement/onabort /en-US/docs/Web/API/GlobalEventHandlers/onabort
Expand Down Expand Up @@ -8246,7 +8244,6 @@
/en-US/docs/Web/API/Path2D.Path2D /en-US/docs/Web/API/Path2D/Path2D
/en-US/docs/Web/API/Path2D.addPath /en-US/docs/Web/API/Path2D/addPath
/en-US/docs/Web/API/PaymentAddress/PaymentAddress.country /en-US/docs/Web/API/PaymentAddress/country
/en-US/docs/Web/API/PaymentAddress/regionCode /en-US/docs/Web/API/PaymentAddress
/en-US/docs/Web/API/PaymentRequest/PaymentRequest.onmerchantvalidation /en-US/docs/Web/API/PaymentRequest/onmerchantvalidation
/en-US/docs/Web/API/PaymentRequest/shippingaddresschange /en-US/docs/Web/API/PaymentRequest/shippingaddresschange_event
/en-US/docs/Web/API/PaymentRequestEvent/topLevelOrigin /en-US/docs/Web/API/PaymentRequestEvent/topOrigin
Expand Down
47 changes: 47 additions & 0 deletions files/en-us/_wikihistory.json
Original file line number Diff line number Diff line change
Expand Up @@ -26975,6 +26975,12 @@
"Sheppy"
]
},
"Web/API/AddressErrors/regionCode": {
"modified": "2020-10-15T22:08:49.176Z",
"contributors": [
"Sheppy"
]
},
"Web/API/AddressErrors/sortingCode": {
"modified": "2020-10-15T22:08:48.856Z",
"contributors": [
Expand Down Expand Up @@ -44795,6 +44801,18 @@
"jpmedley"
]
},
"Web/API/Element/tabStop": {
"modified": "2020-10-15T21:34:32.666Z",
"contributors": [
"fscholz",
"Jedipedia",
"valtlai",
"rolfedh",
"Sebastianz",
"teoli",
"jpmedley"
]
},
"Web/API/Element/tagName": {
"modified": "2020-10-15T21:06:35.308Z",
"contributors": [
Expand Down Expand Up @@ -51614,6 +51632,16 @@
"JesseW"
]
},
"Web/API/HTMLElement/forceSpellCheck": {
"modified": "2020-10-15T21:31:35.664Z",
"contributors": [
"mfluehr",
"sideshowbarker",
"fscholz",
"alicebeckett",
"teoli"
]
},
"Web/API/HTMLElement/gotpointercapture_event": {
"modified": "2020-10-15T21:39:52.295Z",
"contributors": [
Expand Down Expand Up @@ -68462,6 +68490,16 @@
"dgashmdn"
]
},
"Web/API/PaymentAddress/regionCode": {
"modified": "2020-10-15T22:02:38.019Z",
"contributors": [
"sideshowbarker",
"Sheppy",
"chrisdavidmills",
"mnoorenberghe",
"marcoscaceres"
]
},
"Web/API/PaymentAddress/sortingCode": {
"modified": "2020-10-15T21:49:12.221Z",
"contributors": [
Expand Down Expand Up @@ -119637,6 +119675,15 @@
"limomo"
]
},
"Web/Guide/Localizations_and_character_encodings": {
"modified": "2019-03-23T23:33:41.607Z",
"contributors": [
"scop",
"Sheppy",
"teoli",
"Hsivonen"
]
},
"Web/Guide/Mobile": {
"modified": "2020-03-07T14:19:21.961Z",
"contributors": [
Expand Down
1 change: 1 addition & 0 deletions files/en-us/glossary/localization/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,6 @@ <h2 id="Learn_more">Learn more</h2>
<h3 id="General_knowledge">General knowledge</h3>

<ul>
<li>{{Link("/en-US/docs/Mozilla/Localization")}} on MDN</li>
<li>{{interwiki("wikipedia", "Language localisation", "Localization")}} on Wikipedia</li>
</ul>
2 changes: 1 addition & 1 deletion files/en-us/learn/html/tables/advanced/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ <h3 class="attTitle" id="The_id_and_headers_attributes">The id and headers attri

<ol>
<li>You add a unique <code>id</code> to each <code>&lt;th&gt;</code> element.</li>
<li>You add a <code>headers</code> attribute to each <code>&lt;td&gt;</code> element. Each <code>headers</code> attribute has to contain a list of the <code>id</code>s of all the <code>&lt;th&gt;</code> elements that act as a header for that cell, separated by spaces.</li>
<li>You add a <code>headers</code> attribute to each <code>&lt;td&gt;</code> element. Each <code>headers</code> attribute has to contain a list of the <code>id</code>s of all the &lt;th&gt; elements that act as a header for that cell, separated by spaces.</li>
</ol>

<p>This gives your HTML table an explicit definition of the position of each cell in the table, defined by the header(s) for each column and row it is part of, kind of like a spreadsheet. For it to work well, the table really needs both column and row headers.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<div>{{PreviousMenuNext("Learn/JavaScript/Asynchronous/Promises", "Learn/JavaScript/Asynchronous/Choosing_the_right_approach", "Learn/JavaScript/Asynchronous")}}</div>

<p class="summary">More recent additions to the JavaScript language are <a href="/en-US/docs/Web/JavaScript/Reference/Statements/async_function">async functions</a> and the <code><a href="/en-US/docs/Web/JavaScript/Reference/Operators/await">await</a></code> keyword, added in ECMAScript 2017. These features basically act as syntactic sugar on top of promises, making asynchronous code easier to write and to read afterwards. They make async code look more like old-school synchronous code, so they're well worth learning. This article gives you what you need to know.</p>
<p class="summary">More recent additions to the JavaScript language are <a href="/en-US/docs/Web/JavaScript/Reference/Statements/async_function">async functions</a> and the <code><a href="/en-US/docs/Web/JavaScript/Reference/Operators/await">await</a></code> keyword, part of the so-called ECMAScript 2017 JavaScript edition (see <a href="/en-US/docs/Web/JavaScript/New_in_JavaScript/ECMAScript_Next_support_in_Mozilla">ECMAScript Next support in Mozilla</a>). These features basically act as syntactic sugar on top of promises, making asynchronous code easier to write and to read afterwards. They make async code look more like old-school synchronous code, so they're well worth learning. This article gives you what you need to know.</p>

<table class="learn-box standard-table">
<tbody>
Expand All @@ -26,7 +26,7 @@
</tr>
<tr>
<th scope="row">Objective:</th>
<td>To understand the use of async/await.</td>
<td>To understand promises and how to use them.</td>
</tr>
</tbody>
</table>
Expand Down Expand Up @@ -541,5 +541,6 @@ <h2 id="In_this_module">In this module</h2>
<li><a href="/en-US/docs/Learn/JavaScript/Asynchronous/Introducing">Introducing asynchronous JavaScript</a></li>
<li><a href="/en-US/docs/Learn/JavaScript/Asynchronous/Timeouts_and_intervals">Cooperative asynchronous JavaScript: Timeouts and intervals</a></li>
<li><a href="/en-US/docs/Learn/JavaScript/Asynchronous/Promises">Graceful asynchronous programming with Promises</a></li>
<li><a href="/en-US/docs/Learn/JavaScript/Asynchronous/Async_await">Making asynchronous programming easier with async and await</a></li>
<li><a href="/en-US/docs/Learn/JavaScript/Asynchronous/Choosing_the_right_approach">Choosing the right approach</a></li>
</ul>
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ <h3 id="View_function-based">View (function-based)</h3>

<p>Paste the following lines at the bottom of the file:</p>

<pre class="brush: python">from .models import Book, Author, BookInstance, Genre
<pre class="brush: python">from catalog.models import Book, Author, BookInstance, Genre

def index(request):
"""View function for home page of site."""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
- WebExtensions
- alarm
- alarms
browser-compat: webextensions.api.alarms.Alarm
---
<div>{{AddonSidebar()}}</div>

Expand All @@ -32,7 +31,7 @@ <h2 id="Type">Type</h2>

<h2 id="Browser_compatibility">Browser compatibility</h2>

<p>{{Compat}}</p>
<p>{{Compat("webextensions.api.alarms.Alarm")}}</p>

<p>{{WebExtExamples}}</p>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
- WebExtensions
- alarms
- clear
browser-compat: webextensions.api.alarms.clear
---
<div>{{AddonSidebar()}}</div>

Expand Down Expand Up @@ -50,7 +49,7 @@ <h2 id="Examples">Examples</h2>

<h2 id="Browser_compatibility">Browser compatibility</h2>

<p>{{Compat}}</p>
<p>{{Compat("webextensions.api.alarms.clear")}}</p>

<div class="note"><strong>Acknowledgements</strong>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
- WebExtensions
- alarms
- clearAll
browser-compat: webextensions.api.alarms.clearAll
---
<div>{{AddonSidebar()}}</div>

Expand Down Expand Up @@ -45,7 +44,7 @@ <h2 id="Examples">Examples</h2>

<h2 id="Browser_compatibility">Browser compatibility</h2>

<p>{{Compat}}</p>
<p>{{Compat("webextensions.api.alarms.clearAll")}}</p>

<div class="note"><strong>Acknowledgements</strong>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
- Reference
- WebExtensions
- alarms
browser-compat: webextensions.api.alarms.create
---
<div>{{AddonSidebar()}}</div>

Expand Down Expand Up @@ -84,7 +83,7 @@ <h2 id="Examples">Examples</h2>

<h2 id="Browser_compatibility">Browser compatibility</h2>

<p>{{Compat}}</p>
<p>{{Compat("webextensions.api.alarms.create")}}</p>

<div class="note"><strong>Acknowledgements</strong>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
- WebExtensions
- alarms
- get
browser-compat: webextensions.api.alarms.get
---
<div>{{AddonSidebar()}}</div>

Expand Down Expand Up @@ -52,7 +51,7 @@ <h2 id="Examples">Examples</h2>

<h2 id="Browser_compatibility">Browser compatibility</h2>

<p>{{Compat}}</p>
<p>{{Compat("webextensions.api.alarms.get")}}</p>

<div class="note"><strong>Acknowledgements</strong>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
- WebExtensions
- alarms
- getAll
browser-compat: webextensions.api.alarms.getAll
---
<div>{{AddonSidebar()}}</div>

Expand Down Expand Up @@ -47,7 +46,7 @@ <h2 id="Examples">Examples</h2>

<h2 id="Browser_compatibility">Browser compatibility</h2>

<p>{{Compat}}</p>
<p>{{Compat("webextensions.api.alarms.getAll")}}</p>

<div class="note"><strong>Acknowledgements</strong>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
- Reference
- WebExtensions
- alarms
browser-compat: webextensions.api.alarms
---
<div>{{AddonSidebar}}</div>

Expand Down Expand Up @@ -52,7 +51,7 @@ <h2 id="Events">Events</h2>

<h2 id="Browser_compatibility">Browser compatibility</h2>

<p>{{Compat}}</p>
<p>{{Compat("webextensions.api.alarms")}}</p>

<div class="note"><strong>Acknowledgements</strong>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
- WebExtensions
- alarms
- onAlarm
browser-compat: webextensions.api.alarms.onAlarm
---
<div>{{AddonSidebar()}}</div>

Expand Down Expand Up @@ -65,7 +64,7 @@ <h2 id="Examples">Examples</h2>

<h2 id="Browser_compatibility">Browser compatibility</h2>

<p>{{Compat}}</p>
<p>{{Compat("webextensions.api.alarms.onAlarm")}}</p>

<div class="note"><strong>Acknowledgements</strong>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
- Reference
- Type
- WebExtensions
browser-compat: webextensions.api.bookmarks.BookmarkTreeNode
---
<div>{{AddonSidebar()}}</div>

Expand Down Expand Up @@ -46,7 +45,7 @@ <h2 id="Type">Type</h2>

<h2 id="Browser_compatibility">Browser compatibility</h2>

<p>{{Compat}}</p>
<p>{{Compat("webextensions.api.bookmarks.BookmarkTreeNode", 10)}}</p>

<p>{{WebExtExamples}}</p>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
- Property
- Reference
- WebExtensions
browser-compat: webextensions.api.bookmarks.BookmarkTreeNodeType
---
<div>{{AddonSidebar()}}</div>

Expand All @@ -28,6 +27,6 @@ <h2 id="Type">Type</h2>

<h2 id="Browser_compatibility">Browser compatibility</h2>

<p>{{Compat}}</p>
<p>{{Compat("webextensions.api.bookmarks.BookmarkTreeNodeType", 10)}}</p>

<p>{{WebExtExamples}}</p>
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
- Reference
- Type
- WebExtensions
browser-compat: webextensions.api.bookmarks.BookmarkTreeNodeUnmodifiable
---
<div>{{AddonSidebar()}}</div>

Expand All @@ -23,7 +22,7 @@ <h2 id="Type">Type</h2>

<h2 id="Browser_compatibility">Browser compatibility</h2>

<p>{{Compat}}</p>
<p>{{Compat("webextensions.api.bookmarks.BookmarkTreeNodeUnmodifiable")}}</p>

<p>{{WebExtExamples}}</p>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
- Non-standard
- Reference
- WebExtensions
browser-compat: webextensions.api.bookmarks.create
---
<div>{{AddonSidebar()}}</div>

Expand Down Expand Up @@ -60,7 +59,7 @@ <h2 id="Examples">Examples</h2>

<h2 id="Browser_compatibility">Browser compatibility</h2>

<p>{{Compat}}</p>
<p>{{Compat("webextensions.api.bookmarks.create")}}</p>

<div class="note"><strong>Acknowledgements</strong>

Expand Down
Loading