「ヘルプ:操作手順」の版間の差分
(en:Help:Procedures en:ID: 599277 の版からコピー・内部リンクの変更・状態テンプレートの削除) |
(前書き・セクション見出しの訳出(ID: 15942 の版での同期部分)) |
||
4行目: | 4行目: | ||
[[pt:Help:Procedures]] |
[[pt:Help:Procedures]] |
||
[[zh-hans:Help:Procedures]] |
[[zh-hans:Help:Procedures]] |
||
+ | ページに複雑な変更や、他のメンテナンス操作を行うときに使うことができるチェックリストです。 |
||
+ | == 同じページ内でセクションを移動する == |
||
− | A collection of check lists to be used when performing complex changes to articles or other maintenance operations. |
||
− | |||
− | == Move a section within the same page == |
||
The move should be done in a single edit that does not change anything else: |
The move should be done in a single edit that does not change anything else: |
||
18行目: | 17行目: | ||
# Now you can proceed to editing the section text normally, as required. |
# Now you can proceed to editing the section text normally, as required. |
||
+ | == セクションを新しいサブページに分割する == |
||
− | == Split section to a new subpage == |
||
This procedure is useful when moving a section of an article that has become too long to a subpage of that article. |
This procedure is useful when moving a section of an article that has become too long to a subpage of that article. |
||
40行目: | 39行目: | ||
:{{Tip|This step can be done automatically with [[Wiki Monkey]]'s plugin.}} |
:{{Tip|This step can be done automatically with [[Wiki Monkey]]'s plugin.}} |
||
+ | == ページをリダイレクトした後の議論ページの扱い == |
||
− | == Deal with talk pages after redirecting a page to another == |
||
If page ''A'' has been [[ヘルプ:編集#リダイレクト|redirected]] to page ''B'', for example after merging the content of ''A'' into page ''B'', and ''Talk:A'' exists: |
If page ''A'' has been [[ヘルプ:編集#リダイレクト|redirected]] to page ''B'', for example after merging the content of ''A'' into page ''B'', and ''Talk:A'' exists: |
||
46行目: | 45行目: | ||
* If ''Talk:B'' does not exist, '''move''' the entire ''Talk:A'' to ''Talk:B'', letting MediaWiki automatically redirect ''Talk:A'' to ''Talk:B''. |
* If ''Talk:B'' does not exist, '''move''' the entire ''Talk:A'' to ''Talk:B'', letting MediaWiki automatically redirect ''Talk:A'' to ''Talk:B''. |
||
* If ''Talk:B'' exists: |
* If ''Talk:B'' exists: |
||
− | *# [[# |
+ | *# [[#議論を他の議論ページに移動する|Move]] the still relevant discussions, if any, from ''Talk:A'' to ''Talk:B''. |
*# Ensure that the discussions left in ''Talk:A'', if any, are [[ヘルプ:議論#議論を終了する|closed]]. |
*# Ensure that the discussions left in ''Talk:A'', if any, are [[ヘルプ:議論#議論を終了する|closed]]. |
||
*#* If ''Talk:A'' hosts discussions that have been closed for less than the period specified in [[ヘルプ:議論#議論を終了する]], flag ''Talk:A'' with [[テンプレート:Redirect]], so that the page will be redirected to ''Talk:B'' after the closing period. |
*#* If ''Talk:A'' hosts discussions that have been closed for less than the period specified in [[ヘルプ:議論#議論を終了する]], flag ''Talk:A'' with [[テンプレート:Redirect]], so that the page will be redirected to ''Talk:B'' after the closing period. |
||
*#* Else, immediately redirect ''Talk:A'' to ''Talk:B''. |
*#* Else, immediately redirect ''Talk:A'' to ''Talk:B''. |
||
+ | == 二重リダイレクトを修正する == |
||
− | == Fix double redirects == |
||
# Read [[ヘルプ:編集#リダイレクト|this section]] to understand what redirects are. |
# Read [[ヘルプ:編集#リダイレクト|this section]] to understand what redirects are. |
||
61行目: | 60行目: | ||
{{Tip|This task can be done automatically with [[Wiki Monkey]]'s plugin.}} |
{{Tip|This task can be done automatically with [[Wiki Monkey]]'s plugin.}} |
||
+ | == リンク切れのパッケージリンクを修正する == |
||
− | == Fix broken package links == |
||
ArchWiki contains many broken links to packages not found either in [[公式リポジトリ]] or [[AUR]], which is the result of packages being merged, split or removed from the repositories. All pages in the main namespace are regularly checked by a bot, which checks all instances of [[テンプレート:AUR|AUR]], [[テンプレート:Grp|Grp]] and [[テンプレート:Pkg|Pkg]] templates, tries to automatically update them and marks them with [[テンプレート:Broken package link]] when it is not possible to update them automatically. |
ArchWiki contains many broken links to packages not found either in [[公式リポジトリ]] or [[AUR]], which is the result of packages being merged, split or removed from the repositories. All pages in the main namespace are regularly checked by a bot, which checks all instances of [[テンプレート:AUR|AUR]], [[テンプレート:Grp|Grp]] and [[テンプレート:Pkg|Pkg]] templates, tries to automatically update them and marks them with [[テンプレート:Broken package link]] when it is not possible to update them automatically. |
||
82行目: | 81行目: | ||
{{Note|1=The bot updates only package links, but not the text around them, which is too context-sensitive. For example, in [https://wiki.archlinux.org/index.php?title=Smokeping&diff=prev&oldid=308608] the AUR link was changed to Pkg, but the surrounding text still says that the package is in AUR. These instances can be fixed and "future-proofed" by simply removing the surrounding description of where the package is; see also [[ヘルプ:スタイル#パッケージ管理の記述]]. We currently have no means of automatically tracking this kind of problems, suggestions are welcome.}} |
{{Note|1=The bot updates only package links, but not the text around them, which is too context-sensitive. For example, in [https://wiki.archlinux.org/index.php?title=Smokeping&diff=prev&oldid=308608] the AUR link was changed to Pkg, but the surrounding text still says that the package is in AUR. These instances can be fixed and "future-proofed" by simply removing the surrounding description of where the package is; see also [[ヘルプ:スタイル#パッケージ管理の記述]]. We currently have no means of automatically tracking this kind of problems, suggestions are welcome.}} |
||
+ | == 新しいページを作成して翻訳する == |
||
− | == Create a new page and its translation == |
||
See [[ArchWiki 翻訳チーム#新しいページを作成して翻訳する]]. |
See [[ArchWiki 翻訳チーム#新しいページを作成して翻訳する]]. |
||
+ | == 議論を他の議論ページに移動する == |
||
− | == Move a discussion to another talk page == |
||
# Copy the discussion text to the destination talk page, making sure to add, between the new heading and the pasted text, a note like: <br> {{ic|<nowiki>''[Moved from [[Origin talk page#Heading]]. -- ~~~~]''</nowiki>}} |
# Copy the discussion text to the destination talk page, making sure to add, between the new heading and the pasted text, a note like: <br> {{ic|<nowiki>''[Moved from [[Origin talk page#Heading]]. -- ~~~~]''</nowiki>}} |
||
# Strike the heading in the origin talk page and replace the content with a note like: <br> {{ic|<nowiki>''[Moved to [[Destination talk page#Heading]]. -- ~~~~]''</nowiki>}} |
# Strike the heading in the origin talk page and replace the content with a note like: <br> {{ic|<nowiki>''[Moved to [[Destination talk page#Heading]]. -- ~~~~]''</nowiki>}} |
||
+ | == カテゴリ名を変更する == |
||
− | == Rename a category == |
||
# Move the category page the same way as you would move a normal page, ensuring a redirect is created from the old title to the new one. This will only rename the category page itself, the members of the category will not be recategorized. |
# Move the category page the same way as you would move a normal page, ensuring a redirect is created from the old title to the new one. This will only rename the category page itself, the members of the category will not be recategorized. |
||
99行目: | 98行目: | ||
# Mark the old category with [[テンプレート:Archive]], without destroying the redirect (the old category is likely still linked from [[目次]]). {{Tip|If the category has no relevant history, it can be deleted by an administrator, after ensuring that steps 2.-4. have actually been performed.}} |
# Mark the old category with [[テンプレート:Archive]], without destroying the redirect (the old category is likely still linked from [[目次]]). {{Tip|If the category has no relevant history, it can be deleted by an administrator, after ensuring that steps 2.-4. have actually been performed.}} |
||
+ | == ページ全体を削除する == |
||
− | == Remove an entire page == |
||
* New but inappropriate page: |
* New but inappropriate page: |
||
114行目: | 113行目: | ||
*# wait at least 7 days; |
*# wait at least 7 days; |
||
*# in absence of objecting discussions, or when these eventually resolve in favor of removal, perform the proposed action; |
*# in absence of objecting discussions, or when these eventually resolve in favor of removal, perform the proposed action; |
||
− | *#* when redirecting, consider following [[# |
+ | *#* when redirecting, consider following [[#ページをリダイレクトした後の議論ページの扱い]] and [[#二重リダイレクトを修正する]]; |
*#* when archiving, follow the instructions in [[ArchWiki:アーカイブ]]. |
*#* when archiving, follow the instructions in [[ArchWiki:アーカイブ]]. |
||
− | == |
+ | == パトロール == |
− | The supervision of the edits made to the wiki can be accomplished in two complementary stages: [[# |
+ | The supervision of the edits made to the wiki can be accomplished in two complementary stages: [[#最近の更新をパトロールする]] and [[#レポートの対処]]. The former stage is where the problems are found and reported, while the latter is where they are finally processed and solved. |
You can engage in one of the two tasks, or even in both if you want, keeping in mind that patrolling the recent changes obviously requires a more constant commitment, while fixing the reports is much more flexible and can be done whenever you find some time. |
You can engage in one of the two tasks, or even in both if you want, keeping in mind that patrolling the recent changes obviously requires a more constant commitment, while fixing the reports is much more flexible and can be done whenever you find some time. |
||
+ | ===最近の更新をパトロールする=== |
||
− | ===Recent changes patrolling=== |
||
There are two main ways you can patrol the recent changes: |
There are two main ways you can patrol the recent changes: |
||
130行目: | 129行目: | ||
* Subscribing to the [https://wiki.archlinux.jp/index.php?title=特別:最近の更新&feed=atom 特別:最近の更新 Atom feed] and checking the edits as soon as you find some time. |
* Subscribing to the [https://wiki.archlinux.jp/index.php?title=特別:最近の更新&feed=atom 特別:最近の更新 Atom feed] and checking the edits as soon as you find some time. |
||
− | For each edit, or group of edits made to the same page, you should assess if it is questionable, according to your experience and knowledge, also taking into account the list of the [[# |
+ | For each edit, or group of edits made to the same page, you should assess if it is questionable, according to your experience and knowledge, also taking into account the list of the [[#一般的な問題と解決法|most frequent problems]]. |
* If you think the edit requires a quick fix that you can perform immediately, just do it. |
* If you think the edit requires a quick fix that you can perform immediately, just do it. |
||
142行目: | 141行目: | ||
}} |
}} |
||
− | === |
+ | ===レポートの対処=== |
− | * If you think you can fix the report, just do it and remove appropriate templates. Read also [[# |
+ | * If you think you can fix the report, just do it and remove appropriate templates. Read also [[#一般的な問題と解決法]]. |
* If otherwise you feel it is better to contact the author of the questionable edit, write him a message in his talk page, or send him an email in order to request an explanation or discuss further. |
* If otherwise you feel it is better to contact the author of the questionable edit, write him a message in his talk page, or send him an email in order to request an explanation or discuss further. |
||
152行目: | 151行目: | ||
*You may consider using an editor assistant (e.g. [[Wiki Monkey]]'s ''Editor'' configuration) in order to solve some common style issues automatically.}} |
*You may consider using an editor assistant (e.g. [[Wiki Monkey]]'s ''Editor'' configuration) in order to solve some common style issues automatically.}} |
||
− | === |
+ | === 一般的な問題と解決法 === |
+ | |||
'''Content-related:''' |
'''Content-related:''' |
||
2020年4月12日 (日) 11:13時点における版
ページに複雑な変更や、他のメンテナンス操作を行うときに使うことができるチェックリストです。
目次
同じページ内でセクションを移動する
The move should be done in a single edit that does not change anything else:
- Open the article in an editor.
- Cut the text to be moved. Do not save the page now, i.e. do not perform the move in two edits, the first removing the section and the second pasting it, or in the second edit it will seem that you are the author of the section, especially if the accompanying edit summary is not clear.
- Paste the cut text at the new position.
- Adapt the heading level if needed, but do not make any other adaptations to the content for the moment, otherwise the modifications will not be visible in the resulting edit diff.
- Save the page, properly writing the edit summary.
- Now you can proceed to editing the section text normally, as required.
セクションを新しいサブページに分割する
This procedure is useful when moving a section of an article that has become too long to a subpage of that article.
- Open the origin article section in an editor.
- Copy the entire section content.
- Open the destination subpage in another editor.
- Paste the copied content in the destination editor without modifications.
- Save the destination subpage with an edit summary like
content split from [[Origin article#Section]]
; make sure to include a link to the original page, or it will seem that you are the author of the content. - In the origin editor, replace the split content with a link to the destination subpage either leaving the section heading in place, or adding a link to the Related articles box of the article.
- Save the origin page with an edit summary like
content moved to [[Destination subpage]]
. - Re-open the destination subpage in an editor.
- Categorize the destination subpage like the origin article.
- Add a link to the origin article at the top, for example
See [[Origin article]] for the main article
. - Adapt the levels of the headings of the new subpage to start from the second level.
- Save the destination subpage with a proper edit summary.
Further advanced additional steps:
- Check and fix any broken links to sections in both the origin and destination pages, and in pages linking to the origin page.
ページをリダイレクトした後の議論ページの扱い
If page A has been redirected to page B, for example after merging the content of A into page B, and Talk:A exists:
- If Talk:B does not exist, move the entire Talk:A to Talk:B, letting MediaWiki automatically redirect Talk:A to Talk:B.
- If Talk:B exists:
- Move the still relevant discussions, if any, from Talk:A to Talk:B.
- Ensure that the discussions left in Talk:A, if any, are closed.
- If Talk:A hosts discussions that have been closed for less than the period specified in ヘルプ:議論#議論を終了する, flag Talk:A with テンプレート:Redirect, so that the page will be redirected to Talk:B after the closing period.
- Else, immediately redirect Talk:A to Talk:B.
二重リダイレクトを修正する
- Read this section to understand what redirects are.
- Check out 特別:二重リダイレクト to see if there are any.
- For example, if you see
Pastebin クライアント (Edit) → 一般的なアプリケーション → アプリケーション一覧
, it means Pastebin クライアント redirects to 一般的なアプリケーション, and 一般的なアプリケーション redirects to アプリケーション一覧. Therefore, Pastebin クライアント is a double redirect. - To fix it, edit Pastebin クライアント and change
#REDIRECT [[一般的なアプリケーション]]
to#REDIRECT [[アプリケーション一覧]]
to skip the middleman. - Enter an edit summary such as
Fixed double redirect
and save.
リンク切れのパッケージリンクを修正する
ArchWiki contains many broken links to packages not found either in 公式リポジトリ or AUR, which is the result of packages being merged, split or removed from the repositories. All pages in the main namespace are regularly checked by a bot, which checks all instances of AUR, Grp and Pkg templates, tries to automatically update them and marks them with テンプレート:Broken package link when it is not possible to update them automatically.
To fix a broken package link, do not simply remove the reference to the packages from the wiki, do some research first:
- Search the package database (
pacman -Ss
) and AUR, it is possible that the package was merged/renamed. - If looking for a specific file, for example a binary that was part of the package, pkgfile might do the trick.
- If unsure, mark the page or section with an appropriate status template rather than completely removing the reference to the package.
To help with manual updates, each "broken package link" template provides a hint:
- "invalid number of template parameters" – All AUR, Grp and Pkg templates take exactly one parameter, but the wikitext specified more (or none). In most cases the excessive parameters should be moved to the surrounding text, or removed if already there.
- "replaced with [other package]" – The package was renamed or merged into another, which specifies the old package name in the replaces array. In most cases the old package should be simply replaced with the new one and surrounding text updated accordingly.
- "archived in aur-mirror" – Marks old AUR3 packages, which were not submitted to AUR4, or were deleted since then. You may consider resubmitting them to the AUR if interested in maintaining them.
- "package not found" – Default hint when none of the above applies.
All pages with broken package links are tracked in カテゴリ:パッケージリンクが存在しないページ. There is also an automatic report page at.
新しいページを作成して翻訳する
See ArchWiki 翻訳チーム#新しいページを作成して翻訳する.
議論を他の議論ページに移動する
- Copy the discussion text to the destination talk page, making sure to add, between the new heading and the pasted text, a note like:
''[Moved from [[Origin talk page#Heading]]. -- ~~~~]''
- Strike the heading in the origin talk page and replace the content with a note like:
''[Moved to [[Destination talk page#Heading]]. -- ~~~~]''
カテゴリ名を変更する
- Move the category page the same way as you would move a normal page, ensuring a redirect is created from the old title to the new one. This will only rename the category page itself, the members of the category will not be recategorized.
- Recategorize all members of the old category to use the new one.
- Update all interlanguage links.
- Update all backlinks of the old category to refer to the new one.
- Mark the old category with テンプレート:Archive, without destroying the redirect (the old category is likely still linked from 目次).
ページ全体を削除する
- New but inappropriate page:
- if inappropriate because of spam or other clearly malicious content (evaluation is made by an Administrator), it is deleted right away;
- in the other cases, e.g. irrelevance to Arch, the article should be:
- marked with テンプレート:Merge; or
- marked with テンプレート:Redirect; or
- marked to be moved as a subpage of its author's User page with テンプレート:Move (or moved right away).
- Old article become obsolete:
- mark with with one of the following, in order of preference:
- wait at least 7 days;
- in absence of objecting discussions, or when these eventually resolve in favor of removal, perform the proposed action;
- when redirecting, consider following #ページをリダイレクトした後の議論ページの扱い and #二重リダイレクトを修正する;
- when archiving, follow the instructions in ArchWiki:アーカイブ.
パトロール
The supervision of the edits made to the wiki can be accomplished in two complementary stages: #最近の更新をパトロールする and #レポートの対処. The former stage is where the problems are found and reported, while the latter is where they are finally processed and solved.
You can engage in one of the two tasks, or even in both if you want, keeping in mind that patrolling the recent changes obviously requires a more constant commitment, while fixing the reports is much more flexible and can be done whenever you find some time.
最近の更新をパトロールする
There are two main ways you can patrol the recent changes:
- Visiting 特別:最近の更新 at regular intervals, checking all the edits that have been made since the previous visit.
- Subscribing to the 特別:最近の更新 Atom feed and checking the edits as soon as you find some time.
For each edit, or group of edits made to the same page, you should assess if it is questionable, according to your experience and knowledge, also taking into account the list of the most frequent problems.
- If you think the edit requires a quick fix that you can perform immediately, just do it.
- If instead the edit is questionable but you cannot fix it, you should look if it has already been flagged with appropriate template:
- If not, add appropriate template to appropriate section describing the problem.
- In case the edit has already been reported, see if you can add useful details to the accompanying note or discussion.
レポートの対処
- If you think you can fix the report, just do it and remove appropriate templates. Read also #一般的な問題と解決法.
- If otherwise you feel it is better to contact the author of the questionable edit, write him a message in his talk page, or send him an email in order to request an explanation or discuss further.
一般的な問題と解決法
Content-related:
- Removal of useful content: undo or contact the author.
- Unexplained modification or removal of content: contact the author.
- Major modification (usually in a single bulky edit) without sufficient explanation: contact the author.
Style-related:
- Signature, credits, personal observations in articles: undo or move to talk page.
- Start headings from level 1: move all sections up 1 level.
- Uncategorized new article: add category and fix header.
- Improper use of templates: fix according to ヘルプ:スタイル.
- Addition of installation instructions: undo or comply with ヘルプ:スタイル.