Wiki Tutorial: Difference between revisions

From Hackers & Designers
mNo edit summary
No edit summary
Line 175: Line 175:
To embed a video via Youtube or Vimeo, or an audiotrack via Soundcloud, you need the '''id''' of that video or track. This is the sequence of characters that follow '''?v=''' in Youtube video URLs, '''vimeo.com/''' in Vimeo URLs, and '''soundcloud.com/''' in Soundcloud URLs. Then:  
To embed a video via Youtube or Vimeo, or an audiotrack via Soundcloud, you need the '''id''' of that video or track. This is the sequence of characters that follow '''?v=''' in Youtube video URLs, '''vimeo.com/''' in Vimeo URLs, and '''soundcloud.com/''' in Soundcloud URLs. Then:  
* For Youtube embeds, write <code><nowiki>{{#ev:youtube|id}}</nowiki></code> for a single video (eg. <code><nowiki>{{#ev:youtube|A1YYv_J2csk}}</nowiki></code>).  
* For Youtube embeds, write <code><nowiki>{{#ev:youtube|id}}</nowiki></code> for a single video (eg. <code><nowiki>{{#ev:youtube|A1YYv_J2csk}}</nowiki></code>).  
* For Youtube playlist embed, write <code><nowiki>{{#ev:youtubeplaylist|link of your playlist}}</nowiki></code>  (eg. <code><nowiki>{{#ev:youtubeplaylist|https://www.youtube.com/playlist?list=PL-so9IFqQ0Y4m-c84McJ6N73uq5uT8Ze-}}</nowiki></code>).
* For Youtube playlist embeds, write <code><nowiki>{{#ev:youtubeplaylist|link of your playlist}}</nowiki></code>  (eg. <code><nowiki>{{#ev:youtubeplaylist|https://www.youtube.com/playlist?list=PL-so9IFqQ0Y4m-c84McJ6N73uq5uT8Ze-}}</nowiki></code>).
* For Vimeo embeds, write <code><nowiki>{{#ev:vimeo|id}}</nowiki></code>. (eg. <code><nowiki>{{#ev:vimeo|68841788}}</nowiki></code>).
* For Vimeo embeds, write <code><nowiki>{{#ev:vimeo|id}}</nowiki></code> (eg. <code><nowiki>{{#ev:vimeo|68841788}}</nowiki></code>).
* For Soundcloud embeds, write <code><nowiki>{{#ev:soundcloud|id}}</nowiki></code>.
* For Soundcloud embeds, write <code><nowiki>{{#ev:soundcloud|id}}</nowiki></code>.



Revision as of 14:42, 13 January 2020

MainNavigation No

Wiki Intro

Editor-pencil.png

A little history

The first wiki was created in 1995 by Ward Cunningham, and it was called Wiki Wiki Web (Wiki in Hawaii means quick!).

Interview with Ward Cunningham

Wikis are about speed and easiness of writing and publishing on the Web.

Also about collaboration. According to Ward Cunningham ‘People discovered that they can create something with other people, that they don't even know. But they come to trust and they make something that surprises them in terms of its value’.

Consequently wikis have been used extensively as environments for online collaboration. Examples of this are:

Enough talking, lets start playing with the wiki!

Wiki editing

Account creation

In order to start contributing to this wiki, like in most wikis, you need to create a user account.

Send us an email to request for an account. Oftentimes, during events and workshop activities, we use the wiki and therefore we create new ad-hoc accounts.

Editing

How to write on the wiki?

Writing on a wiki is not not very different from writing a blog.

You have a Read and Edit mode.

Edit lets you enter content and make changes to existing content.

While you are editing, you can preview your changes in the Preview window.

Once done editing save the page, otherwise your contribution will be lost.

Text formatting

Although there is a specific syntax to format the text, you can use the menu to do much of the formatting you need. In case you are interested to get to know the syntax here is cheat-sheet with the most important syntax.

Titles

You can make titles with different hierarchic levels by using "=" as follows:

=Main Title=

==Sub Title==

===Sub-sub Title===

===Sub-sub-sub Title===

You can place content under each of these section

The result when the page is saved will be:

Main Title

Content under Main Title

Sub Title

Content under Sub Title

Sub-sub Title

Content under Sub-sub Title

Sub-sub-sub Title

Content under Sub-sub-sub Title

Creating a page

In a wiki the information is organized into pages or articles (no great distinction between the two). If you want to say something about something for which there isn't a page, create that page and start writing its content.

To create a page, use the chain icon on the menu, as wiki page are essentially internal links. The result will be: [[name of new page]] .

Quick page creation

Other option to create a page is to type the new page name in the URL bar.

For instance

http://wiki.hackersanddesigners.nl/mediawiki/index.php/MYNEWPAGE

where MYNEWPAGE will be the title of you page

You can now save your page and see that the link that you created to the new page is red.

  • Red link = previously non-existing page.
  • Blue link = existing page.

Lexicon - an existing page

Using the Create menu

You can also use a Create page section in the left-side menu. You can choose between an Article page or an Event page. The latter has extra fields to specify date, time, location and participants, whereas the former simply gives you a big text field.

  • Create New Article Page
  • Create New Event Page

External links

To link to external webpages, use the chain icon.

You'll be presented with: [http://www.example.com link title] and simply need to replace them with url and title(optional)

Naming the page

Important: You shouldn't use slashes, colons, semicolons, question and exclamation marks in a page title. Using these symbols results in a broken link on the front end

Examples:

"How to become great at wiki-editing? By trial/error!" – wrong!

"Becoming a great wiki-editor by trial and error" – correct!

You can experiment with writing and formatting your own User page. You can get go to this page by clicking on your username, next to the icon. The user page, is normally used to say something about yourself, but can also be a nice testing ground.

Images, Video, and Audio

You might want to include images, audio or video on the pages you'll be developing.

Wiki allows the following formats:

Medium Formats
image png, gif, jpg, jpeg, svg
audio ogg, mp3
video ogv, webm, mp4


Uploading images

To insert an image you can use the picture icon on the menu or manually type in the link syntax, as follows:

[[File:myimage.png|mycaption|thumb]]

(The filename must match that of the image you would like to link.)

However, this doesn't upload the file, it only inserts a piece of syntax that links to it. In order to do so, you need to:

  • Save the page you are working on
  • Click on the red link of the file you want to upload
  • Follow the instructions to upload your file

You can choose to link and upload your images in whatever order you like, but the fastest workflow is to link all the images first and then upload them, or viceversa.

To insert an image gallery, you can use the gallery icon on the menu or manually type in the following syntax:

Example:

<gallery mode=packed>

Filename.jpg|width(in px)|Caption

Filename.jpg|width(in px)|Caption

Filename.jpg|width(in px)|Caption

</gallery>

By using mode=packed, all images are aligned by having the same height and justified.

Important:

  • go to Preferences → Appearance → Thumbnail size and pick the 600px option.
  • always add the thumb option to an image. By doing this, the image will be displayed at full size in the Article page, and at thumbnail size (600px) in the /section page, for example the Activities page. This speeds up page loading!
  • GIFS: upon exporting a gif, try not to exceed 700px in width. Wiki often cannot resize all the frames composing the gif in one go and might output an error.
  • Always leave an empty line before and after an image, no matter if it is preceded or followed by another image or text
  • Do NOT include links inside image captions


Youtube/Vimeo/Soundcloud

To embed a video via Youtube or Vimeo, or an audiotrack via Soundcloud, you need the id of that video or track. This is the sequence of characters that follow ?v= in Youtube video URLs, vimeo.com/ in Vimeo URLs, and soundcloud.com/ in Soundcloud URLs. Then:

  • For Youtube embeds, write {{#ev:youtube|id}} for a single video (eg. {{#ev:youtube|A1YYv_J2csk}}).
  • For Youtube playlist embeds, write {{#ev:youtubeplaylist|link of your playlist}} (eg. {{#ev:youtubeplaylist|https://www.youtube.com/playlist?list=PL-so9IFqQ0Y4m-c84McJ6N73uq5uT8Ze-}}).
  • For Vimeo embeds, write {{#ev:vimeo|id}} (eg. {{#ev:vimeo|68841788}}).
  • For Soundcloud embeds, write {{#ev:soundcloud|id}}.

Categories

We are using categories to structure the process of creating the content. The purpose of this separation is to aim for creating few types of content within the wiki – not only for web but also for print. Categories help to filter the content: for example, if the publication is being assembled, the "print" category becomes the content.

Depending on the type of page you created, either the Article or Event category is being added automatically to the page.

In short each page needs to be given at least 2 Categories within parameters.

For each page you have to choose the category that best matches the page you are working on.

Categories About (child)Categories Notes
Categories: Print / Web
Category:Status Informs about the state of production of a page WriteMe, EditMe, Ready to be published, Published

Choose the categories

Choosing the categories is easy.

  • While editing go to the Categories Menu at the bottom of the page you are editing, just above the Save Page button
  • The menu contains all the parameters and corresponding categories.
  • Expand the parameters and choose the right category for each parameter.

Categories Menu, with the categories for all parameters chosen

State parameter

State deserves a bit more of attention since it informs us on the state of the page in question.

The following table explain the 4 states, their meaning and who gets to uses them:

State Meaning Who gets to use
01 WriteMe Means: page is being developed http://pzwart3.wdka.hro.nl/mediawiki/images/2/2a/Construction.gif Who: Authors/Contributors of that page
02 EditMe Means: page development is concluded. All content is as its authors want it to be. Page is ready to be reviewed by the Editors Who: Authors/Contributors of that page
03 Ready to be published Means: Page's reviews and corrections by the Editors are conclude. Page is ready to be proofread by the Proofreader Who: Editors
04 Published Means: Page's proofreading is concluded. Page is ready to be published Who: Proofreader


WARNING: The right use of categories is crucial for the functioning of the project!


Changing pages' titles

Pages' titles can be changed by using the function Move in the top right corner in a dropdown menu next to the star.

The Move page permits you to attribute a new name to the current page. Important: It is not possible to change the page's title by editing the title of the article/event.

TODO

- [ ] Add detailed example

Keeping track

How does one keeps track of changes?

via Category Pages

Say you are an Editor and you want to see if any new pages were tagged with the State Category "02 Edit Me", so you can start editing this page.

You can see all the pages that are under that category, by going to "02 Edit Me" category page.

All Category Pages are accessible on the left sidebar. Just expand it and you'll find the the Category you are looking for.

via mailing list

The Mailing list can help with this process on notifying and keeping track of relevant changes in the wiki.

When one makes a change of a State Category, she can notify the whole team of this change via the Mailing List, so that other can carry on the work.

See how to use the mailing list in Mailing list


Communication

How do collaborators, editors, proofreaders, coordinators and designers communicate withing this ecosystem ? Say one totally disagrees with what is said in page where she is collaborating.

There are several ways to go about it.

mailing list

The disagreement can be handled over the Mailing list.

discussion/talk pages

Discussion or talk pages (synonyms) can also be used to communicate between users.

Discussion Pages are the backstage for the content of a page. They provide a space of discussions, remarks, etc can be expressed between users, without spilling on to the page content itself.

You can access by clicking on the top left corner the Discussion link. See if there is something on this page's discussion page.

Discussion pages' content can be view by anyone who visits the wiki, but wont ever become visible in http://hackersanddesigners.nl/

history

How to go back in time to previous versions of a page?

The history of a page (top right "View history" link) shows:

  • the list of changes that happen to that page
  • when they happened and which user did them
  • compare different edit
    • seeing what was changed between them
    • see the page as it was in a given revision
    • edit (or simply copy) the content of that given revision

Say that in your most recent version(revision) you deleted something you need again. To recuse that content:

  • go to "View history" page of the page you are working on
  • on the left hand side select the revision where you still had your deleted content
  • Click "Compare Selected Revisions"
  • On the left column where says "Revision as of ..." click Edit
  • Navigate the content and find the piece of content you are looking for
  • Copy it
  • Go back to your page by clicking the "Page" icon


problems

editing conflicts

You might experience editing conflicts while editing the wiki

the etherpad window

When editing an article with an etherpad window, it will make an error after saving. Log out, Log in again, click Edit on the article you were editing and save again. It's fixed : )

help

There are several ways to ask for help in editing.

  • Mailing list
    • Maybe the most direct is the mailing list for the project.
    • See how to use it in Mailing list
  • Mediawiki
    • the website on Mediawiki (the software on which Hackers & Designers wiki runs) provides a lot of information
    • http://www.mediawiki.org/wiki/MediaWiki
    • What you'll be looking for will probably be under "Using MediaWiki"