Basic Principles: Difference between revisions
From SemanticOrganization
(→Users) |
|||
Line 47: | Line 47: | ||
|default={{int:semorg-list-meeting-default-past}} | |default={{int:semorg-list-meeting-default-past}} | ||
}}</nowiki> | }}</nowiki> | ||
==== GDPR Processings ==== | |||
To enable meetings add <code>GDPR Processings</code> to [[Mediawiki:Tweeki-navbar-left]]. | |||
Click on the new link in the navigation to create the page and add the following content: | |||
<nowiki>{{semorg-breadcrumbs|active={{FULLPAGENAME}}}} | |||
__TOC__ | |||
<h3>{{int:semorg-list-gdpr-processing-overview-heading}}</h3> | |||
{{#semorg-formlink:gdpr-processing}} | |||
{{#semorg-list:gdpr-processing}} | |||
<h3>{{int:semorg-list-gdpr-processing-details-heading}}</h3> | |||
{{#ask:[[category:semorg-gdpr-processing]] | |||
|mainlabel=page | |||
|?semorg-gdpr-processing-name=name | |||
|?semorg-gdpr-processing-purpose=purpose | |||
|?semorg-gdpr-processing-legal-basis=legal-basis | |||
|?semorg-gdpr-processing-application=application | |||
|?semorg-gdpr-processing-department=department | |||
|?semorg-gdpr-processing-responsible=responsible | |||
|?semorg-gdpr-processing-documents=documents | |||
|?semorg-gdpr-processing-measures=measures | |||
|?semorg-gdpr-processing-access=access | |||
|named args=yes | |||
|link=none | |||
|format=template | |||
|template=semorg-gdpr-processing-details | |||
}} | |||
</nowiki> | |||
=== Connecting Templates, Forms, Categories === | === Connecting Templates, Forms, Categories === |
Revision as of 09:34, 12 December 2018
Enabling Features
Users
To enable user pages add Users
to Mediawiki:Tweeki-navbar-left.
Click on the new link in the navigation to create the page and add the following content:
{{#semorg-forminput:person-user |returnto={{FULLPAGENAME}} }} {{#semorg-list:person |category=semorg-person-user |row template=person-user }}
Groups
To enable groups add Groups
to Mediawiki:Tweeki-navbar-left.
Click on the new link in the navigation to create the page and add the following content:
{{#semorg-forminput:group}} {{#semorg-list:group}}
Meetings
To enable meetings add Meetings
to Mediawiki:Tweeki-navbar-left.
Click on the new link in the navigation to create the page and add the following content:
{{#semorg-formlink:meeting}} === {{int:semorg-list-meeting-current-heading}} === {{#semorg-list:meeting |query=[[Semorg-meeting-date::>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}]] }} === {{int:semorg-list-meeting-past-heading}} === {{#semorg-list:meeting |query=[[Semorg-meeting-date::<{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}]] |order=desc |default={{int:semorg-list-meeting-default-past}} }}
GDPR Processings
To enable meetings add GDPR Processings
to Mediawiki:Tweeki-navbar-left.
Click on the new link in the navigation to create the page and add the following content:
{{semorg-breadcrumbs|active={{FULLPAGENAME}}}} __TOC__ <h3>{{int:semorg-list-gdpr-processing-overview-heading}}</h3> {{#semorg-formlink:gdpr-processing}} {{#semorg-list:gdpr-processing}} <h3>{{int:semorg-list-gdpr-processing-details-heading}}</h3> {{#ask:[[category:semorg-gdpr-processing]] |mainlabel=page |?semorg-gdpr-processing-name=name |?semorg-gdpr-processing-purpose=purpose |?semorg-gdpr-processing-legal-basis=legal-basis |?semorg-gdpr-processing-application=application |?semorg-gdpr-processing-department=department |?semorg-gdpr-processing-responsible=responsible |?semorg-gdpr-processing-documents=documents |?semorg-gdpr-processing-measures=measures |?semorg-gdpr-processing-access=access |named args=yes |link=none |format=template |template=semorg-gdpr-processing-details }}
Connecting Templates, Forms, Categories
- the form defines the templates that should be created/edited with it:
{{{for template|semorg-meeting}}} … {{{end template}}}
- the template sets the corresponding category:
[[Category:semorg-meeting]]
- the category sets the form for the pages in the category:
{{#default_form:semorg-meeting}}
Customization
Use system messages to alter the appearance of forms and templates, e.g.
- change MediaWiki:Semorg-form-meeting-rows to change the fields to be displayed in the editing form for Meetings
Your custom form
- copy the contents of
Form:Semorg-meeting
toForm:MyMeeting
- change MediaWiki:Semorg-meeting-form to
MyMeeting
- change MediaWiki:Semorg-meeting-form to
Your custom template
- copy the contents of
Template:Semorg-meeting
toTemplate:MyMeeting
- change MediaWiki:Semorg-meeting-template to
MyMeeting
- change MediaWiki:Semorg-meeting-template to
Your custom category
- copy the contents of
Category:Semorg-meeting
toCategory:MyMeeting
- change MediaWiki:Semorg-meeting-category to
MyMeeting
- change MediaWiki:Semorg-meeting-category to