Release status: experimental
|Description||Mass creation of articles using data from a csv-file.|
|MediaWiki||1.10, 1.9, 1.8?|
|License||No license specified|
Translate the UploadCSV extension if it is available at translatewiki.net
|Check usage and version matrix; code metrics|
What can this extension do?[edit | edit source]
This extension allows you to automatically create articles based on a csv-file and a template with variables.
Usage[edit | edit source]
Create a spreadsheet file with a header line:
- One column must be named "pagetitle".
- Each other column title must represent the exact name of a variable in the template. Columns with titles not represented in the template will be ignored. The variable name is case insensitive.
With the data of each row an article named <column pagetitle> will be created/edited and populated it with the given template name and all variables of the template.
Save the spreadsheet as .csv file. All columns must be separated with a ";".
For now " is not allowed and thus no ; in the text.
In order to access the upload user interface, you will need to navigate in your browser to the special page Special:UploadCSV.
Installation[edit | edit source]
Changes to LocalSettings.php:
require_once( "$IP/extensions/UploadCSV/UploadCSV.php" );