Word2mediawiki
From ChekMate Security Group
Contents |
[edit]
MS Word to MediaWiki Instructions
[edit]
Prepare to Export from Word
- Download the file Word2MediaWiki.bas
- Open your document in Microsoft Word.
- On the menu bar, select "Tools File → Macro File → Visual Basic Editor."
- In Visual Basic Editor, select "File File → Import." Choose "Word2MediaWiki.bas."
[edit]
Prepare to Import
- Open a browser and go to the WebCT page for the course. Click the link for Chempedia.
- In the upper right corner, click "Create an account or log in."
- Select a username and password and log in.
[edit]
Export from Word
- Switch back to Microsoft Word.
- On the menu bar, select "Tools File → Macro File → Macros…"
- In the "Macro name" list choose "Word2MediaWiki" and press "Run."
[edit]
Import to MediaWiki
- Switch back to your browser window.
- Place the cursor inside the edit box and select "Edit File → Paste" from the browser menu bar. (Your content will automatically be copied to the clipboard.)
- Click "Save Page."
[edit]
Create Image Files for your Figures
- Switch back to Microsoft Word.
- Select "File File → Save As…"
- Select "Web Page (*.htm, *.html)." This creates a folder of files.
- Open the folder of files and notice that figures from your Word document are image files.
[edit]
Upload the Image Files
- Switch back to your browser. Click on "Upload File" from the left "toolbox" menu on Chempedia.
- Click the "Browse…" button and locate an image file from your Word-as-web-page folder.
- Change the name of the file to "<article_title>_<n>.gif" for example "fireworks_3.gif" if this is the 3rd figure in the fireworks article.
- Write this new filename down on a piece of scratch paper.
- Enter any caption text in the "Description" box.
- Click save.
- Repeat step 1-6 for each figure in your article.
[edit]
Include the Image Files in your Article
- Click on "Main Page" from the left "navigation" menu on MediaWiki.
- Again find the title for your article and click the link.
- Press the "Edit" tab on the page for your article.
- Place the cursor in the text where you’d like your figure to be inserted.
- Type "[[Image:<article_title>_<n>.gif|right|thumb|<caption>]]" to indicate your figure file, for example
[[Image:fireworks_3.gif|right|thumb|Fireworks exploding over Washington, DC]]
- Repeat step 31 for each figure in your article.
- Click "Save Page."




