This is the development version for the new mwstake.org/wiki.
Event "Session 2022-09-08 : Get help setting up the boiler plate extension"
C1538872733
Jump to navigation
Jump to search
In this session we want to gather all the code and settings for showcasing all potential extension functionalities. In a second step I will document those and allocate them into packages that are optimized for the task at hand (e.g. beginner vs. professional)
|
In this context |
Goal
In an extension, set up an onPageSaveComplete
hook that
- adds a job (A, B) to
JobQueueGroup
- logs the action to a special file (https://github.com/dataspects/DataspectsSearch/blob/master/src/DataspectsSearchFeed.php)
w$ tail -f ???
- is covered by tests (https://github.com/dataspects/DataspectsSearch/blob/master/tests/phpunit/unit/HooksTest.php)
php tests/phpunit/phpunit.php extensions/DataspectsSearch/tests/phpunit/unit/HooksTest.php