Help:Procedures (简体中文)
记录如何对文章执行复杂操作.
Contents
在同一个页面移动段落
- 在编辑器中打开文章.
- 剪切要移动的段落,不要 立即保存,这样的话移动操作是在两个编辑里面,看上去你就成了段落的原始作者,不便于历史记录查询。
- 在新位置粘贴段落.
- 调整段落的层级,但是 不要 做其它调整和修改,否则编辑差异中就看不清楚到底改了什么。
- 加上编辑摘要,保存页面.
- 按照需要正常编辑段落.
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.
- 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'", where 'Origin article#Section' is an internal link.
- 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'" where 'Destination subpage' is an internal link.
- 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", where 'Origin article' is an internal link.
- 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 Help:Discussion#Closing a discussion, flag Talk:A with Template: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 Special:DoubleRedirects to see if there are any.
- For example, if you see
Pastebin Clients (Edit) → Common Applications → List of applications
, it means Pastebin Clients redirects to Common Applications, and Common Applications redirects to List of applications. Therefore, Pastebin Clients is a double redirect. - To fix it, edit Pastebin Clients and change
#REDIRECT [[Common Applications]]
to#REDIRECT [[List of applications]]
to skip the middleman. - Enter an edit summary such as
Fixed double redirect
and save.
创建新页面和翻译
See ArchWiki Translation Team#Create a new page and its translation.
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:
[Moved from Origin_talk_page#Heading. -- Signature and timestamp] - Strike the heading in the origin talk page and replace the content with a note like:
[Moved to Destination_talk_page#Heading. -- Signature and timestamp]
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.
- 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 Template:Archive, without destroying the redirect (the old category is likely still linked from Table of contents).
删除一个页面
- 新页面,但是不合适
- 如果是因为 spam 或恶意的内容 (管理员进行判断), 立即删除;
- 其它情况,应该:
- 标记 Template:Merge; 或
- 标记 Template:Redirect; 或
- 移动到作者的用户页面.
- 过时的老页面:
- 从下面标记选择一种:
- 等待至少 7 天;
- 如果没有人讨论反对,或者经过讨论同意删除,执行操作;
- 执行重定向时,同时要考虑 #重定向后处理讨论页面 和 #修正双重重定向;
- 执行归档时,按照 ArchWiki:Archive 中的指令执行.