Difference between revisions of "MediaWiki/Presentation"
(revert edits to fix search where character encoding was a problem) |
(links to userscripts) |
||
(44 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{Draft}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
http://en.wikipedia.org/wiki/Special:Preferences | http://en.wikipedia.org/wiki/Special:Preferences | ||
Line 11: | Line 6: | ||
# DONE Do slides on s5 so I can play and distribute the slides | # DONE Do slides on s5 so I can play and distribute the slides | ||
# DONE write an extension that creates an s5 slideshow from mw article(s) | # DONE write an extension that creates an s5 slideshow from mw article(s) | ||
− | # DONE | + | # DONE Ask Andy Oram for the O'Reilly MediaWiki book |
− | # | + | # Write outline for Mark |
− | # | + | # Complete presentation |
− | + | ## Images | |
− | ## | + | ## Video |
− | ## | + | # Rehearse and Repeat |
− | # | + | # Record to video for blogging |
− | # | ||
− | |||
== Intro == | == Intro == | ||
− | + | MediaWiki is the free software (GPL) that runs Wikipedia under the auspices of the Wikimedia Foundation. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | I'm Greg Rundlett, a free software advocate who lives in Newburyport, MA with my wife and two sons. I'm here to show you a lot of things about the wiki system called MediaWiki and hope that you'll take away a lot from this presentation. The great thing about sharing knowledge; like sharing free software; is that you can take away as much as you possibly can and I may take away an even greater knowledge than I started with just from our sharing. | ||
− | + | Oh, and I do have some tangible free and cool stuff too. Freebies (books, commons) | |
− | |||
− | + | == Using it == | |
− | + | 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. | |
− | == Using it | ||
− | |||
− | It's the most popular wiki | + | It's the most popular wiki in the world. In practical terms that means people you hire will know mediawiki. |
− | The growth | + | The growth is exponential. The quality is excellent. |
Does your wiki have [http://wikimania2006.wikimedia.org/wiki/Main_Page conferences]? | Does your wiki have [http://wikimania2006.wikimedia.org/wiki/Main_Page conferences]? | ||
− | + | Does your wiki have a foundation to keep it going? | |
− | |||
− | |||
− | |||
− | Does your wiki have | ||
− | |||
− | |||
− | + | I do want to point out that MediaWiki does not use <ref>CamelCase</ref> 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. | |
− | I do want to point out that MediaWiki does not use CamelCase 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. | MediaWiki syntax is easy to learn, and easy to use. In fact, you might already be using it without even knowing it. | ||
Line 76: | Line 44: | ||
is an ordered list. | 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 | + | http://example.com links are automatic and by using a simple bracket notation, you can make them prettier and more meaningful <nowki>[http://www.vimeo.com/2142196 See the kids in their Halloween costumes]</nowiki> [http://www.vimeo.com/2142196 See the kids in their Halloween costumes] |
− | [http://www.vimeo.com/2142196 See the kids in their Halloween costumes] | ||
− | + | * External editor | |
− | + | * Wysiwyg editor | |
− | + | [http://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd 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. | |
− | + | * Style sheets and | |
− | + | * Use this http://userscripts.org/scripts/show/6372 greasemonkey script to show any mediawiki page as a presentation | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | === WikEd === | |
* Wikicode syntax highlighting | * Wikicode syntax highlighting | ||
* Pasting, import, and conversion of formatted text, e.g. from Microsoft-Word and web pages | * Pasting, import, and conversion of formatted text, e.g. from Microsoft-Word and web pages | ||
Line 105: | Line 65: | ||
* Improved diff display | * Improved diff display | ||
* Follow links and wiki-links (ctrl-click) | * Follow links and wiki-links (ctrl-click) | ||
− | * Runs automatically on every MediaWiki installation when installed as a local | + | * Runs automatically on every MediaWiki installation when installed as a local Greasemonkey user script |
For more details, see the [http://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd WikEd] homepage | For more details, see the [http://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd WikEd] homepage | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Features == | == Features == | ||
Line 128: | Line 75: | ||
# Section editing | # Section editing | ||
# Magic words | # Magic words | ||
− | + | ||
− | # | + | |
− | + | ||
− | + | ||
− | + | <nowiki>__NOTOC__, __TOC__ #REDIRECT __HIDDENCAT__</nowiki> | |
+ | # Variables | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | <nowiki>{{NUMBEROFARTICLES}} {{NUMBEROFEDITS}} {{NUMBEROFUSERS}}</nowiki> | ||
# Special pages | # Special pages | ||
− | + | ||
− | + | ||
− | + | ||
− | # Protection | + | |
− | + | <nowiki>[[Special:ListGroupRights]]</nowiki> Image searching | |
+ | # Protection | ||
== Creating Structure == | == Creating Structure == | ||
# Wikifarm | # Wikifarm | ||
− | # | + | # Namespaces <dl> |
## <dt> Main <dd> What is sounds like, there is no need to specify this namespace when making links | ## <dt> Main <dd> What is sounds like, there is no need to specify this namespace when making links | ||
## <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 153: | Line 107: | ||
</dl> | </dl> | ||
# Subpages | # Subpages | ||
− | # | + | # Templates "transclusion" |
− | + | ||
+ | |||
+ | |||
+ | |||
+ | <nowiki><noinclude> </noinclude> <includeonly></includeonly></nowiki> show example. | ||
## arguments | ## arguments | ||
## Templates used on this page | ## Templates used on this page | ||
− | ## copying from | + | ## copying from mediawiki [[Special:ExpandTemplates]] |
# Categories | # Categories | ||
# Navigation (talk about in Administration) | # Navigation (talk about in Administration) | ||
+ | |||
== Administering it == | == Administering it == | ||
− | + | * Custom menu | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Developing it == | == Developing it == | ||
− | + | * Theming | |
− | + | * Extensions | |
− | + | * Conversion of existing wikis and documents [[Format conversion]] | |
− | |||
− | |||
=== Theming === | === Theming === | ||
The quickest thing you do is change the menu and the logo | The quickest thing you do is change the menu and the logo | ||
− | + | ||
=== Extensions === | === Extensions === | ||
− | # [http://www. | + | # [http://www.mediawiki.org/wiki/Manual:Extensions The Manual] |
− | # [http://www. | + | # [http://www.mediawiki.org/wiki/Extension_Matrix An incomplete list of extensions] |
So many examples, which ones to highlight? | So many examples, which ones to highlight? | ||
Line 205: | Line 141: | ||
Any wiki site you visit, you can see the installed extensions by viewing the Special:Version page | Any wiki site you visit, you can see the installed extensions by viewing the Special:Version page | ||
* http://wiki.case.edu/Special:Version | * http://wiki.case.edu/Special:Version | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Getting it, Installing it == | == Getting it, Installing it == | ||
− | + | use svn | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Line 247: | Line 151: | ||
=== Creating Slideshows === | === Creating Slideshows === | ||
[[MediaWiki/Slideshow]] | [[MediaWiki/Slideshow]] | ||
− | < | + | |
− | + | ||
+ | <nowiki><slide>flower</slide></nowiki> will create a nice slideshow | ||
from http://meta.wikimedia.org/wiki/User:BR/S5_slide_for_mediawiki_documentation/en | from http://meta.wikimedia.org/wiki/User:BR/S5_slide_for_mediawiki_documentation/en | ||
− | |||
− | |||
− | |||
=== Setup for an intranet and/or KB === | === Setup for an intranet and/or KB === | ||
Line 261: | Line 163: | ||
=== Publishing === | === Publishing === | ||
Wiki is quick markup. | Wiki is quick markup. | ||
− | Feed recent changes into publishing system that moves those out into front-end -- even static. | + | Feed recent changes into publishing system that moves those out into front-end -- even static. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== One Hack == | == One Hack == | ||
Line 273: | Line 169: | ||
* http://commons.wikimedia.org/wiki/MediaWiki:UploadForm.js/Documentation | * http://commons.wikimedia.org/wiki/MediaWiki:UploadForm.js/Documentation | ||
* http://commons.wikimedia.org/wiki/Commons:Redesigning_the_upload_form | * http://commons.wikimedia.org/wiki/Commons:Redesigning_the_upload_form | ||
− | * http://www. | + | * http://www.mediawiki.org/wiki/User:Pfctdayelise/Manual:Uselang_hack |
== Resources == | == Resources == | ||
− | * | + | * Book |
* IRC | * IRC | ||
− | * | + | * Manual |
* Source | * Source | ||
* [http://userscripts.org/tags/wikipedia More user scripts] | * [http://userscripts.org/tags/wikipedia More user scripts] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[Category:Wiki]] | [[Category:Wiki]] | ||
[[Category:Presentations]] | [[Category:Presentations]] | ||
[[Category:Howto]] | [[Category:Howto]] |
Revision as of 23:59, 5 December 2008
http://en.wikipedia.org/wiki/Special:Preferences
- DONE Do slides on s5 so I can play and distribute the slides
- DONE write an extension that creates an s5 slideshow from mw article(s)
- DONE Ask Andy Oram for the O'Reilly MediaWiki book
- Write outline for Mark
- Complete presentation
- Images
- Video
- Rehearse and Repeat
- Record to video for blogging
Contents
Intro[edit | edit source]
MediaWiki is the free software (GPL) that runs Wikipedia under the auspices of the Wikimedia Foundation.
I'm Greg Rundlett, a free software advocate who lives in Newburyport, MA with my wife and two sons. I'm here to show you a lot of things about the wiki system called MediaWiki and hope that you'll take away a lot from this presentation. The great thing about sharing knowledge; like sharing free software; is that you can take away as much as you possibly can and I may take away an even greater knowledge than I started with just from our sharing.
Oh, and I do have some tangible free and cool stuff too. 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
- Family
- Community
- Work
- 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.
- Style sheets and
- Use this http://userscripts.org/scripts/show/6372 greasemonkey script to show any mediawiki page as a presentation
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]
- Recent Changes
- Watchlist
- Preferences
- Automatic TOC
- Section editing
- Magic words
__NOTOC__, __TOC__ #REDIRECT __HIDDENCAT__
- Variables
{{NUMBEROFARTICLES}} {{NUMBEROFEDITS}} {{NUMBEROFUSERS}}
- Special pages
[[Special:ListGroupRights]] Image searching
- Protection
Creating Structure[edit | edit source]
- Wikifarm
- Namespaces
- Main
- What is sounds like, there is no need to specify this namespace when making links
- Image
- Used for all file uploads, whether image, video, sound, doc or whatever. Each upload creates it's own article within this namespace
- 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.
- Help
- What it sounds like, this namespace is
- Template
- Category
- Special
- MediaWiki
- MediaWiki:Sidebar
- Subpages
- Templates "transclusion"
<noinclude> </noinclude> <includeonly></includeonly> show example.
- arguments
- Templates used on this page
- copying from mediawiki Special:ExpandTemplates
- Categories
- Navigation (talk about in Administration)
Administering it[edit | edit source]
- Custom menu
Developing it[edit | edit source]
- Theming
- Extensions
- Conversion of existing wikis and documents Format conversion
Theming[edit | edit source]
The quickest thing you do is change the menu and the logo
Extensions[edit | edit source]
So many examples, which ones to highlight?
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
In Production[edit | edit source]
Creating Slideshows[edit | edit source]
<slide>flower</slide> will create a nice slideshow
from http://meta.wikimedia.org/wiki/User:BR/S5_slide_for_mediawiki_documentation/en
Setup for an intranet and/or KB[edit | edit source]
- Namespaces
- Wiki farm ala Drupal multisite
Publishing[edit | edit source]
Wiki is quick markup. Feed recent changes into publishing system that moves those out into front-end -- even static.
One Hack[edit | edit source]
Uselang (show image)
- http://commons.wikimedia.org/wiki/MediaWiki:UploadForm.js/Documentation
- http://commons.wikimedia.org/wiki/Commons:Redesigning_the_upload_form
- http://www.mediawiki.org/wiki/User:Pfctdayelise/Manual:Uselang_hack
Resources[edit | edit source]
- Book
- IRC
- Manual
- Source
- More user scripts