Editing Content

From edegan.com
Revision as of 23:59, 23 August 2010 by imported>Ed (→‎Quick Hints)
Jump to navigation Jump to search

Wiki content is easy to edit and create. Content is written in a markup language, and the basic markup is provided below. There are also links to 'official' help sources. But first you should know that each page comes with it's own discussion page that you access using the tab at the tab (it is next to the edit tab). If you are unsure about some content, or what to discuss it, you should add your insights and comments there and not on the page itself!

Official Sources

This wiki runs on the MediaWiki platform that is used for wikipedia. Wikipedia provides the following pages that will help you:

Likewise, the mediawiki developers and community provide the following useful pages:

Quick Hints

Wiki pages are written in a very simple markup language. You can click the edit button on any page and enter marked-up content into the box and click save, and the new changes will appear instantly on the page. You can probably deduce all of the markup that you need by looking at an existing page, but as a quick reference I provide the most used syntax below. (Note that if you look at the source code, you will see that I use the <nowiki></nowiki>tag to prevent the wiki from interpreting the code.

Bullets, Indents and Boxes

At the start of a line:

  • * to bullet
  • # to number bullet
  • : to indent
  • (space) to put things in a box

Now let's see them again in action:

  • to bullet
  1. to number bullet
to indent
to put things in a box

Headers

To make headers heirarchiarly (TOC is automatic) use:

  • =Page header=
  • ==Section header== - The Quick Hint Section uses this
  • ===Sub-Section header=== - "Headers" is a sub-section
  • ====Sub-Sub-Section header===

Links

There are two types of links:

  • [http:/www... Text that you want] are external links
  • [[WikiPage | Text that you want] or just [[WikiPage]] are internal links

With the first link, a space after the URL indicated that the text that follows is the label. With the second link, the text following the pipe (|) indicates the label. You can leave the pipe and text off and then the page link will show up as the page name, like this: [[BPP]] gives BPP.

Create A Page

If you want to create a new page, make a link to a page name that doesn't exist, save the page, and then click the link!

Basic Text Formatting

Use text formatting sparingly:

  • To make things italic put them in two quotes: ''italic''
  • To make things bold put them in three quotes: '''bold'''
  • To make things bold-italic put them in five quotes: ''''bold-italic''''

Math

And we wouldn't feel like proper PhD students if we couldn't render some math. Latex is fully supported. Just add a <math>...</math> tag around any latex like you would normally use either $...$ or $$...$$.

For example:

I am [math]\succ [/math] you.