<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>http://wiki.mipt.ru/index.php?action=history&amp;feed=atom&amp;title=Import_groups</id>
	<title>Import groups - История изменений</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.mipt.ru/index.php?action=history&amp;feed=atom&amp;title=Import_groups"/>
	<link rel="alternate" type="text/html" href="http://wiki.mipt.ru/index.php?title=Import_groups&amp;action=history"/>
	<updated>2026-05-06T15:42:05Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>http://wiki.mipt.ru/index.php?title=Import_groups&amp;diff=1553&amp;oldid=prev</id>
		<title>Олег Давидович: 1 версия импортирована</title>
		<link rel="alternate" type="text/html" href="http://wiki.mipt.ru/index.php?title=Import_groups&amp;diff=1553&amp;oldid=prev"/>
		<updated>2024-10-14T18:18:13Z</updated>

		<summary type="html">&lt;p&gt;1 версия импортирована&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Предыдущая версия&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Версия от 18:18, 14 октября 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Олег Давидович</name></author>
	</entry>
	<entry>
		<id>http://wiki.mipt.ru/index.php?title=Import_groups&amp;diff=1552&amp;oldid=prev</id>
		<title>1&gt;Finns в 18:14, 2 июля 2019</title>
		<link rel="alternate" type="text/html" href="http://wiki.mipt.ru/index.php?title=Import_groups&amp;diff=1552&amp;oldid=prev"/>
		<updated>2019-07-02T18:14:01Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Grouping users}}&lt;br /&gt;
Groups import provides a simple, easy way to create groups from a spreadsheet (CSV).&lt;br /&gt;
&lt;br /&gt;
To import groups&lt;br /&gt;
*Click the &amp;#039;Import groups&amp;#039; button in &amp;#039;&amp;#039;Administration &amp;gt; Course administration &amp;gt; Users &amp;gt; Groups&amp;#039;&amp;#039;&lt;br /&gt;
*Upload the CSV file (see below for file format) either by dragging and dropping into the box with the arrow (&amp;#039;&amp;#039;1 below&amp;#039;&amp;#039;) or by clicking &amp;quot;choose a file&amp;quot; and uploading from the [[File picker]]. (&amp;#039;&amp;#039;2 below&amp;#039;&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
[[File:newimportgroups.png|500px]]&lt;br /&gt;
&lt;br /&gt;
*Click the &amp;#039;Import groups&amp;#039; button&lt;br /&gt;
&lt;br /&gt;
==CSV file fieldnames==&lt;br /&gt;
&lt;br /&gt;
The CSV file has just one required fieldname (groupname), but can include default and/or optional fieldnames&lt;br /&gt;
&lt;br /&gt;
* Each line of the file contains one record&lt;br /&gt;
* Each record is a series of data separated by commas&lt;br /&gt;
* The first record of the file is special, and contains a list of fieldnames. This defines the format of the rest of the file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Required fieldnames&amp;#039;&amp;#039;&amp;#039; - These fields must be included in the first record, and defined for each column&lt;br /&gt;
&lt;br /&gt;
 groupname&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Default fieldnames&amp;#039;&amp;#039;&amp;#039; - These are optional - you may specify idnumber and/or course short name of another course&lt;br /&gt;
&lt;br /&gt;
 idnumber,coursename&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Optional fieldnames&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
 groupidnumber,description,enrolmentkey&lt;br /&gt;
&lt;br /&gt;
(Note: The field &amp;quot;picture&amp;quot; and &amp;quot;hidepicture&amp;quot; will produce a &amp;quot;not a valid fieldname&amp;quot; error when uploaded.)&lt;br /&gt;
&lt;br /&gt;
If the &amp;#039;&amp;#039;groupingname&amp;#039;&amp;#039; is included, the imported groups will be allocated to those groupings. The groupings will be created if they do not already exist:&lt;br /&gt;
 groupingname&lt;br /&gt;
&lt;br /&gt;
*Separation between the comma and the text can not be a blank.&lt;br /&gt;
*Commas within the data should be encoded as &amp;amp;#44 - the script will automatically decode these back to commas.&lt;br /&gt;
*For Boolean fields, use 0 for false and 1 for true.&lt;br /&gt;
*Either idnumber or coursename can be used to identify the course. Idnumber overrides coursename. If neither is specified, the groups will be added to the current course.&lt;br /&gt;
*Coursename is the course shortname.&lt;br /&gt;
*Group ID numbers are for matching groups against external systems. Within a course, all group ID numbers must be unique.&lt;br /&gt;
*The file must be in ANSI encoding, at least not be saved in UTF-8 encoding.&lt;br /&gt;
&lt;br /&gt;
Note: If a group is already registered in the Moodle database for a particular course, this script will return the group name for that group. Teachers are only allowed to upload groups in courses they are authorized to edit.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A sample file looks like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
groupname,description,groupidnumber,enrolmentkey&lt;br /&gt;
Team 1,Group Assignment Team 1,team1,orange&lt;br /&gt;
Team 2,Group Assignment Team 2,team2,purple&lt;br /&gt;
Team 3,Group Assignment Team 3,team3,green&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
If you wish to add users to groups, you can do this as a site admin or manager from &amp;#039;&amp;#039;Site administration&amp;gt;Users&amp;gt;Accounts&amp;gt;Upload users&amp;#039;&amp;#039;. See [[Upload users]] If the groups do not already exist, they will be created.&lt;br /&gt;
&lt;br /&gt;
[[de:Gruppen importieren]]&lt;br /&gt;
[[es:Importar grupos]]&lt;br /&gt;
[[fr:Importer des Groupes]]&lt;/div&gt;</summary>
		<author><name>1&gt;Finns</name></author>
	</entry>
</feed>