Help:Edit protection



Semantic MediaWiki 2.5.0 provides an integrationCiteRef::gh:smw:2232CiteRef::gh:smw:2249 with MediaWiki's page protection functionality to help avoid changes to properties or other data sensitive pages from alterations that may cause data invalidations (e.g. change of a property type, inconsistent specifications etc.) or process disruptions.

Objective
The objective is to allow a data curator to promote an editing process that avoids accidental modifications and helps keeping specifications or data structures consistent to the point where it is changed by a user with an appropriate authorization.

For example, in case Semantic MediaWiki is used to create and manage ontologiesCiteRef::voß:2016:kos, protecting instances that describe those concepts from unauthorized changes is vital to ensure the stability of provided descriptions.

Features and limitations
In the following section, any references made to the right is done with an understanding that the  configuration parameter contains an appropriate assignment (and for the examples below uses user right " " as default).


 * The predefined special property "Is edit protected" CiteRef::gh:smw:2232 generally indicates the protection status against the assigned right and further allows pages to be queryable that contains an edit protection.
 * The protection level is checked against the user right " ", " ", " ", and " " to avoid changes to content that is protected by the assigned right.
 * The protection status is indicated with an lock icon on the top right of the respective page (see fig. 4). On property pages also and additional highlighted message is shown informing about the respective protection status (see figs. 2 and 3).

The expected behavior of the "protect" action and special property "Is edit protected" are outlined as:

Using the "protect" action

 * If in the protect form the "smw-pageedit" level is selected then as a result, the subject is annotated with the value "true" for special property "Is edit protected".
 * An altered or deselected "smw-pageedit" protection forces the "Is edit protected" special property to be removed (no "false" value since the status is no longer associated with an edit protection) given that no manual annotation for special property "Is edit protected" exists.