Help:Edit protection/Technical notes

From semantic-mediawiki.org
< Help:Edit protection(Redirected from Help:Edit protection/Technical notes)
Edit protectionHelp:Edit protection/Technical notes

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