Skip to content

Commit

Permalink
Item9986: fixed some typos in MediaWikiToFoswikiContrib
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk/MediaWikiToFoswikiContrib@10490 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
DanDascalescu authored and DanDascalescu committed Jan 6, 2011
1 parent 5063df0 commit ee6ba75
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions data/System/MediaWikiToFoswikiContrib.txt
Expand Up @@ -37,9 +37,9 @@ convert the wiki markup dialects. However, the <nop>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 <nop>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 <nop>MediaWiki. In a way <nop>MediaWiki's tempaltes are called
in <nop>MediaWiki. In a way <nop>MediaWiki's templates are called
"by reference" (passing the unparsed parameters) while Foswiki evaluates
=INCLUDE= passing parameters "by value". This means, that <nop>WikiApplications
written for <nop>MediaWiki won't be translatable to <nop>WikiApplications
Expand Down Expand Up @@ -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 <nop>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 <nop>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%
Expand All @@ -114,7 +114,7 @@ Sponsored by <a href="http://www.schenck-rotec.net"><img src="%ATTACHURLPATH%/sc
| Release: | %$RELEASE% |
| Version: | %$VERSION% |
| Change History: | <!-- versions below in reverse order -->&nbsp; |
| 19 Feb 2009 | converted to foswiki extension |
| 19 Feb 2009 | converted to Foswiki extension |
| 20 Jul 2007 | initial release |
| Dependencies: | %$DEPENDENCIES% |
| Contrib Home: | Foswiki:Extensions/MediaWikiToFoswikiContrib |
Expand Down
2 changes: 1 addition & 1 deletion tools/mediawiki2foswiki
Expand Up @@ -55,7 +55,7 @@ pages "Hauptseite" will be stored in the the "WebHome" topic; the "Special.Allpa
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_default" that will be used when creating webs; we have
some perl code in MyConversionPlugin.pm that defines some custom conversions only
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.
Expand Down

0 comments on commit ee6ba75

Please sign in to comment.