Help:Edit protection/Technical notes
From semantic-mediawiki.org
< Help:Edit protection(Redirected from Help:Edit protection/Technical notes)
Some notes about the technical implementation to support edit protection12 in Semantic MediaWiki.
- Hook:
TitleQuickPermissions
to be checked inTitle::checkQuickPermissions
PermissionPthValidator
to carry out the permission check and return appropriate results to the hook interfaceEditProtectionValidator
handles the lookup and validation of theIs edit protected
property value assignment
- Hook:
ArticleProtectComplete
to handle changes invoked by the protection menuEditProtectionUpdater
to correct the protection level setting in alignment with the "Is edit protected" special property
- Hook:
ParserAfterTidy
EditProtectedPropertyAnnotator
updates the special property "Is edit protected" annotation and the page status indicator
References
- ^ Semantic MediaWiki: GitHub pull request gh:smw:2232
- ^ Semantic MediaWiki: GitHub pull request gh:smw:2249