Difference between revisions of "DocExport"

From Wiki4Intranet
Jump to: navigation, search
(Created page with "DocExport - расширение MediaWiki, отвечающее за простой экспорт статей в текстовые процессоры - M$ Word и OpenOffic...")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
DocExport - расширение MediaWiki, отвечающее за простой экспорт статей в текстовые процессоры - M$ Word и OpenOffice.org.
+
{{Extension4info
 +
|name=DocExport
 +
|description en=Simple exporting of wiki articles into text processors — M$ Word and OpenOffice.org.
 +
|description ru=Простой экспорт статей в текстовые процессоры — M$ Word и OpenOffice.org.
 +
|created=2008-10-14
 +
|included=2008-10-14
 +
|status=our
 +
|useful=definitely
 +
}}
 +
{{ExtensionFromInfo|lang=en|name=DocExport}}
  
Исходники расширения можно взять:
+
== Features ==
* [[4intranet:MediaWiki4Intranet#Установка|Вместе со сборкой MediaWiki4Intranet]].
+
* Скачать из Subversion: {{Cmd|svn co http://wiki.4intra.net/svn/mediawiki4intranet/extensions/DocExport/}}
+
  
Ставится как обычно, прописыванием в LocalSettings.php строчки:
+
* Content-action tab «purge» is added — click it to clear article cache
 +
* «->m$word», «->openoffice» links are added to toolbox — click to open article in m$word/OO.o
 +
* «Clean HTML» link is also added — the intent is to allow display of «clean» page version, '''without''' any toolboxes and navigation, but '''with''' normal page styles. Link leads to &useskin=cleanmonobook by default («cleanmonobook» skin is required).
 +
* DocExport-templates.xml file contains some useful M$Word voodoo magic templates.
 +
 
 +
[[DocExport/ru|Russian help article has more details.]]
 +
 
 +
== Installation ==
 +
 
 +
Add the following into your LocalSettings.php:
  
 
<code-php>
 
<code-php>
Line 11: Line 27:
 
</code-php>
 
</code-php>
  
О справке по использованию расширения читайте страницу [[Help:Экспорт в текстовые процессоры]].
+
You need to import (Special:Import) DocExport-templates.xml file from the extension directory into your wiki for Word-Voodoo-Magic to work.
 +
 
 +
For «Clean HTML» to work, you need [https://github.com/mediawiki4intranet/skins-cleanmonobook cleanmonobook] skin from [[Mediawiki4Intranet]].
 +
 
 +
If you want to disable «Clean HTML» instead, add the following into your LocalSettings.php after including extension:
 +
<code-php>
 +
$egDocexportCleanHtmlParams = false;
 +
</code-php>

Latest revision as of 15:03, 4 June 2013

DocExport is a MediaWiki extension.

Status for Mediawiki4Intranet distribution:

  • Inclusion date: 2008-10-14
  • Included version: newest available
  • Improvement status: Created by MediaWiki4Intranet project

Features

  • Content-action tab «purge» is added — click it to clear article cache
  • «->m$word», «->openoffice» links are added to toolbox — click to open article in m$word/OO.o
  • «Clean HTML» link is also added — the intent is to allow display of «clean» page version, without any toolboxes and navigation, but with normal page styles. Link leads to &useskin=cleanmonobook by default («cleanmonobook» skin is required).
  • DocExport-templates.xml file contains some useful M$Word voodoo magic templates.

Russian help article has more details.

Installation

Add the following into your LocalSettings.php:

require_once "$IP/extensions/DocExport/DocExport.php";

You need to import (Special:Import) DocExport-templates.xml file from the extension directory into your wiki for Word-Voodoo-Magic to work.

For «Clean HTML» to work, you need cleanmonobook skin from Mediawiki4Intranet.

If you want to disable «Clean HTML» instead, add the following into your LocalSettings.php after including extension:

$egDocexportCleanHtmlParams = false;