Help:Edit protection/Technical notes

From semantic-mediawiki.org

Some notes about the technical implementation to support edit protection12 in Semantic MediaWiki.

  • Hook: TitleQuickPermissions to be checked in Title::checkQuickPermissions
    • PermissionPthValidator to carry out the permission check and return appropriate results to the hook interface
      • EditProtectionValidator handles the lookup and validation of the Is edit protected property value assignment
  • Hook: ArticleProtectComplete to handle changes invoked by the protection menu
  • Hook: ParserAfterTidy

References

  1. ^  Semantic MediaWiki: GitHub pull request gh:smw:2232
  2. ^  Semantic MediaWiki: GitHub pull request gh:smw:2249

Cookies help us deliver our services. By using our services, you agree to our use of cookies.