<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://openeducation.wiki/w/index.php?action=history&amp;feed=atom&amp;title=Help%3AImportCSV</id>
	<title>Help:ImportCSV - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://openeducation.wiki/w/index.php?action=history&amp;feed=atom&amp;title=Help%3AImportCSV"/>
	<link rel="alternate" type="text/html" href="http://openeducation.wiki/w/index.php?title=Help:ImportCSV&amp;action=history"/>
	<updated>2026-05-27T16:14:06Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.1</generator>
	<entry>
		<id>http://openeducation.wiki/w/index.php?title=Help:ImportCSV&amp;diff=40992&amp;oldid=prev</id>
		<title>Pbacsich: create new Help page</title>
		<link rel="alternate" type="text/html" href="http://openeducation.wiki/w/index.php?title=Help:ImportCSV&amp;diff=40992&amp;oldid=prev"/>
		<updated>2023-04-24T15:17:15Z</updated>

		<summary type="html">&lt;p&gt;create new Help page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
==== Importing CSV files ====&lt;br /&gt;
This material is taken from https://www.mediawiki.org/wiki/Extension:Data_Transfer&lt;br /&gt;
&lt;br /&gt;
For CSV import to work:&lt;br /&gt;
&lt;br /&gt;
* The file must be in standard CSV format (i.e., separated by commas, as opposed to semicolons or anything else)&lt;br /&gt;
* If the file contains non-[[Wikipedia:ASCII|ASCII]] characters it must be encoded in either [[Wikipedia:UTF-8|UTF-8]] or [[Wikipedia:UTF-16|UTF-16]] (the latter being simply called &amp;quot;Unicode&amp;quot; in some Windows programs)&lt;br /&gt;
* File's line breaks should contain &amp;quot;line feeds&amp;quot; (&amp;quot;\n&amp;quot;) as opposed to just &amp;quot;carriage returns&amp;quot; (&amp;quot;\r&amp;quot;). This is especially if you're using Mac OS&lt;br /&gt;
* The top row must contain the name of each column&lt;br /&gt;
** One of the columns must contain the title of each page, and so its column name must be &amp;quot;'''Title'''&amp;quot; (in whatever language the wiki is in)&lt;br /&gt;
** Another column can contain all the free, non-template text in the page: the title of this column must be &amp;quot;'''Free Text'''&amp;quot; (again, in the language of the wiki)&lt;br /&gt;
** All other columns must represent the contents of a single field of a single template call; the name of such a column should be of the form &amp;quot;'''''template-name[field-name]'''''&amp;quot; (whitespace allowed). There is no need to separately specify the names of the template(s) called in the page.&lt;br /&gt;
&lt;br /&gt;
=== A brief tutorial on the CSV format ===&lt;br /&gt;
&lt;br /&gt;
If a value contains a comma, you must enclose it in double quotes. If a field containing one or more double quotes needs to be enclosed in double quotes, those double quotes should be escaped as double double quotes. An empty field can either be left empty, or contain a double double quote. &lt;br /&gt;
You can [http://tools.ietf.org/html/rfc4180 see here] for the full CSV specification.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
Here is an example of a CSV file that can be parsed by Data Transfer:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Title,Cheese[Country],Cheese[Texture],Free Text&lt;br /&gt;
Mozarella,Italy,Semi-soft,It's good on pizzas!&lt;br /&gt;
Cheddar,England,Hard/semi-hard,&amp;quot;Often sharp, but not always.&amp;quot;&lt;br /&gt;
Gorgonzola,Italy,&amp;quot;buttery or firm, crumbly&amp;quot;,&amp;quot;salty, with a &amp;quot;&amp;quot;bite&amp;quot;&amp;quot; from its blue veining&amp;quot;&lt;br /&gt;
Stilton,,&amp;quot;&amp;quot;,needs more data&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Styles of use ==&lt;br /&gt;
&lt;br /&gt;
Special:ImportCSV is used mainly to create sets of pages that do not already exist.&lt;br /&gt;
&lt;br /&gt;
To cope with the situation where some pages already exist, there are four import options that can be set:&lt;br /&gt;
&lt;br /&gt;
* Overwrite '''all''' existing content&lt;br /&gt;
* Overwrite '''only fields contained in the file'''&lt;br /&gt;
* Skip&lt;br /&gt;
* '''Append''' to existing content&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;gt; [[Help:Index]]&lt;br /&gt;
[[Category:ZWIKI Help]]&lt;/div&gt;</summary>
		<author><name>Pbacsich</name></author>
	</entry>
</feed>