Jump to content

Help:虚编辑

From mediawiki.org
This page is a translated version of the page Help:Dummy edit and the translation is 70% complete.

虚编辑

虚编辑相对小编辑来说更小,它仅涉及对页面的维基文本进行微小更改且不会显著影响页面显示的编辑。

用法

  1. 纠正编辑摘要 - 如果之前的编辑摘要不准确,例如一个编辑被错误地标记为“小编辑 ”,则可以使用虚拟编辑来纠错而不必修改页面内容 此时,页面历史记录 中就会出现一个有用的编辑摘要。
  2. 引导交流 - 虚拟编辑也可以通过文字传递信息,引导编者就其错误在讨论页 上进行相关讨论,以便更好地解决问题。 例如,讨论页里正在对某个条目的某个地方进行辩论,此时您可以对该部分进行虚编辑,并在编辑摘要中添加注释,如“请参阅相关的讨论页”这样的。 这会令编者们注意他们的讨论,并鼓励他们共同参与以解决问题。

指引

  1. 要谨慎使用虚编辑,避免在一段漫长的讨论中使用。 已登录的编者应将虚编辑标记为“小编辑”,除非这一次编辑活动纠正了之前误记为“小编辑”的编辑。
  2. 每次编辑的摘要限制为500字。

虚编辑示例

Adding a newline without altering the content of the text.
A dummy edit involves simple formatting changes, like converting a space to a line break or vice versa and adding or deleting a single blank line after headers. However, introducing two consecutive newlines creates a new paragraph, invalidating the dummy edit. Also, adding newlines to the end of the article doesn't count as a dummy edit.
Modifying the number of spaces
Modifying the number of spaces, from one to two or more, or vice versa, does not affect the rendered page. Multiple spaces are always displayed as a single space, except when the line begins with a leading space. (See Help:Wikitext examples).

零编辑

“零编辑”是指不对内容进行任何更改而直接保存页面的行为。 通常用于刷新页面缓存。 不像一般的编辑,零编辑不会显示在页面历史或最近更改页面中。 同时,零编辑时写的所有编辑摘要都会作废。

当分类通过模板引入时,零编辑对于更新分类页面很有用。 清除缓存并不保证会更新类别内容。与清除缓存不同,零编辑能确保对模板所做的任何的更改都能在引用它的页面上准确反映出来。

The most useful aspect of a null edit is its ability to update category pages, particularly when categories are transcluded via templates. When a category has been added to or removed from a template since its last transclusion on a page, simply purging the cache won't update the category contents. However, executing a null edit on the page (not the category itself) accomplishes this. This behavior is evident when categories are managed through templates. See How to add a category by utilizing a template .

零编辑示例

打开编辑窗口,不做任何更改,直接保存
这样就构成了一次零编辑。 虽然这样有时会意外导致出现带有空白编辑摘要的虚编辑。
在页面末尾换行
仅仅在页面末尾添加新的一行,会在保存时被忽略,因此可视为零编辑。 即使在编辑页面的特定章节 时也是如此。

参见