Manual:Dummy revision/zh

A dummy revision (previously also known as null revision) is a special type of page revision that does not change the page's content. Dummy revisions cannot be created directly by users, they are created implicitly as a side effect of certain actions performed on a page, in order to show a log entry in the page history. In the database, the dummy revision is associated with the same rows in the content table as its parent.

The preferred way to create a dummy revision is PageUpdater::saveDummyRevision().

Dummy revisions are distinct from "null edits ", which do not create an entry in the page history.

创建虚拟修订的操作

  • “导入页面”操作
  • 页面移动
  • 页面保护、移除保护或更改保护

不会创建虚拟修订的操作

以下操作只会生成日志事件,而不会产生任何修订

  • Changing visibility of deletions

(修订版本删除)

  • 合并历史
  • 页面删除
  • 页面还原
  • 巡查事件