diff options
Diffstat (limited to 'www/wiki/extensions/SemanticMediaWiki/docs/technical/code-snippets/README.md')
-rw-r--r-- | www/wiki/extensions/SemanticMediaWiki/docs/technical/code-snippets/README.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/www/wiki/extensions/SemanticMediaWiki/docs/technical/code-snippets/README.md b/www/wiki/extensions/SemanticMediaWiki/docs/technical/code-snippets/README.md new file mode 100644 index 00000000..21362938 --- /dev/null +++ b/www/wiki/extensions/SemanticMediaWiki/docs/technical/code-snippets/README.md @@ -0,0 +1,10 @@ + +## Examples and code snippets + +* [register.datatype.md](register.datatype.md) Shows how to register a new dataType/dataValue +* [approve.update.md](approve.update.md) Shows how to alter the data representation in Semantic MediaWiki with the help of selected hooks in connection with the `ApprovedRevs` extension + +### Using hooks + +* [hook.datatype.inittypes.md](hook.datatype.inittypes.md) Shows how to register a new dataType/dataValue using the the `SMW::DataType::initTypes` hook +* [hook.pagecontentsavecomplete.md](hook.pagecontentsavecomplete.md) Creating subobjects using the `PageContentSaveComplete` hook (see [#2974](https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/2974)) |