Manual:$wgDBtransactions/zh

如果您使用的是InnoDB表，请将其设置为true以禁用MediaWiki的查询回退机制.

细节
创建或编辑页面时使用此变量.

某些表引擎（如MyISAM）不支持事务. Transaction support means that when a change to the database (possibly built up of multiple queries) should be made, the table engine makes sure that it is either done completely or not at all, but not partly. MyISAM does not support this feature, so that the situation can occur where a set of queries has been partly executed leaving the data in the DB in inconsistent state. In this case, if  is set to false, MediaWiki rolls back an incomplete transaction to fix this problem.

Other table engines (like InnoDB) support transactions; that means that the table engine itself checks if a transaction finished correctly. If it did not, the engine does a rollback automatically, so that the data in the DB is kept consistent (without MediaWiki having to take additional steps).

For details see, function.