Assist Converting Documents into MediaWiki Format: Difference between revisions
(Initial Creation) |
m (Categorisation) |
||
Line 62: | Line 62: | ||
[[Category:Assist Guides]] | [[Category:Assist Guides]] | ||
[[Category:ASSIST]] |
Revision as of 14:37, 5 August 2024
Tools
Recommended initial editing tool - NOTEPAD++
Create Macro - Assist Cleanup
- See documentation - Assist Cleanup Macro
Process
Convert document using Vertopal online conversion tool
https://www.vertopal.com/en/convert/docx-to-wiki-mediawiki
Use DOC/DOCx - PDF doesn't work very well.
NOTE: This does not convert embedded objects like excel, attachments, Visio or Word diagrams. If your document contains these, then svae these as PNG images to add to the document later.
Download and Extract to subfolder
Rename and Edit wiki file
Run Macro - Assist Cleanup
Replace following
<span.*</span> with nothing \[\[File\:vertopal_392608dac46847cb99daf0bb8d5090ed/media/image with \[\[File\:vertopal_392608dac46847cb99daf0bb8d5090ed/media/image \.png\|.*?\]\] with \.png\|800px\]\] <\/?blockquote> with nothing <ol.*>\n<li> with \n </li></ol> with nothing = <br />\n with "= " (without the quotes) \{\| with \{\| class="wikitable" !width="\d*%"\| with !
Go through and ensure images are named with a reasonable name
e.g. if in home section in TTM change file from TTM-1.png to TTM-HOME-1.PNG
Check all images now have a name - search for File\:
Any inline icons, make size 16px - search for file\: and any that are within paragraphs will need manipulation
Put into Assist
Upload images using the numbers as guide.
Check sizes of all pictures - remove |800px if necessary.