Extension:DocxConverter
From MediaWiki.org
|
DocxConverter Release status: experimental |
|
|---|---|
| Implementation | Special page |
| Description | Convert simple .docx documents to MediaWiki pages |
| Author(s) | LainsTalk |
| Last version | 0.8 |
| MediaWiki | 1.16 |
| License | GPL |
| Download | Download |
|
Check usage (experimental) |
|
Contents |
[edit] Basic info
DocxConverter is a MediaWiki extension that provide convertion of simple .docx documents to MediaWiki page. User can upload one document or .zip archive with documents.
[edit] Usage
User upload single .docx document or .zip archive with documents to Wiki. Next he must correct the converted text (if necessery) and write a title for the page. Main site of extension provide a table with converted and published documents.
[edit] Installation
- Download the source code and place it in $IP/extensions/DocxConverter/
- Directory DocxConverter/archives must be writable
- Add the following to LocalSettings.php:
require_once( "$IP/extensions/DocxConverter/DocxConverterSpecial.php" );
- Create db table converter.
CREATE TABLE IF NOT EXISTS `converter` ( `id` int(10) NOT NULL AUTO_INCREMENT, `title` varchar(255) COLLATE utf8_bin DEFAULT NULL, `text` mediumblob, `date_edit` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP, `date_add` datetime DEFAULT NULL, `filename` varchar(100) COLLATE utf8_bin DEFAULT NULL, `status` smallint(3) DEFAULT NULL, `user_id` int(11) DEFAULT NULL, `url` varchar(270) COLLATE utf8_bin DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin AUTO_INCREMENT=1 ;
- Installation can now be verified through the wiki's Special:DocxConverter
[edit] Caution
Extension is still in experimental version and can convert simple documents with standard styles.
