Edit protection/Technical notes

From semantic-mediawiki.org
Jump to: navigation, search
Edit protectionEdit 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