Manual:Προστασία

This page is a translated version of the page Manual:Protection and the translation is 40% complete.

Η Προστασία χρησιμοποιείται για να περιοριστούν οι αλλαγές μιας σελίδα (επεξεργασία ή μετακίνηση), την δημιουργία μιας σελίδας, ή η επιφόρτωση ενός αρχείου.

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.

Βάση δεδομένων

Information about protected pages or titles is stored in the page_restrictions table (for editing restrictions on existing pages), or the protected_titles table (for page creation protection).

Ειδικές σελίδες

Μια λίστα προστατευμένων σελίδων μπορούν να βρεθούν στο Special:ProtectedPages. Μια λίστα προστατευμένων τίτλων μπορούν να βρεθούν στο Special:ProtectedTitles.

API

A page can be protected with the protect API.

A list of protected pages can be retrieved with the allpages API, using the apprtype parameter. A list of protected non-existing titles (pages which have been protected to prevent their creation) can be retrieved with the protectedtitles API.

Protection levels of a title can be retrieved with the info API, using inprop=protection.

Maintenance scripts

The protect.php maintenance script can be used to protect and unprotect pages from the command line.

Hooks

Δείτε επίσης