Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.

Working with Mediawiki

3 964 vues

Publié le

This is the basis for a short course I gave on using Mediawiki.

Publié dans : Technologie
  • Soyez le premier à commenter

Working with Mediawiki

  1. 1. Working with Mediawiki James P. Howard, II March 2008
  2. 2. Some Conventions <ul><li>WIKI_URL </li></ul><ul><ul><li>The base URL for your wiki installation </li></ul></ul><ul><li>Wiki and Mediawiki are used interchangeably </li></ul>
  3. 3. Mediawiki & Wikipedia <ul><li>Wikipedia is a collection of information repositories </li></ul><ul><ul><li>Encyclopedias, dictionaries, reference texts, and images </li></ul></ul><ul><ul><li>Scales well: eighteen languages with more than 100,000 encyclopedia articles </li></ul></ul><ul><li>Mediawiki powers Wikipedia </li></ul><ul><ul><li>Open access, with limited access restrictions </li></ul></ul><ul><ul><li>Full revision history for text, with comparison generator </li></ul></ul>
  4. 4. Environment <ul><li>Mediawiki was developed in PHP </li></ul><ul><li>Default start page is WIKI_URL/Main_Page </li></ul><ul><li>Each user has wikispace with URLs beginning with WIKI_URL/User:USERNAME/ </li></ul><ul><li>Each page has an associated “talk page” (also called “discussion page” for discussing that page) </li></ul><ul><li>Clicking “edit this page” will take user directly into page editor </li></ul><ul><li>“ history” will show user the history of that page </li></ul>
  5. 5. Basic Text Formatting <ul><li>''Italic text'' </li></ul><ul><li>'''Bold text''' </li></ul><ul><li>'''''Bold italic text''''' </li></ul><ul><li>==Header Level 1== </li></ul><ul><ul><li>===Header Level 2=== </li></ul></ul><ul><ul><ul><li>====Header Level 3==== </li></ul></ul></ul><ul><ul><ul><ul><li>...and so forth, table of contents autogenerated from headers </li></ul></ul></ul></ul><ul><li>Provide a blank line between paragraphs </li></ul>
  6. 6. Links <ul><li>[[Internal Link]] – creates a link to the wiki page “Internal Link” even if that page is non-existent </li></ul><ul><ul><li>[[Internal Link|This is an internal link]] – creates a link to “Internal Link” but with the alternative text </li></ul></ul><ul><ul><li>If page is non-existent, a red link will take user to editor for that page </li></ul></ul><ul><li>[http://www.jameshoward.us James Howard] – creates a link to the non-wiki page given </li></ul><ul><li>#REDIRECT [[Other Page]] will create a redirect page, transparent to end user </li></ul>
  7. 7. Unnumbered Lists <ul><li>* Create unnumbered lists </li></ul><ul><li>* With asterisks </li></ul><ul><li>* Presents as bulleted lists </li></ul><ul><li>** Sublists are created by nesting asterisks </li></ul><ul><li>*** There is no limit to nested asterisks </li></ul><ul><li>**** This is four levels down </li></ul>
  8. 8. Numbered Lists <ul><li># Create numbered lists </li></ul><ul><li># With hash marks </li></ul><ul><li># Presents as numbered lists </li></ul><ul><li>## Sublists are created by nesting hash marks </li></ul><ul><li>### There is no limit to nested hash marks </li></ul><ul><li>#### This is four levels down </li></ul>
  9. 9. Categories <ul><li>[[Category:Some category]] – will add a page to the given category </li></ul><ul><li>Categories are infinitely nestable and may contain an unlimited number of pages </li></ul><ul><li>Pages can be in an unlimited number of categories </li></ul><ul><li>Category pages are lead text that is editable just like a wiki page </li></ul>
  10. 10. Working with Images <ul><li>Images can be uploaded at special URL WIKI_URL/Special:Upload </li></ul><ul><li>Can be included in a page with [[Image:Some image.png]] </li></ul><ul><li>Can be captioned with [[Image:Some image.png|caption text]] </li></ul><ul><li>Can be resized with [[Image:Some image.png|200px100px|caption]] </li></ul><ul><li>Full revision history of images included </li></ul>
  11. 11. Other Special Files <ul><li>Other can file types (PDF, OpenOffice.org, &c.) uploaded at WIKI_URL/Special:Upload </li></ul><ul><li>Download links [[Media:Some Doc.pdf]] </li></ul><ul><li>Follows standard internal linking form, otherwise </li></ul><ul><li>Some restrictions on file types: no HTML, PHP </li></ul><ul><li>Full revision history of files included </li></ul><ul><li>Maximum file size is 16M </li></ul>
  12. 12. Templates <ul><li>Templates create preformatted text </li></ul><ul><li>Used with {{Some Template}} </li></ul><ul><ul><li>May include variables and run-time settings </li></ul></ul><ul><ul><li>May be static </li></ul></ul><ul><ul><li>Uses include creating preformatted boxes for displaying page-specific data </li></ul></ul><ul><ul><li>See examples on Wikipedia, e.g., http://en.wikipedia.org/wiki/Main_Page </li></ul></ul>
  13. 13. Treats & Tips <ul><li>Mediawiki understands TeX formula formatting </li></ul><ul><ul><li><math>sqrt{2}</math> -> </li></ul></ul><ul><li>Interwiki links for linking to pages in other wikis </li></ul><ul><ul><li>[[Wikipedia:James Howard]] -> prefacing a page name with “Wikipedia:” will create link to the English Wikipedia page </li></ul></ul><ul><li>Mediawiki supports footnotes </li></ul><ul><ul><li><ref>Some note</ref> </li></ul></ul><ul><ul><li>Place notes anywhere with <references /> </li></ul></ul>
  14. 14. Extensibility <ul><li>Mediawiki is highly extensible beyond templates </li></ul><ul><li>Plugins create new features and commands </li></ul><ul><ul><li>Shortcuts for integrated outside video into pages </li></ul></ul><ul><ul><li>Authentication frameworks </li></ul></ul><ul><ul><li>RSS and Atom feeds for blog integration </li></ul></ul><ul><li>Extensions are written in PHP </li></ul><ul><li>Cannot be installed by the end user </li></ul>
  15. 15. Suggested Reading <ul><li>Mark S. Choate, Professional Wikis (Indianapolis, IN: Wrox, 2007). </li></ul><ul><li>Anja Ebersbach et al., Wiki: Web Collaboration , 2nd completely rev. and enl. ed. (Berlin: Springer, 2008). </li></ul><ul><li>Mizanur Rahman, MediaWiki Administrators' Tutorial Guide: Install, manage, and customize your MediaWiki installation (Birmingham, UK: Packt Publishing, 2007). </li></ul><ul><li>Dan Woods and Peter Thoeny, Wikis For Dummies (Indianapolis, IN: Wiley Publishing, 2007). </li></ul>