Re: [SMW-devel] Initializing extension

2019-10-15 Thread Robert Vogel
Hi! you probably will want to implement a `LoadExtensionSchemaUpdates`[1] hook handler. Have a look at [2] for an example implementation. This code is only executed when `maintenance/update.php` runs. [1] https://www.mediawiki.org/wiki/Manual:Hooks/LoadExtensionSchemaUpda tes [2] https://github.c

[SMW-devel] Initializing extension

2019-10-15 Thread Sebastian Trueg
Hi everyone, maybe (hopefully) a trivial question: how can I initialize my extension once on server startup? I need to create a set of properties and templates that my extension is using. Currently I am using "ExtensionFunctions" in extension.json but that is called with every request. Is there