aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/api/storage
diff options
context:
space:
mode:
authorYujiSoftware <yuji.software@gmail.com>2021-05-16 22:30:00 +0900
committerGitHub <noreply@github.com>2021-05-16 16:30:00 +0300
commitd2c717611f2ab3dc0a25deae3a78cf44aa31a4f2 (patch)
treebb953ad1f2cf6752372fac3dcae7db4634e2de6f /files/ru/web/api/storage
parent0667721b0999fe6407c1a82888a760ea5d0e2c7d (diff)
downloadtranslated-content-d2c717611f2ab3dc0a25deae3a78cf44aa31a4f2.tar.gz
translated-content-d2c717611f2ab3dc0a25deae3a78cf44aa31a4f2.tar.bz2
translated-content-d2c717611f2ab3dc0a25deae3a78cf44aa31a4f2.zip
Migrate CompatibilityTable to Compat macro (lang-ru) (#876)
* Migrate to Compat macro * Migrate to Compat macro (multiple in page) * Migrate to Compat macro * Migrate to Compat macro (removed)
Diffstat (limited to 'files/ru/web/api/storage')
-rw-r--r--files/ru/web/api/storage/clear/index.html62
-rw-r--r--files/ru/web/api/storage/getitem/index.html62
-rw-r--r--files/ru/web/api/storage/index.html62
-rw-r--r--files/ru/web/api/storage/key/index.html62
-rw-r--r--files/ru/web/api/storage/length/index.html62
-rw-r--r--files/ru/web/api/storage/setitem/index.html62
6 files changed, 6 insertions, 366 deletions
diff --git a/files/ru/web/api/storage/clear/index.html b/files/ru/web/api/storage/clear/index.html
index 869995f394..01d6ab2fdf 100644
--- a/files/ru/web/api/storage/clear/index.html
+++ b/files/ru/web/api/storage/clear/index.html
@@ -54,67 +54,7 @@ translation_of: Web/API/Storage/clear
<h2 id="Поддержка_браузерами">Поддержка браузерами</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Характеристика</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>localStorage</td>
- <td>4</td>
- <td>3.5</td>
- <td>8</td>
- <td>10.50</td>
- <td>4</td>
- </tr>
- <tr>
- <td>sessionStorage</td>
- <td>5</td>
- <td>2</td>
- <td>8</td>
- <td>10.50</td>
- <td>4</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Характеристика</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>2.1</td>
- <td>{{ CompatUnknown }}</td>
- <td>8</td>
- <td>11</td>
- <td>iOS 3.2</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>Все браузеры имеют различный уровень объёма для localStorage и sessionStorage. Здесь <a href="http://dev-test.nemikor.com/web-storage/support-test/" title="http://dev-test.nemikor.com/web-storage/support-test/">подробное описание объёма хранилищ для разных браузеров</a>.</p>
-
-<div class="note">
-<p><strong>Примечание:</strong> Начиная с версии iOS 5.1, Safari Mobile хранит данные <code>localStorage</code> в папке cache, которая периодически подлежит очистке по требованию ОС, как правило при недостаточном количестве свободного места.</p>
-</div>
+<p>{{Compat("api.Storage.clear")}}</p>
<h2 id="Смотрите_также">Смотрите также</h2>
diff --git a/files/ru/web/api/storage/getitem/index.html b/files/ru/web/api/storage/getitem/index.html
index 12a4985508..f40a6d6b89 100644
--- a/files/ru/web/api/storage/getitem/index.html
+++ b/files/ru/web/api/storage/getitem/index.html
@@ -64,67 +64,7 @@ translation_of: Web/API/Storage/getItem
<h2 id="Поддержка_браузерами">Поддержка браузерами</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Характеристика</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>localStorage</td>
- <td>4</td>
- <td>3.5</td>
- <td>8</td>
- <td>10.50</td>
- <td>4</td>
- </tr>
- <tr>
- <td>sessionStorage</td>
- <td>5</td>
- <td>2</td>
- <td>8</td>
- <td>10.50</td>
- <td>4</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Характеристика</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>2.1</td>
- <td>{{ CompatUnknown }}</td>
- <td>8</td>
- <td>11</td>
- <td>iOS 3.2</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>Все браузеры имеют различный уровень объёма для localStorage и sessionStorage. Здесь <a href="http://dev-test.nemikor.com/web-storage/support-test/" title="http://dev-test.nemikor.com/web-storage/support-test/">подробное описание объёма хранилищ для разных браузеров</a>.</p>
-
-<div class="note">
-<p><strong>Примечание:</strong> Начиная с версии iOS 5.1, Safari Mobile хранит данные <code>localStorage</code> в папке cache, которая периодически подлежит очистке по требованию ОС, как правило при недостаточном количестве свободного места</p>
-</div>
+<p>{{Compat("api.Storage.getItem")}}</p>
<h2 id="Смотрите_также">Смотрите также</h2>
diff --git a/files/ru/web/api/storage/index.html b/files/ru/web/api/storage/index.html
index 5775e8d61c..3435d0f996 100644
--- a/files/ru/web/api/storage/index.html
+++ b/files/ru/web/api/storage/index.html
@@ -97,67 +97,7 @@ function setStyles() {
<h2 id="Совместимость_с_браузерами">Совместимость с браузерами</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>localStorage</td>
- <td>4</td>
- <td>3.5</td>
- <td>8</td>
- <td>10.50</td>
- <td>4</td>
- </tr>
- <tr>
- <td>sessionStorage</td>
- <td>5</td>
- <td>2</td>
- <td>8</td>
- <td>10.50</td>
- <td>4</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>2.1</td>
- <td>{{ CompatUnknown }}</td>
- <td>8</td>
- <td>11</td>
- <td>iOS 3.2</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>Все браузеры имеют различную вместимость для localStorage и sessionStorage. Вот <a class="external" href="http://dev-test.nemikor.com/web-storage/support-test/" title="http://dev-test.nemikor.com/web-storage/support-test/">подробное сравнение всех storage для различных браузеров</a>.</p>
-
-<div class="note">
-<p><strong>Важно: </strong>Начиная с iOS 5.1, Safari Mobile хранит данные localStorage в папке кеша, которая является объектом для периодических чисток по желанию OS, в основном из-за нехватки памяти.</p>
-</div>
+<p>{{Compat("api.Storage")}}</p>
<h2 id="Смотрите_также">Смотрите также</h2>
diff --git a/files/ru/web/api/storage/key/index.html b/files/ru/web/api/storage/key/index.html
index 7792923102..9e7883cf76 100644
--- a/files/ru/web/api/storage/key/index.html
+++ b/files/ru/web/api/storage/key/index.html
@@ -61,67 +61,7 @@ translation_of: Web/API/Storage/key
<h2 id="Совместимость_с_браузерами">Совместимость с браузерами</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>localStorage</td>
- <td>4</td>
- <td>3.5</td>
- <td>8</td>
- <td>10.50</td>
- <td>4</td>
- </tr>
- <tr>
- <td>sessionStorage</td>
- <td>5</td>
- <td>2</td>
- <td>8</td>
- <td>10.50</td>
- <td>4</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>2.1</td>
- <td>{{ CompatUnknown }}</td>
- <td>8</td>
- <td>11</td>
- <td>iOS 3.2</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>Все браузеры имеют различный уровень объёма для localStorage и sessionStorage. Здесь вы найдёте <a href="http://dev-test.nemikor.com/web-storage/support-test/" title="http://dev-test.nemikor.com/web-storage/support-test/">подробное описание объёма хранилищ для разных браузеров</a>.</p>
-
-<div class="note">
-<p><strong>Примечание: </strong>начиная с версии iOS 5.1, Safari Mobile хранит данные localStorage в папке с кешем, которая может быть случайно  очищена по требованию OS, обычно это происходит, когда мало доступного места.</p>
-</div>
+<p>{{Compat("api.Storage.key")}}</p>
<h2 id="Смотрите_также">Смотрите также</h2>
diff --git a/files/ru/web/api/storage/length/index.html b/files/ru/web/api/storage/length/index.html
index 35f32cf73c..fb57b01571 100644
--- a/files/ru/web/api/storage/length/index.html
+++ b/files/ru/web/api/storage/length/index.html
@@ -55,67 +55,7 @@ translation_of: Web/API/Storage/length
<h2 id="Совместимость_с_браузерами">Совместимость с браузерами</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Характеристика</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>localStorage</td>
- <td>4</td>
- <td>3.5</td>
- <td>8</td>
- <td>10.50</td>
- <td>4</td>
- </tr>
- <tr>
- <td>sessionStorage</td>
- <td>5</td>
- <td>2</td>
- <td>8</td>
- <td>10.50</td>
- <td>4</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Характеристика</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>2.1</td>
- <td>{{ CompatUnknown }}</td>
- <td>8</td>
- <td>11</td>
- <td>iOS 3.2</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>Все браузеры имеют различный уровень объёма для localStorage и sessionStorage. Здесь <a class="external" href="http://dev-test.nemikor.com/web-storage/support-test/" title="http://dev-test.nemikor.com/web-storage/support-test/">подробное описание объёма хранилищ для разных браузеров</a>.</p>
-
-<div class="note">
-<p><strong>Примечание: </strong>начиная с версии iOS 5.1, Safari Mobile хранит данные localStorage в папке с кешем, которая может быть очищена случайно по требованию OS, обычно это происходит, когда мало доступного места.</p>
-</div>
+<p>{{Compat("api.Storage.length")}}</p>
<h2 id="Смотрите_также">Смотрите также</h2>
diff --git a/files/ru/web/api/storage/setitem/index.html b/files/ru/web/api/storage/setitem/index.html
index 796a7e2871..e9ffbf69d5 100644
--- a/files/ru/web/api/storage/setitem/index.html
+++ b/files/ru/web/api/storage/setitem/index.html
@@ -63,67 +63,7 @@ translation_of: Web/API/Storage/setItem
<h2 id="Совместимость_с_браузерами">Совместимость с браузерами</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>localStorage</td>
- <td>4</td>
- <td>3.5</td>
- <td>8</td>
- <td>10.50</td>
- <td>4</td>
- </tr>
- <tr>
- <td>sessionStorage</td>
- <td>5</td>
- <td>2</td>
- <td>8</td>
- <td>10.50</td>
- <td>4</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>2.1</td>
- <td>{{ CompatUnknown }}</td>
- <td>8</td>
- <td>11</td>
- <td>iOS 3.2</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>Все браузеры имеют различный уровень объёма для localStorage и sessionStorage. Здесь <a class="external" href="http://dev-test.nemikor.com/web-storage/support-test/" title="http://dev-test.nemikor.com/web-storage/support-test/">подробное описание объёма хранилищ для разных браузеров</a>.</p>
-
-<div class="note">
-<p><strong>Примечание: </strong>начиная с версии iOS 5.1, Safari Mobile хранит данные localStorage в папке с кешем, которая может быть очищена случайно по требованию OS, обычно это происходит, когда мало доступного места.</p>
-</div>
+<p>{{Compat("api.Storage.setItem")}}</p>
<h2 id="Смотрите_также">Смотрите также</h2>