Converting word documents to wiki text

Jump to: navigation, search

Editor-In-Chief: C. Michael Gibson, M.S., M.D. [1]

Pasting Text Into WikiDoc and Converting it to WikiText

1. Click the edit button.

2. Paste the unformatted text into the page that you would would like to convert.

3. While in the editing mode, you can click on the button that looks like this

[W]

to convert unformatted text you have pasted onto the page into WikiText.

4. Click save

Converting Word Documents to Wiki Text

You can install the following add on to Word that allows you to use the "Save as" feature in Word to save the text to "MediaWiki" Text:

http://www.microsoft.com/en-us/download/details.aspx?id=12298

It is important to note that not all formatting seen in Word will be converted to "MediaWiki" text. The following is a list of known incompatibilities:

  • No font or background color formatting will be converted into "MediaWiki" text.
  • Indentations place text in a box similar to a <pre> </pre> environment.
  • Standard MediaWiki commands such as those for hyperlinks and redirects are placed into <nowiki> </nowiki> environments
  • Non-standard MediaWiki commands such as those for templates {{ }}, are no placed in a <nowiki> </nowiki> environment

You can find a table comparing the formatting in Microsoft Word with the MediaWiki text and the text as parsed by WikiDoc

Seen in Word MediaWiki Text Seen on WikiDoc
=Heading 1=

This is just plain text. Nothing special here.

==Heading 2==

I think under this heading we should make a few more general comments.

{{CMG}}

#redirect[[Page]]

#redirect[[Another page]]

===Heading 3===

Now under '''''Heading Three''''', which we have bolded and italicized, I think we should also include a bulleted list. For example:

* Item 1 on our list
* A second item
** This time we are indented
** This is pretty common
*** However, so is having three indentations.

====Heading 4====

One of the things I am interested in is how this will do with numbered lists.

# This is also a good time to test the nowiki functionality
# If I type [[Aortic Stenosis]], what will appear?
## Aortic Stenosis as an internal hyperlink
## <nowiki>[[Aortic Stenosis]]</nowiki> as just the isolated formatting
## Or lastly [[Aortic Stenosis]] with the hyperlink automatically created to Aortic Stenosis, but not including the brackets

=====Heading 5=====

If I want to indent just a few things without bulleting or enumerating, will tabs be translated?

    Such as this

            Or really this

======Heading 6======

Lastly. What’s the deal with font colors?


{| class="prettytable"
|-
|
Oh yeah
|
|
What
|
|-
|
|
|
|
|-
|
|
|
About
|
|-
|
|
|
Tables?
|
|-
|
|
|
|
|-
|
|
|
|
|}
=Heading 1=

This is just plain text. Nothing special here.

Heading 2

I think under this heading we should make a few more general comments.

Editor-In-Chief: C. Michael Gibson, M.S., M.D. [2]

#redirect[[Page]]

#redirect[[Another page]]

Heading 3

Now under Heading Three, which we have bolded and italicized, I think we should also include a bulleted list. For example:

  • Item 1 on our list
  • A second item
    • This time we are indented
    • This is pretty common
      • However, so is having three indentations.

Heading 4

One of the things I am interested in is how this will do with numbered lists.

  1. This is also a good time to test the nowiki functionality
  2. If I type [[Aortic Stenosis]], what will appear?
    1. Aortic Stenosis as an internal hyperlink
    2. <nowiki>[[Aortic Stenosis]]</nowiki> as just the isolated formatting
    3. Or lastly [[Aortic Stenosis]] with the hyperlink automatically created to Aortic Stenosis, but not including the brackets
Heading 5

If I want to indent just a few things without bulleting or enumerating, will tabs be translated?

   Such as this
           Or really this
Heading 6

Lastly. What’s the deal with font colors?


Oh yeah


What








About




Tables?











Linked-in.jpg