手册:数据库不一致

This page is a translated version of the page Manual:Database inconsistencies and the translation is 43% complete.

Database inconsistencies occur when, for example, primary keys stored in other fields no longer point to a row that exists. This can happen after a database import ends prematurely, for example. In that case, page.page_latest might point to a revision that hasn't been imported, and users trying to read the page might get an error message stating "The revision #0 of the page named '[page name]" does not exist. This is usually caused by following an outdated history link to a page that has been deleted. 细节可以在删除日志中查看。 findAnomalies.php 可被用于寻找失踪的版本。