... | ... | @@ -239,3 +239,23 @@ npm install restbase-mod-table-sqlite --no-bin-links |
|
|
npm install npmlog
|
|
|
tail -f /vagrant/logs/restbase.log # check if no other module is missing
|
|
|
```
|
|
|
|
|
|
|
|
|
# some MediaWiki hooks
|
|
|
## before editing existing page
|
|
|
* **EditFormInitialText**: Allows modifying the edit form when editing existing pages
|
|
|
* $editPage: EditPage object
|
|
|
|
|
|
## before editing a new page
|
|
|
* **EditFormPreloadText**: Allows population of the edit form when creating new pages
|
|
|
* &$text: Text to preload with
|
|
|
* &$title: Title object representing the page being created
|
|
|
|
|
|
* **EditPageBeforeEditToolbar**: Allows modifying the edit toolbar above the textarea in the edit form.
|
|
|
* &$toolbar: The toolbar HTML
|
|
|
* Hook subscribers can return false to avoid the default toolbar code being loaded.
|
|
|
|
|
|
* **EditPageBeforeEditButtons**: Allows modifying the edit buttons below the textarea in the edit form.
|
|
|
* &$editpage: The current EditPage object
|
|
|
* &$buttons: Array of edit buttons "Save", "Preview", "Live", and "Diff"
|
|
|
* &$tabindex: HTML tabindex of the last edit check/button |
|
|
\ No newline at end of file |