Index: trunk/extensions/DataTransfer/README |
— | — | @@ -1,12 +1,12 @@ |
2 | 2 | == About == |
3 | 3 | |
4 | | -Data Transfer is an extension to MediaWiki that both exports XML based |
5 | | -on the current contents of pages in a wiki, and imports XML in the same |
6 | | -format, creating or modifying wiki pages based on the contents of the |
7 | | -XML file. The XML format for both exporting and importing uses template |
8 | | -calls, and the fields within them, to define XML tags. Any text that |
9 | | -is not within a template calls gets placed into one or more "free text" |
10 | | -tags. |
| 4 | +Data Transfer is an extension to MediaWiki that both exports XML |
| 5 | +based on the current contents of pages in a wiki, and imports pages |
| 6 | +in both XML format (using the same structure as the XML export) and |
| 7 | +CSV format. Both the XML and CSV formats use template calls, and |
| 8 | +the fields within them, to define fields. Any text that is not |
| 9 | +within a template calls gets placed into one or more "free text" |
| 10 | +fields. |
11 | 11 | |
12 | 12 | For more information on Data Transfer, see the extension |
13 | 13 | homepage at |
Index: trunk/extensions/DataTransfer/INSTALL |
— | — | @@ -1,4 +1,4 @@ |
2 | | -[[Data Transfer 0.2.1]] |
| 2 | +[[Data Transfer 0.3]] |
3 | 3 | |
4 | 4 | Contents: |
5 | 5 | * Disclaimer |
Index: trunk/extensions/DataTransfer/includes/DT_GlobalFunctions.php |
— | — | @@ -7,7 +7,7 @@ |
8 | 8 | |
9 | 9 | if (!defined('MEDIAWIKI')) die(); |
10 | 10 | |
11 | | -define('DT_VERSION','0.2.1'); |
| 11 | +define('DT_VERSION','0.3'); |
12 | 12 | |
13 | 13 | // constants for special properties |
14 | 14 | define('DT_SP_HAS_XML_GROUPING', 1); |
— | — | @@ -30,6 +30,8 @@ |
31 | 31 | $wgAutoloadClasses['DTViewXML'] = $dtgIP . '/specials/DT_ViewXML.php'; |
32 | 32 | $wgSpecialPages['ImportXML'] = 'DTImportXML'; |
33 | 33 | $wgAutoloadClasses['DTImportXML'] = $dtgIP . '/specials/DT_ImportXML.php'; |
| 34 | +$wgSpecialPages['ImportCSV'] = 'DTImportCSV'; |
| 35 | +$wgAutoloadClasses['DTImportCSV'] = $dtgIP . '/specials/DT_ImportCSV.php'; |
34 | 36 | $wgJobClasses['dtImport'] = 'DTImportJob'; |
35 | 37 | $wgAutoloadClasses['DTImportJob'] = $dtgIP . '/includes/DT_ImportJob.php'; |
36 | 38 | $wgAutoloadClasses['DTXMLParser'] = $dtgIP . '/includes/DT_XMLParser.php'; |
— | — | @@ -107,5 +109,6 @@ |
108 | 110 | $main_row = $import_export_section->getRow('main'); |
109 | 111 | $main_row->addItem(ALItem::newFromSpecialPage('ViewXML')); |
110 | 112 | $main_row->addItem(ALItem::newFromSpecialPage('ImportXML')); |
| 113 | + $main_row->addItem(ALItem::newFromSpecialPage('ImportCSV')); |
111 | 114 | return true; |
112 | 115 | } |