Vorlage:Webmo staff: Unterschied zwischen den Versionen

Aus ZUM-Unterrichten
Wechseln zu: Navigation, Suche
K (Änderung 65124 von Uschuetzenmeister (Diskussion) rückgängig gemacht.)
(Markierung: Rückgängigmachung)
K
(Markierung: 2017-Quelltext-Bearbeitung)
Zeile 9: Zeile 9:
 
|wiki_db_id=Integer<!--- created only upon account creation by CargoUserManagement extension -->
 
|wiki_db_id=Integer<!--- created only upon account creation by CargoUserManagement extension -->
 
|username=String<!--- created only upon account creation by CargoUserManagement extension -->
 
|username=String<!--- created only upon account creation by CargoUserManagement extension -->
|first_name=String<!-- editable via form by wiki users -->
+
|vorname=String<!-- editable via form by wiki users -->
|last_name=String<!-- editable via form by wiki users -->
+
|nachname=String<!-- editable via form by wiki users -->
|fullname=String<!-- editable via form by wiki users -->
+
|name=String<!-- editable via form by wiki users -->
 
|ueber_mich=String<!-- editable via form by wiki users -->
 
|ueber_mich=String<!-- editable via form by wiki users -->
 
}}</noinclude><includeonly>
 
}}</noinclude><includeonly>
Zeile 26: Zeile 26:
 
|wiki_db_id={{{wiki db id|}}}
 
|wiki_db_id={{{wiki db id|}}}
 
|username={{{username|}}}
 
|username={{{username|}}}
|first_name={{{first name|}}}
+
|vorname={{{vorname|}}}
|last_name={{{last name|}}}
+
|nachname={{{nachname|}}}
|fullname={{{first name|}}} {{{last name|}}}
+
|name={{{vorname|}}} {{{nachname|}}}
 
|ueber_mich={{{ueber mich|}}}
 
|ueber_mich={{{ueber mich|}}}
 
}}
 
}}

Version vom 4. September 2018, 15:00 Uhr

This is the template:webmo staff. It fills the page User:webmo_staff.username.

Please note: Each user page is created automatically by the CargoUserManagement extension when a staff member/user creates a wiki account upon invitation or the Special:CreateAccount page. The extension fills the fields webmo_staff.wiki_db_id and webmo_staff.username. The remaining fields can be edited by the user herself via the form:webmo staff. New fields can be added to the webmo_staff table and won't interfere with the CargoUserManagement extension.

Note:
1) the form:webmo staff does not create user pages.
2) For reasons of consistency the email is not stored in the CargoDB. For example, if a user changes her user settings in the Wiki preferences, the CargoDB would not update automatically and old emails will pop up here and there. When needed, the email can be retrieved via the CargoUserManagement parser function {{#getEmail:username}} from the Wiki DB directly.

Diese Vorlage definiert die Tabelle „webmo_staff“. Tabelle ansehen.