documentation: Introduction

From Anarchopedia
Jump to: navigation, search

This is PART 1: Introduction - General Information and Architecture of the.

Overview[edit]

This is a general, non-technical introduction to the WikiMedia software.

Some Basic Terminology: MediaWiki, WikiMedia, and Wikipedia[edit]

MediaWiki 
MediaWiki is the software program that runs Wikipedia [1] and other Wikimedia projects [2].
Wikimedia 
Wikimedia is the over-arching nonprofit foundation that coordinates all contributions to the growing GNU FDL text base assembled by the donors using the Wikipedia, Wiktionary and other projects managed by the foundation [3].
Wikipedia 
Wikipedia is the Encyclopedia project, that initiated the development of the MediaWikiSoftware. For a project's description and its history see here [] and here []. There are several more or less official Sister projects like Wiktionary [4], Wikibooks, [5], and Wikiquote, [6], as well as "unofficial" derivates, all of them using the MediaWiki software.
Meta-Wikimedia 
Meta-Wikimedia is a wiki meant to work alongside the main Wikipedia and other Wikimedia projects. Meta can be used for several Wikimedia-related purposes [7].

What is MediaWiki?[edit]

MediaWiki is the software program released under the GNU GPL that runs and a number of other. It is developed by contributors to these projects.

MediaWiki is a, meaning that anyone can easily edit any article and have those changes posted immediately. The software contains a lot of, also. If you want to learn more about editing and other aspect of the user's point of view, you might want to read the

The name "MediaWiki" was coined by contributor Daniel Mayer as a play on Wikimedia [8]. Before that, the software was known as "Wikipedia software Phase III".

The MediaWiki Project is hosted at Sourceforge [9]; if you're interested in the code, you might want to read the following pages:

  • , and
  • .

What is MediaWiki - not?[edit]

MediaWiki is not...

...a Content Management System (CMS) software.

...a Forum or Bulletin Board System (BBS) software.

...a Groupware, Messaging, or Computer Supported Cooperative Work (CSCW) software

...a Workflow Management System (WfMS).

See for further description and discussion of these items.

Architecture[edit]

The current MediaWiki software is built on top of an AMP environment; in this case, this means, that MediaWiki utilizes

  • the for delivering web pages,
  • the as a database backend for storing the content, and
  • the for the application logic that glues together these components.

System Requirements[edit]

The MediaWiki software typically runs in a environment on the i386 platform. (This is the primary/reference platform.) It is also possible to run the MediaWiki software efficiently under Microsoft Windows and Apple Mac OS X.

Software[edit]

Everything you need to run a MediaWiki server is available as Open Source Software.

  • Operating system: Several platforms are possible, including GNU/Linux, Microsoft Windows, and Apple MacOS X. The software is being developed under GNU/Linux, and the recommended environment is a GNU/Linux distribution, also; we recommend Debian GNU/Linux, because this comes closest to the ideals of the Wikipedia, but in this area you are free to choose.
  • Apache httpd, version 1.3 or 2.0 - Open Source.
  • MySQL daemon, version 4.x - Open Source.
  • PHP scripting environment, version 4.3 - Open Source.
  • MediaWiki software - Open Source.
  • Some web browser - lots of alternatives are available as Open Source.

Hardware[edit]

  • i386 hardware architecture (Intel, AMD etc.) recommended, some other architectures are possible (e.g. PowerPC w/ Mac OS X).
  • Memory - depending on the planned usage everything is possible staring with about 96 MB of RAM (?); for best performance, the complete database should fit into the RAM.
  • Disk space - also depending on your requirements; if you want to start a small WikiWikiWeb on your own, a few Megabytes of disk space will be enough. If you want to completely mirror the English Wikipedia with all images, you'll at least need 3 Gigabytes (?)
  • Network Interface Card (NIC) - anything that is supported by your operating system can be used.

Networking[edit]

  • The MediaWiki software can run on any networked computer; it doesn't even require a DNS entry. If you want to offer a public website, you need an Internet connection, the faster the better; but you can even run it through a leased line with DynDNS.
  • MediaWiki can also run on a local computer without a network connection and serve you as a powerful Personal Information Management system (PIM).

Licensing[edit]

  • The MediaWiki software is licensed under terms of the GNU General Public License (GPL)
  • The content created by the MediaWiki can be licensed under terms of the GNU Free Documentation License, [10], as it has been done on Anarchopeida and other like, etc., but you are free to choose another type of licensing.

See also: copyrights and [11].

Feature list[edit]

You may wonder if you should use for your own wiki.. This depends on what kind of wiki you want to run. Wikipedia's software has many useful features that grew out of the needs of the users and the ideas of the developers -- but features also mean complexity. The functionality can be overwhelming, even though we try to do everything we can to keep things easy to use. Complexity also means that there are lots of places where you may have to customize the script for your own use..

Before you decide to use the Wikipedia script, please do take a look at other Wiki Engines and see if one of them might meet your requirements better. For small wikis, UseMod is always a safe bet -- it supports [[free links]] (as opposed to) and does not need (or support) a database. This is, of course, also a bottleneck in terms of functionality.

Look and feel[edit]

  • Side bar: A bar on the left or right of the screen with short-cuts
  • ': Different ways to present the site.
  • "Stub" threshold: Users can see links to articles below a certain size rendered in a different color
  • Printable versions of articles can be generated
  • Auto-number headings in an article (optional)
  • Generate a table of contents for long articles (optional)
  • Automagically turn ISBN numbers into links to an editable list of booksellers

Multimedia and extensions[edit]

  • File upload feature allows to upload graphics or sound files, see special:Upload. Uploaded files are listed on Recent Changes and they are also logged on log:Uploads.
  • Mathematical formulas using LaTeX syntax: see
  • Automatic resizing of images using ImageMagick or libgd, simple syntax for image captions and image alignment

Keeping track of edits[edit]

  • Watchlist Every page has a link "Watch this article for me". Use special:Watchlist to track changes on the articles you declared an interest in; watched articles are also bolded in the Recent changes list .
  • User contributions in the sidebar of each user page list all articles the user has worked on, according to the database.
  • Extended recent changes with dynamic collapsing of edits to the same article and quick links to diff the edit, show the article history, show the user page, show the user talk page, or block the user (for sysops)
  • "Related changes": View a filtered version of Recent Changes to the pages linked from the current page.
  • Side-by-side diffs - the diffs are shown side-by-side, and changed portions of lines are highlighted, making it much easier to see what's what. Additionally, a diff is shown during an edit conflict so you can see exactly what you need to reintegrate.

Structure and syntax[edit]

  • Editing syntax based on UseMod, with support for mixing wiki-syntax and HTML. Only free links are supported for linking, not CamelCase (deliberate design decision).
  • Namespaces allow content separation (to address the namespace, use the [[en:Namespace:Page title]] syntax). Discussion pages are separate from article pages, "meta" project pages can be separated from content pages, image pages are used for image descriptions.
  • Word-extension linking: If you include a link of the form [[en:war|wars]], or [[en:war|wartime]], the system will automatically display it as if you had typed [[en:war|wars]] or [[en:war|wartime]], respectively, saving some typing.
  • Parenthetical hiding If you include a link of the form [[en:kernel (mathematics)|]], the parenthetical portion will be hidden in the link:. This is useful for disambiguating different meanings of a word without making linking too difficult or cluttering up the text of articles. This also works with cropping out namespaces when you want a cleaner-looking link: [[Anarchopedia:en:copyrights|]] becomes copyrights
  • Link to individual sections of an article, e.g. (these links may become invalid if sections are retitled or removed)
  • Support for subpages (link to "Foo/Bar" from "Foo" by just typing "/Bar", "Foo/Bar" contains a backlink to "Foo"), these can be enabled or disabled by namespace (e.g., Wikipedia currently supports subpages on discussion pages, to make archiving easy, and on user pages, to give users space for personal pages)

Editing[edit]

  • Section editing. Users can enable an option that allows them to edit individual sections of an article (separated by headlines) instead of loading the entire article.
  • Edit toolbar (JavaScript-based) for formatting text as bold, italic etc. (fully works in Mozilla and IE, other browsers use it to show the syntax, but cannot format text inside the textarea because their JavaScript implementation does not support it). If JavaScript is disabled, the toolbar is not shown.
  • Edit summary which is shown in "Recent changes"
  • Double click editing: Users can enable an option that allows them to edit articles by double clicking them.
  • Edit preview (can be shown before or after edit box)
  • Handle edit conflicts (page being saved by a user while still being edited by another one, then saved again)
  • Mark edits as minor; users can decide to hide such edits from the Recent Changes list. Only signed in users can mark edits as minor.

Discussions[edit]

  • Talk pages: Each user (including every anonymous user) and every article has an associated page where messages can be left. These are separate namespaces (see above), "Talk:" and "User talk:".
  • Message notification (user gets a "You have new messages" notice if someone else has edited his user discussion page); this also works for anonymous users
  • Automatic signature: Just type three tildes (~) when you edit, and on saving the page, it will be replaced with your user name and a link to your user page. If you use four tildes, the current date will be added as well. Mainly intended for Talk pages.
  • Support for emailing users through the wiki (email address not shown to the user)

Multilanguage support[edit]

Backend[edit]

  • Database-driven (MySQL, no other databases currently supported)
  • Smart caching: rendered pages are (optionally) saved as static HTML files and served as such unless modified; support for Squid proxies
  • Cookie-based account and login system, but anonymous users can also edit pages.
  • All revisions of an article are stored (optionally compressed).

Permissions[edit]

  • Different rights for anonymous users, signed in users, sysops, bureaucrats and developers.
  • Signed in users can:
    • move and rename pages
    • upload files
  • Sysops can:
    • protect pages from editing
    • delete and undelete pages
    • edit protected pages
    • ban users by IP address
    • ban users by username, if this option is enabled
    • run SQL queries on the database, if this option is enabled
  • "Bureaucrats" can:
    • create sysops
  • Developers (admins) can:
    • lock the database
    • run various maintenance tasks
  • Other permission schemes (e.g. only signed in users can edit pages) can be configured

Search and Queries[edit]

  • Full text search
  • "Go" button allows direct viewing of a specified article's contents (tries near match if no exact hit)
  • "What links here": View pages that link to the current page (backlinks)
  • Special report pages:
    • New pages: List of newly created articles
    • Ancient pages: Articles sorted by timestamp, ascending
    • List of images
    • List of users
    • Site statistics [12]
    • Orphaned articles (articles that have no links pointing to them)
    • Orphaned images
    • Popular articles (articles by number of visits, works only if counters are enabled)
    • Most wanted articles (non-existent articles sorted by number of links pointing to them)
    • Short articles
    • Long articles
    • List of all pages by title

Misc.[edit]

  • Random article display function
  • Users can configure their timezone, which is used on all report timestamps
  • The attributes of many report pages (number of results etc.) can be set in the user preferences

Structure: Orientation on the Web Site(s)[edit]

This section gives you a short introduction about the MediaWiki, Wikipedia, Wikimedia, and associated websites - what they are, what you can find there, and why you might to check them out.

  • Wikipedia - English, [13] etc. - Great to see what can be done with the MediaWiki software, to learn about the conventions used in Wiki editing, and to see lots of helpful markup samples.
  • September 11 Memorial Wiki, [14] - Another example of the MediaWiki software in use.
  • Wikipedia database download, [15].
  • ...

Project Communication - Getting in contact and keeping in touch[edit]

Most of the communication within the MediaWiki project is managed through three channels:

  • Talk pages - for associated discussions about a specifig page or topic;
  • Mailing lists - for general, asynchronous discussions, questions and answers, and announcements,
  • IRC - for real time communication, especially for active developers and contributors.

Revision History (Changelog)[edit]

  • Wikipedia software Phase I - UseMod software [16]. Until early 2002 it was used to run all versions of Wikipedia. Currently it is still used for a number of language versions, including Finnish, Italian, Portuguese, Norwegian and Lower Saxon. They are planned to be converted to MediaWiki, see m:Wikipedia software upgrade status [17].
  • Wikipedia software Phase II - first implementation in LAMP/AMP by Magnus Manske [18]. It was switched from UseModWiki software ("Phase I") to new software, written especially for Wikipedia using the PHP programming language, on January 25, 2002 ("Phase II").

Change from Phase II to Phase III [19]

On Saturday, July 20, 2002, Wikipedia moved to a new high-capacity server and new, hopefully more efficient, software base. The new software was designed to look and behave as similarly to the previous phase II software as possible, but a few new features and changes should be noted:

  • A whole new system for uploading and using images to illustrate your articles.
  • Search function now indexes 2- and 3-letter words.
  • New side-by-side diffs of article changes.
  • "Floating" sidebar option for some modern web browsers.
  • A few minor changes to wikitext syntax (see wikipedia:How does one edit a page)
  • Since anonymous users, while not having user pages, still have user contributions pages, their IP numbers in lists like Recentchanges and article histories link to their contributions.
  • Support for maths formulae using Wikipedia:TeX markup
  • Better support for auto-posting "bots"
  • A new static page caching system has greatly reduced system load
  • The database server and the page server now run on separate machines

The Phase III software is robust, and under active development. Many more features have been, and are expected to be, added to the Phase III software, together with bug fixes and improvements in stability. You are encouraged to submit bug reports.

  • Wikipedia software Phase III = MediaWiki - based on LAMP/AMP. The name "MediaWiki" was coined by Wikipedia contributor Daniel Mayer as a play on Wikimedia.[20] Before that, the software was known as "Wikipedia software Phase III"; it was was replaced by what is now called MediaWiki in June 2002.
  • "Wikipedia software Phase IV" [21], [22].

The next version of the software is Phase IV.

Where to go from here[edit]


Credits[edit]