Help:Procedures (简体中文)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
记录如何对文章执行复杂操作.
在同一个页面移动段落
- 在编辑器中打开文章.
- 剪切要移动的段落,不要 立即保存,这样的话移动操作是在两个编辑里面,看上去你就成了段落的原始作者,不便于历史记录查询。
- 在新位置粘贴段落.
- 调整段落的层级,但是 不要 做其它调整和修改,否则编辑差异中就看不清楚到底改了什么。
- 加上编辑摘要,保存页面.
- 按照需要正常编辑段落.
拆分页面
按下面流程将太长的页面分拆一部分到子页面:
- 在编辑器中打开原始页面.
- 复制需要分拆的段落.
- 在另外的编辑页面打开目标子页面.
- 在目标页面粘贴复制的段落,不要 任何修改.
- 保存目标页面,在编辑摘要里记录 "content split from 'Origin article#Section'",其中 'Origin article#Section' 是内部链接
- 在原始编辑器中,将原内容替换为新子页面的链接,保留标题,或将链接接加到相关文章列表
- 保存原页面,编辑摘要中记录 "content moved to 'Destination subpage'" 其中 'Destination subpage' 是内部链接.
- 重新在编辑器中打开目标子页面.
- 给子页面一个和主页面一样的分类.
- 在顶部添加到原始页面的链接,例如 "See 'Origin article' for the main article"。
- 修正新页面的段落层级,从第二级开始。提示: 可以通过 Wiki Monkey 插件自动完成。
- 保存目标页面,加上编辑摘要.
更高级的步骤:
- 检查和修正所有破损的链接,可以通过 Wiki Monkey 插件自动完成。
重定向后处理讨论页面
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.
提示: This task can be done automatically with Wiki Monkey's plugin.
创建新页面和翻译
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]
重命名分类
- 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. 提示: This can be done automatically with a script, which relies on the redirect from the old category to detect the new name and thus it is not limited to changes in capitalization or similar heuristics.
- Update all interlanguage links. 提示: This can be done automatically with a script or Wiki Monkey's bot plugin.
- Update all backlinks of the old category to refer to the new one. 提示: This can be done automatically by running Wiki Monkey's RegExp substitution plugin on the old category's Special:WhatLinksHere page, with a substitution like
(\[\[|\{\{Related2?\|):[ _]*[Cc]ategory[ _]*:[ _]*[Oo]ld[ _]name[ _]*(#|\||\]\]|\}\})
->$1:Category:New name$2
(assuming the old category name is "Category:Old name"). - Mark the old category with Template:Archive, without destroying the redirect (the old category is likely still linked from Table of contents). 提示: If the category has no relevant history, it can be deleted by an administrator, after ensuring that steps 2.-4. have actually been performed.
删除一个页面
- 新页面,但是不合适
- 如果是因为 spam 或恶意的内容 (管理员进行判断), 立即删除;
- 其它情况,应该:
- 标记 Template:Merge; 或
- 标记 Template:Redirect; 或
- 移动到作者的用户页面.
- 过时的老页面:
- 从下面标记选择一种:
- 等待至少 7 天;
- 如果没有人讨论反对,或者经过讨论同意删除,执行操作;
- 执行重定向时,同时要考虑 #重定向后处理讨论页面 和 #修正双重重定向;
- 执行归档时,按照 ArchWiki:Archive 中的指令执行.