Hooks

From semantic-mediawiki.org

This document contains details about event handlers (also known as Hooks) provided by Semantic MediaWiki to enable users to extent and integrate custom specific solutions.

Available hooks

Implementing a hook should be made in consideration of the expected performance impact for the front-end (additional DB read/write transactions etc.) and/or the back-end (prolonged job backlog etc.) process.

Setup and registry

Store

Property tables

Installer

Query

Parser, annotations, and revision

Miscellaneous

Deprecated hooks

  • smwInitDatatypes (since 1.9)
  • smwInitProperties (since 2.1)
  • smwShowFactbox (since 2.1)
  • smwRefreshDataJobs (since 2.3)
  • smwUpdatePropertySubjects (since 1.9)
  • smwAddToRDFExport (since 3.0)
  • SMWSQLStore3::updateDataBefore (since 3.1)
  • SMWSQLStore3::updateDataAfter (since 2.3)
  • SMWStore::updateDataBefore (since 3.1)
  • SMWStore::updateDataAfter (since 3.1)
  • SMWResultFormat (since 3.1)

See also[edit]