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:
TitleQuickPermissionsto be checked inTitle::checkQuickPermissionsPermissionPthValidatorto carry out the permission check and return appropriate results to the hook interfaceEditProtectionValidatorhandles the lookup and validation of theIs edit protectedproperty value assignment
- Hook:
ArticleProtectCompleteto handle changes invoked by the protection menuEditProtectionUpdaterto correct the protection level setting in alignment with the "Is edit protected" special property
- Hook:
ParserAfterTidyEditProtectedPropertyAnnotatorupdates 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