Gdpr-processing: Difference between revisions
From SemanticOrganization
m (Admin moved page Gdrp-processing to Gdpr-processing without leaving a redirect) |
m (Text replacement - "{{Generator" to "{{Semorg-generator") |
||
Line 1: | Line 1: | ||
{{ | {{Semorg-generator | ||
|template-id=GP | |template-id=GP | ||
|template-fields={{ | |template-fields={{Semorg-generator-field | ||
|field-id=name | |field-id=name | ||
|field-property-id=NA | |field-property-id=NA | ||
|field-type=txt | |field-type=txt | ||
}}{{ | }}{{Semorg-generator-field | ||
|field-id=purpose | |field-id=purpose | ||
|field-property-id=PU | |field-property-id=PU | ||
|field-type=txt | |field-type=txt | ||
}}{{ | }}{{Semorg-generator-field | ||
|field-id=legal-basis | |field-id=legal-basis | ||
|field-property-id=LB | |field-property-id=LB | ||
|field-type=txt | |field-type=txt | ||
}}{{ | }}{{Semorg-generator-field | ||
|field-id=application | |field-id=application | ||
|field-property-id=AP | |field-property-id=AP | ||
|field-type=txt | |field-type=txt | ||
}}{{ | }}{{Semorg-generator-field | ||
|field-id=department | |field-id=department | ||
|field-property-id=DP | |field-property-id=DP | ||
|field-type=wpg | |field-type=wpg | ||
}}{{ | }}{{Semorg-generator-field | ||
|field-id=responsible | |field-id=responsible | ||
|field-property-id=RE | |field-property-id=RE | ||
|field-type=wpg | |field-type=wpg | ||
}}{{ | }}{{Semorg-generator-field | ||
|field-id=documents | |field-id=documents | ||
|field-property-id=DO | |field-property-id=DO | ||
|field-type=txt | |field-type=txt | ||
}}{{ | }}{{Semorg-generator-field | ||
|field-id=measures | |field-id=measures | ||
|field-property-id=ME | |field-property-id=ME | ||
|field-type=txt | |field-type=txt | ||
}}{{ | }}{{Semorg-generator-field | ||
|field-id=access | |field-id=access | ||
|field-property-id=AC | |field-property-id=AC |
Revision as of 09:18, 31 October 2018
Messages
"semorg-gdpr-processing-template": "semorg-gdpr-processing", "semorg-gdpr-processing-category": "semorg-gdpr-processing", "semorg-gdpr-processing-form": "semorg-gdpr-processing", "semorg-form-gdpr-processing-create-title": "Create Gdpr-processing", "semorg-form-gdpr-processing-edit-title": "Edit Gdpr-processing", "semorg-form-gdpr-processing-template": "gdpr-processing", "semorg-form-gdpr-processing-rows": "access, measures, name, responsible, application, documents, department, legal-basis, purpose", "semorg-list-gdpr-processing-headers": "gdpr-processing-access, gdpr-processing-measures, gdpr-processing-name, gdpr-processing-responsible, gdpr-processing-application, gdpr-processing-documents, gdpr-processing-department, gdpr-processing-legal-basis, gdpr-processing-purpose", "semorg-field-gdpr-processing-access-name": "", "semorg-field-gdpr-processing-access-parameters": "", "semorg-field-gdpr-processing-application-name": "", "semorg-field-gdpr-processing-application-parameters": "", "semorg-field-gdpr-processing-department-name": "", "semorg-field-gdpr-processing-department-parameters": "", "semorg-field-gdpr-processing-documents-name": "", "semorg-field-gdpr-processing-documents-parameters": "", "semorg-field-gdpr-processing-legal-basis-name": "", "semorg-field-gdpr-processing-legal-basis-parameters": "", "semorg-field-gdpr-processing-measures-name": "", "semorg-field-gdpr-processing-measures-parameters": "", "semorg-field-gdpr-processing-name-name": "", "semorg-field-gdpr-processing-name-parameters": "", "semorg-field-gdpr-processing-purpose-name": "", "semorg-field-gdpr-processing-purpose-parameters": "", "semorg-field-gdpr-processing-responsible-name": "", "semorg-field-gdpr-processing-responsible-parameters": "",
Form
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{{info |create title={{int:semorg-form-gdpr-processing-create-title}} |edit title={{int:semorg-form-gdpr-processing-edit-title}}<span class="d-none">: <page name></span> |page name= }}} {{semorg-form-template|gdpr-processing}} {{semorg-form-standard-inputs}} </includeonly>
as embedded:
Use this code, if this is not meant to be a standalone feature but rather a supplement that should be embedded in other forms. Add this line to a form definition that includes a field with the parameter holds template
. The second parameter of the semorg-form-template-embed
call should be the target field, specified with <feature>[<field>]
(e.g. meeting-group[files]
or {{int:semorg-meeting-group-template}}[files]
to respect template customization).
{{semorg-form-template-embed|gdpr-processing|}}
Category
Category:Semorg-gdpr-processing
{{semorg-category}}
Template
Template:Semorg-gdpr-processing
<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-gdpr-processing-category}}]]{{#semorg-set:gdpr-processing |access={{{access|}}} |measures={{{measures|}}} |name={{{name|}}} |responsible={{{responsible|}}} |application={{{application|}}} |documents={{{documents|}}} |department={{{department|}}} |legal-basis={{{legal-basis|}}} |purpose={{{purpose|}}} }}{{#semorg-detail:gdpr-processing}}{{#semorg-table:gdpr-processing |access={{{access|}}} |measures={{{measures|}}} |name={{{name|}}} |responsible={{{responsible|}}} |application={{{application|}}} |documents={{{documents|}}} |department={{{department|}}} |legal-basis={{{legal-basis|}}} |purpose={{{purpose|}}} }}</includeonly>
Row Template
Template:Semorg-gdpr-processing-row
<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr> <td>[[{{{target|}}}]]</td> <td>{{{access|}}}</td> <td>{{{measures|}}}</td> <td>{{{name|}}}</td> <td>{{{responsible|}}}</td> <td>{{{application|}}}</td> <td>{{{documents|}}}</td> <td>{{{department|}}}</td> <td>{{{legal-basis|}}}</td> <td>{{{purpose|}}}</td> {{semorg-showedit |target={{{target|}}} }} </tr></includeonly>
Overview Page Template
Template:Semorg-gdpr-processing-overview
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#semorg-list:gdpr-processing |heading={{int:semorg-gdpr-processing-page-name}} |formlink={{#semorg-forminput:gdpr-processing}} |links={{{links|}}} |query={{{query|}}} |sort={{{sort|}}} |order={{{order|}}} |limit={{{limit|}}} |filter links={{{filter links|}}} |filters={{{filters|}}} |category={{{category|}}} |headers={{{headers|}}} |row template={{{row template|}}} |tableclass={{{tableclass|}}} |title={{{title|}}} |sums={{{sums|}}} |csv={{{csv|}}} |default={{{default|}}} |returnto={{{returnto|}}} |help={{{help|}}} }}</includeonly>
Overview Page
[[]]
{{semorg-gdpr-processing-overview}}
Property Registration
Add the following line to LocalSettings.php
:
$wgSemorgAdditionalProperties['gdpr-processing'] = [ "id" => "GP","fields" => ["access" => [ "id" => "AC","type" => "txt" ],"measures" => [ "id" => "ME","type" => "txt" ],"name" => [ "id" => "NA","type" => "txt" ],"responsible" => [ "id" => "RE","type" => "wpg" ],"application" => [ "id" => "AP","type" => "txt" ],"documents" => [ "id" => "DO","type" => "txt" ],"department" => [ "id" => "DP","type" => "wpg" ],"legal-basis" => [ "id" => "LB","type" => "txt" ],"purpose" => [ "id" => "PU","type" => "txt" ], ] ];