From ee6ba75edb0f4c0b6e99a893249bb787056eee88 Mon Sep 17 00:00:00 2001 From: DanDascalescu Date: Thu, 6 Jan 2011 23:03:20 +0000 Subject: [PATCH] Item9986: fixed some typos in MediaWikiToFoswikiContrib git-svn-id: http://svn.foswiki.org/trunk/MediaWikiToFoswikiContrib@10490 0b4bb1d4-4e5a-0410-9cc4-b2b747904278 --- data/System/MediaWikiToFoswikiContrib.txt | 12 ++++++------ tools/mediawiki2foswiki | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/data/System/MediaWikiToFoswikiContrib.txt b/data/System/MediaWikiToFoswikiContrib.txt index 9ba852c..3c8032f 100644 --- a/data/System/MediaWikiToFoswikiContrib.txt +++ b/data/System/MediaWikiToFoswikiContrib.txt @@ -37,9 +37,9 @@ convert the wiki markup dialects. However, the MediaWiki's template mechanism, comparable to Foswiki's parametrized =INCLUDE= statement does *not* match. The reason is burried in the different parsing priorities within both parsers: while MediaWiki parses left-to-right, Foswiki -does also parser inside-out, which means parameters to =INCLUDE= are +also parses inside-out, which means parameters to =INCLUDE= are evaluate _before_ making the inclusion. The opposite is the case -in MediaWiki. In a way MediaWiki's tempaltes are called +in MediaWiki. In a way MediaWiki's templates are called "by reference" (passing the unparsed parameters) while Foswiki evaluates =INCLUDE= passing parameters "by value". This means, that WikiApplications written for MediaWiki won't be translatable to WikiApplications @@ -88,15 +88,15 @@ current installation (see Setup). In this example, the source content is German. The pages "Hauptseite" will be stored in the the =WebHome= topic. The =Special.Allpages= page will be stored in =WebTopicList"=. Images are taken from the images subdirectory of our MediaWiki installation at =/var/www/mediawiki=. -We prepared a template web called =_mediawiki_defaul= that will be used when -creating webs. We have some perl code in =MyConversionPlugin.pm= that +We prepared a template web called =_mediawiki_default= that will be used when +creating webs. We have some Perl code in =MyConversionPlugin.pm= that defines some custom conversions only of relevance for our own content. Source pages that match the regular expression =MediaWiki|Bild|Kategorie= will be excluded from the translation process. ---+++ Options The only mandatory option is the name of the MediaWiki dump file from which -content is extracted. Before you start extracting large amount of data you +content is extracted. Before you start extracting large amounts of data you should test the conversion result by using the -debug, -dry and -max. %RED%more docu please%ENDCOLOR% @@ -114,7 +114,7 @@ Sponsored by