Topic on Extension talk:Semantic MediaWiki

Developing an extension in Semantic MediaWiki

2
Tilottama Sen (talkcontribs)

We need to write some validation logic to validate data that has been entered in the PageForms of SMW before saving it to the database. We are suing MediaWiki 1.34. I came across this : https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/master/docs/architecture/developing.extension.md

and have been trying to follow the instructions to write a custom extension.

a) I want to confirm that this is the right way to proceed.

b) Are there any instructions on how i can deploy this extension to my installation of Semantic MediaWiki ?

c) Is it possible to call an external service endpoint from SMW when an event is triggered. We want to define the validation rules using Shacl and would like validate the data entered against Shacl rules - any suggestions on how this can be done would be very helpful.

Thank you for your help!

Phofx (talkcontribs)

Please don't "sue" Mediawiki, its the best bunch of folks around :-)

Reply to "Developing an extension in Semantic MediaWiki"