Manual:Protection/zh

保护用于限制对页面做出更改（编辑或移动），创建页面或上传一个文件.

MediaWiki handles existing and not-existing pages differently, because not-existing pages don't have a page ID. That's why protection information is stored in two different tables, and listing of such pages are separate.

Database
Information about protected pages or titles is stored in the and  tables.

Special pages
A list of protected pages can be found at Special:ProtectedPages. A list of protected titles can be found at Special:ProtectedTitles.

API
A page can be protected with the API.

A list of protected pages can be retrieved with the API, using the   parameter. A list of protected titles can be retrieved with the API.

维护脚本
The maintenance script can be used to protect and unprotect pages from the command line.

Hooks

 * - occurs whenever the software receives a request to protect an article
 * - occurs after the protect article request has been processed