Difference between revisions of "MediaWiki/Presentation"

From Freephile Wiki
Jump to navigation Jump to search
(testing chinese slideshow)
Line 1: Line 1:
 
{{Draft}}
 
{{Draft}}
 +
 +
<slide>style</slide>
 +
from http://meta.wikimedia.org/wiki/User:BR/S5_slide_for_mediawiki_documentation/en
  
 
# Do slides on s5 so I can play and distribute the slides
 
# Do slides on s5 so I can play and distribute the slides
Line 63: Line 66:
 
# Automatic TOC
 
# Automatic TOC
 
# Section editing
 
# Section editing
# Magic words <nowiki>__NOTOC__, __TOC__ #REDIRECT __HIDDENCAT__</nowiki>
+
# Magic words
# Variables <nowiki>{{NUMBEROFARTICLES}} {{NUMBEROFEDITS}} {{NUMBEROFUSERS}}</nowiki>
+
<nowiki>__NOTOC__, __TOC__ #REDIRECT __HIDDENCAT__</nowiki>  
# Special pages <nowiki>[[Special:ListGroupRights]]</nowiki> Image searching
+
# Variables
 +
<nowiki>{{NUMBEROFARTICLES}} {{NUMBEROFEDITS}} {{NUMBEROFUSERS}}</nowiki>  
 +
# Special pages
 +
<nowiki>[[Special:ListGroupRights]]</nowiki> Image searching
 
# Protection
 
# Protection
  
Line 74: Line 80:
 
## <dt> Image <dd> Used for all file uploads, whether image, video, sound, doc or whatever.  Each upload creates it's own article within this namespace
 
## <dt> Image <dd> Used for all file uploads, whether image, video, sound, doc or whatever.  Each upload creates it's own article within this namespace
 
## <dt> Project <dd> Used as a "About Us" namespace -- not used for the main content of your wiki, but normally reserved for pages about the project which created the wiki.
 
## <dt> Project <dd> Used as a "About Us" namespace -- not used for the main content of your wiki, but normally reserved for pages about the project which created the wiki.
## <dt> Help <dd> What it sounds like, this namespace is  
+
## <dt> Help <dd> What it sounds like, this namespace is
 
## <dt> Template <dd>
 
## <dt> Template <dd>
 
## <dt> Category <dd>
 
## <dt> Category <dd>
Line 81: Line 87:
 
</dl>
 
</dl>
 
# Subpages
 
# Subpages
# Templates "transclusion" <nowiki><noinclude> </noinclude> <includeonly></includeonly></nowiki> show example.  
+
# Templates "transclusion"
 +
<nowiki><noinclude> </noinclude> <includeonly></includeonly></nowiki> show example.
 
## arguments
 
## arguments
 
## Templates used on this page
 
## Templates used on this page

Revision as of 23:54, 5 December 2008

Template:Draft

<slide>style</slide> from http://meta.wikimedia.org/wiki/User:BR/S5_slide_for_mediawiki_documentation/en

  1. Do slides on s5 so I can play and distribute the slides
  2. write an extension that creates an s5 slideshow from mw article(s)
  3. Ask Andy Oram for the O'Reilly MediaWiki book
  4. Rehearse
  5. Record to video for blogging

Intro[edit | edit source]

MediaWiki is the free software (GPL) that runs Wikipedia under the auspices of the Wikimedia Foundation Freebies (books, commons)

Using it[edit | edit source]

I'm not going into a detailed comparison of various wikis, trying to argue which is best. But I'll point out a few reasons why you should care about MediaWiki in case you don't know.

It's the most popular wiki in the world. In practical terms that means people you hire will know mediawiki. The growth is exponential. The quality is excellent. Does your wiki have conferences? Does your wiki have a foundation to keep it going?

I do want to point out that MediaWiki does not use [1] words in order to make a link. This means a lot to all the Irish people of the world, and also the marketers who seem pretty convinced of the coolness of McWords like ThinkPad, etc.

MediaWiki syntax is easy to learn, and easy to use. In fact, you might already be using it without even knowing it.

  • this
  • is
  • a list

and

  1. Family
  2. Community
  3. Work
  4. Country

is an ordered list.

http://example.com links are automatic and by using a simple bracket notation, you can make them prettier and more meaningful <nowki>See the kids in their Halloween costumes</nowiki> See the kids in their Halloween costumes

  • External editor
  • Wysiwyg editor

WikEd is a full wysiwyg editor with special features for MediaWiki. You can install it for yourself in a single browser as a user script http://userscripts.org/scripts/show/12529 or you can install it into your mediawiki installation.

WikEd[edit | edit source]

  • Wikicode syntax highlighting
  • Pasting, import, and conversion of formatted text, e.g. from Microsoft-Word and web pages
  • Regular expression search and replace
  • Edit preview and show changes on the same page without reloading
  • Fullscreen editing mode
  • Single-click fixing of common mistakes
  • History for summary, search, and replace fields
  • Jump to selected heading
  • Type-ahead find
  • Support for many languages
  • Improved diff display
  • Follow links and wiki-links (ctrl-click)
  • Runs automatically on every MediaWiki installation when installed as a local Greasemonkey user script

For more details, see the WikEd homepage

Features[edit | edit source]

  1. Recent Changes
  2. Watchlist
  3. Preferences
  4. Automatic TOC
  5. Section editing
  6. Magic words

__NOTOC__, __TOC__ #REDIRECT __HIDDENCAT__

  1. Variables

{{NUMBEROFARTICLES}} {{NUMBEROFEDITS}} {{NUMBEROFUSERS}}

  1. Special pages

[[Special:ListGroupRights]] Image searching

  1. Protection

Creating Structure[edit | edit source]

  1. Wikifarm
  2. Namespaces
    1. Main
      What is sounds like, there is no need to specify this namespace when making links
    2. Image
      Used for all file uploads, whether image, video, sound, doc or whatever. Each upload creates it's own article within this namespace
    3. Project
      Used as a "About Us" namespace -- not used for the main content of your wiki, but normally reserved for pages about the project which created the wiki.
    4. Help
      What it sounds like, this namespace is
    5. Template
    6. Category
    7. Special
    8. MediaWiki
      MediaWiki:Sidebar
  1. Subpages
  2. Templates "transclusion"

<noinclude> </noinclude> <includeonly></includeonly> show example.

    1. arguments
    2. Templates used on this page
    3. copying from mediawiki Special:ExpandTemplates
  1. Categories
  2. Navigation (talk about in Administration)


Administering it[edit | edit source]

  • Custom menu

Developing it[edit | edit source]

  • Theming
  • Extensions

Theming[edit | edit source]

The quickest thing you do is change the menu and the logo


Extensions[edit | edit source]

  1. The Manual
  2. An incomplete list of extensions

So many examples, which ones to highlight?

  1. Case Western University's Google Map Extension

Any wiki site you visit, you can see the installed extensions by viewing the Special:Version page


Getting it, Installing it[edit | edit source]

use svn

Setup for an intranet and/or KB[edit | edit source]

  • Namespaces
  • Wiki farm ala Drupal multisite

One Hack[edit | edit source]

Uselang (show image) MediaWiki_SpecialUpload_interface_labelled.png

Resources[edit | edit source]

Book IRC Manual

Source

  1. CamelCase