Mediawiki

From Guerrilla Media Collective Wiki
Revision as of 09:57, 11 February 2019 by Admin (talk | contribs)
Jump to: navigation, search

This page needs revision to be brought up to date with our Handbook

When pasting text from Handbook, leave section below intact, (place before additional resources)

Additional MediaWiki formatting tips

(The following tips expand on the info contained in the handbook)

Gdocs/Html to Wiki conversion

We have come up with a nifty way to convert text from Gdocs or anywebsite into Wikitext, saving us hours of formatting time. The procedure is described within "Additional MediaWiki Questions" above, but here is is broken down for maximum clarity:

  • Whether in Google docs or a website, select and copy the text
  • Go to the Online HTML Editor. Paste the Gdoc/web text on the right hand window
  • Now go to the left hand window, select all within and copy the html code that has been generated.
  • Next go to the Wiki converter and paste the html on the top window. Hit "convert".
  • Copy the converted text on the bottom window. Paste it in your wiki entry.

As excellent as this methods is, it leaves out three important elements that you will have to add manually: footnotes, images, internal links and unbolding headings

Footnotes

The way to insert footnotes in Mediawiki by using references. Whenever there is a footnote, you need to paste its content between the two reference tags in the same location in the text where the reference is signalled. You do this by enclosing the footnote text within these two tags: <ref>...</ref>, e.g.:

<ref>content</ref>

So, when copying from Google docs, you will have to copy every single footnote into the wikicode as a reference. If this isn't 100% clear, ask for a quick video demonstration or watch this tutorial.

This does it automatically for you. You


Images

Internal links

Unbolding headings