Extension:UploadCSV

From MediaWiki.org

Jump to: navigation, search
Manual on MediaWiki Extensions
List of MediaWiki Extensions
UploadCSV

Release status: experimental

Implementation User interface
Description Mass creation of articles using data from a csv-file.
Author(s) User:GunterS
Version 0.2
MediaWiki 1.10, 1.9, 1.8?
Download UploadCSV.zip

[edit] What can this extension do?

This extension allows you to automatically create articles based on a csv-file and a template with variables.

[edit] Usage

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.

[edit] Installation

Changes to LocalSettings.php:

require_once( "$IP/extensions/UploadCSV/UploadCSV.php" );
Personal tools