Semantic MediaWiki and related extensions
`src/Constraint`

Property constraint

To add a new constraint (let's say represented by foo_contraint) it is expected that:

When adding new constraints, please ensure that:

TYPE_DEFERRED

When a constraint is expected to be expensive (in terms of performance, runtime) it should be postponed and be derived from the DeferrableConstraint class to ensure that those checks are run using the DeferredConstraintCheckUpdateJob hereby avoiding unnecessary resource hogging during a page view/GET process.

See also


About | General disclaimer | Privacy policy