MW Tutorial
From STLab
Contents |
Exercise 0
Install the LAMP/MAMP stack in your PC. Install MediaWiki software by following the intrsuctions in the mediawiki site: http://www.mediawiki.org/wiki/Manual:Installation
Exercise 1
Learn:
- Base wiki setup
- Wiki base syntax: text styles, lists, tables, links
Goals:
- Let's create our wiki:
- Setup the title of the wiki at MyFavourites: the wiki of all your favourite things...
- Customize the wiki logo: choose an image and let it appear in the mediawiki pages instead of the default one.
- Create the following pages:
- Your favourite music group page, which should includethe following sections:
- Short group story, with the list of the group members
- The discography, as a table with: year, album title
- A list of links to external resources
- Your favourite writer
- Add a brief biography,
- A table with its works (year, title)
- A list of links to external resources
- Your favourite dish
- The list of ingredients
- How to prepare it
- Your favourite music group page, which should includethe following sections:
- Create the following new categories:
- Music
- Writer
- Cousin
- Let each page belong to the related category
- List all pages in the main page.
- Try to use as much as possible different styles (bold, italic...)
- Each page name should follow the following name convention:
- No spaces/underscore are allowed.
- Camel case should be used.
Exercise 2
Learn:
- Advanced editing: Variables, Templates
Goals:
- Create templates and use them in the pages of exercise 1 (try to share those templates in different category pages):
- Biography
- Works
- Ingredients
- Create a template to be used as header of each wiki article. Each page should display, as the main section header:
- the name of the page (without namespace)
- a link to the discussion page
- informations about the last page editing
- Change the title of the page to the name of the content (of example, if the page name is MarcelProust, the title should be Marcel Proust
Exercise 3
Learn:
- Discover MediaWiki user types.
- How to change user permissions
Goals:
- Setup the following configuration:
- Only the administrator can create user accounts
- Unregistered users cannot change the wiki content (but they can read it)
- Create two new users (choose names for them):
- The first user is a common user
- The second one can change user permissions, but is not administrator.
Exercise 4
Learn:
- How to install extensions
- How to use ParserFunctions
- How to use StringFunctions
Goals:
- Install the following extensions:
Exercise 5
Learn:
- How to create new namespaces