Manual:Null revision

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
English • ‎日本語

A null revision is created when certain actions are performed on pages or their revisions. The null revision has the same revision.rev_text_id as its parent. It causes the log event to be displayed in the page history. These are created by Revision::newNullRevision().

Log events that create null revisions[edit]

  • Imports
  • Page moves
  • Page protection, unprotection, or changing protection level

Log events that do not create null revisions[edit]

  • Changing visibility of deletions (RevisionDelete )
  • Merges
  • Page deletions
  • Page restorations
  • Patrol events