How-To: Difference between revisions
From SemanticOrganization
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
# Create a custom template. Copy <code>Template:Semorg-<feature></code> to a new page in the template namespace (e.g. <code>Template:Semorg-<feature>-custom</code>). | # Create a custom template. Copy <code>Template:Semorg-<feature></code> to a new page in the template namespace (e.g. <code>Template:Semorg-<feature>-custom</code>). | ||
# Point <code>Mediawiki:Semorg-<feature>-template</code> to the newly created template | # Point <code>Mediawiki:Semorg-<feature>-template</code> to the newly created template. | ||
# If you already created calls to the old template, change them. You can use the [https://www.mediawiki.org/wiki/Extension:Replace_Text Replace Text extension] to quickly replace all appearances of <code>{{semorg-<feature></code> with <code>{{semorg-<feature>-custom</code> | # If you already created calls to the old template, change them. You can use the [https://www.mediawiki.org/wiki/Extension:Replace_Text Replace Text extension] to quickly replace all appearances of <code>{{semorg-<feature></code> with <code>{{semorg-<feature>-custom</code>. | ||
# Create the property <code>Property:Semorg-<feature>-<field></code> for the new field |
Revision as of 15:16, 27 May 2019
How to change the name of a group?
Use the „move“ feature in the dropdown next to the edit button. If you create a redirect (which is the default), existing group meetings will still be associated to the group. However the association could get lost when editing a meeting so you should either edit them manually or use the Replace Text extension.
How to add a field?
- Create a custom template. Copy
Template:Semorg-<feature>
to a new page in the template namespace (e.g.Template:Semorg-<feature>-custom
). - Point
Mediawiki:Semorg-<feature>-template
to the newly created template. - If you already created calls to the old template, change them. You can use the Replace Text extension to quickly replace all appearances of
{{semorg-<feature>
with{{semorg-<feature>-custom
. - Create the property
Property:Semorg-<feature>-<field>
for the new field