Basic Principles: Difference between revisions
From SemanticOrganization
Line 1: | Line 1: | ||
=== Enabling Features === | === Enabling Features === | ||
==== Users ==== | |||
To enable user pages add <code>Users</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-forminput|person-user}} | |||
{{#semorg-list|person-user}}</nowiki> | |||
==== Groups ==== | |||
To enable groups add <code>Groups</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-forminput|group}} | |||
{{#semorg-list|group}}</nowiki> | |||
==== Meetings ==== | |||
To enable meetings add <code>Meetings</code> to [[Mediawiki:Tweeki-navbar-left]]. | To enable meetings add <code>Meetings</code> to [[Mediawiki:Tweeki-navbar-left]]. | ||
Line 7: | Line 29: | ||
<nowiki>{{semorg-formlink|meeting}} | <nowiki>{{semorg-formlink|meeting}} | ||
{{semorg-meeting | {{#semorg-list|meeting}}</nowiki> | ||
=== Connecting Templates, Forms, Categories === | === Connecting Templates, Forms, Categories === |
Revision as of 05:51, 15 August 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}} {{#semorg-list|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}} {{#semorg-list|meeting}}
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