From 262f7e5bb53e4b8305cd6bbba78ca70766e99a43 Mon Sep 17 00:00:00 2001 From: Masahiro FUJIMOTO Date: Thu, 16 Sep 2021 23:44:24 +0900 Subject: MDN以下の文書内のリンクURLを正規化 (#2359) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - /en-US へのリンクを /ja へのリンクに修正 - /ja が付いていないものに /ja を付加 - MDN内のリンクが完全URLの場合、 /ja/docs からのURLに修正 --- files/ja/mdn/structures/banners_and_notices/index.html | 12 ++++++------ .../ja/mdn/structures/macros/commonly-used_macros/index.html | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'files/ja/mdn/structures') diff --git a/files/ja/mdn/structures/banners_and_notices/index.html b/files/ja/mdn/structures/banners_and_notices/index.html index 54cce6a78f..e43794c9cd 100644 --- a/files/ja/mdn/structures/banners_and_notices/index.html +++ b/files/ja/mdn/structures/banners_and_notices/index.html @@ -17,12 +17,12 @@ translation_of: MDN/Structures/Banners_and_notices

In most cases, you apply these notices by adding a macro call to inject an appropriate banner into the page content, and by adding a tag to the page's list of tags. Also, if the page includes a compatibility table (most API reference pages do, for example), you should update that table to reflect any compatibility changes.

-

To do this, you open the editor, then insert the macro call at the top of the article, and change the browser compatibility table (if any); the table should be near the end of the article. Once that's done, scroll to the bottom of the article to find the tag list, and add the new tag to the list. Once you've done that, click the Save Changes button near the top of the window to commit your updates. From then on, an appropriate banner will appear on the page, and any macros that reference page tags when looking for up-to-date articles will know that the page you've updated is obsolete.

+

To do this, you open the editor, then insert the macro call at the top of the article, and change the browser compatibility table (if any); the table should be near the end of the article. Once that's done, scroll to the bottom of the article to find the tag list, and add the new tag to the list. Once you've done that, click the Save Changes button near the top of the window to commit your updates. From then on, an appropriate banner will appear on the page, and any macros that reference page tags when looking for up-to-date articles will know that the page you've updated is obsolete.

Sometimes, you might want to flag just a single item in a list of items, or in a table, as obsolete, deprecated, or the like. There are special versions of each of the following macros for that; simply change "_header" to "_inline" to the end of the macro's name.

@@ -40,10 +40,10 @@ translation_of: MDN/Structures/Banners_and_notices
\{{obsolete_header(21)}}
-

This will make the banner specificy that the technology became obsolete in Gecko 21, with a link to the article Firefox 21 for developers.

+

This will make the banner specificy that the technology became obsolete in Gecko 21, with a link to the article Firefox 21 for developers.

-

Eventually, once something is very, very obsolete (that is, it's so obsolete that reading the material might actually cause serious problems), we can move content into our Archive section. If you see material that you think should be archived, contact an MDN administrator.

+

Eventually, once something is very, very obsolete (that is, it's so obsolete that reading the material might actually cause serious problems), we can move content into our Archive section. If you see material that you think should be archived, contact an MDN administrator.

Deprecated content

diff --git a/files/ja/mdn/structures/macros/commonly-used_macros/index.html b/files/ja/mdn/structures/macros/commonly-used_macros/index.html index f7cc685313..b4e0df23ad 100644 --- a/files/ja/mdn/structures/macros/commonly-used_macros/index.html +++ b/files/ja/mdn/structures/macros/commonly-used_macros/index.html @@ -10,7 +10,7 @@ translation_of: MDN/Structures/Macros/Commonly-used_macros ---

{{MDNSidebar}}

-

このページには MDN で使うために作られた汎用のマクロがたくさん掲載されています。これらのマクロの使い方については、 マクロの使い方リンクを生成するマクロ を見てください。 その他のマクロ には、めったに使われないマクロ、特殊な文脈でのみ使われるマクロ、使用が推奨されないマクロについての情報が書かれています。また、MDNで使用できるマクロの完全な一覧もあります。

+

このページには MDN で使うために作られた汎用のマクロがたくさん掲載されています。これらのマクロの使い方については、 マクロの使い方リンクを生成するマクロ を見てください。 その他のマクロ には、めったに使われないマクロ、特殊な文脈でのみ使われるマクロ、使用が推奨されないマクロについての情報が書かれています。また、MDNで使用できるマクロの完全な一覧もあります。

CSS スタイルガイドも見てください。

-- cgit v1.2.3-54-g00ecf