MediaWiki: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>J. Noel Chiappa
(→‎Namespaces: Purpose of talk: namespace)
mNo edit summary
 
(12 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Subpages}}
{{Subpages}}
 
'''MediaWiki''' is a free [[software]] suite ([[system]]) which is  for [[wiki]]s, i.e. [[World Wide Web|WWW]]-based systems for collaborative development of interlinked documentation. More simply put, it provides a web site with content which the users can modify via their browsers. It was originally developed to run [[Wikipedia]]; it is now freely available, and many other wiki sites (including ''Citizendium'') use it.
'''MediaWiki''' is a free [[software]] suite ([[system]]) which is  for [[wiki]]s, i.e. [[World Wide Web|WWW]]-based systems for collaborative development of interlinked documentation. More simply put, it provides a web site with content which the users can modify via their browsers.
 
It was originally developed to run [[Wikipedia]], the popular free online [[encyclopaedia]]; it is now freely available, and many other wiki sites (including [[Citizendium]]) use it. MediaWiki is now the most popular software used to run wikis on, and many organizations now use wikis internally, a development which is partially due to the free availability of relatively high-quality software to provide this capability.


==Technical concepts==
==Technical concepts==
<!-- This section title is the target of the redirects [[MediaWiki pages]], etc - if you change this text, please fix them. -->
<!-- This section title is the target of the redirects [[MediaWiki pages]], etc - if you change this text, please fix them. -->
===Pages===
===Pages===
Information in MediaWiki is organized into ''pages'', which are the basic large-scale units of information. A page is roughly equivalent to a [[file]] in most [[operating systems]]. A page is a somewhat richer object than a plain file in these systems, because it has a ''history'' which is an integral part of it; the history records every single change made to a page, along with the identity of the person who made the change.


Information in in MediaWiki is organized into ''pages'', which are the basic large-scale unit of information. A page is roughly equivalent to a [[file]] in most [[operating systems]]. A page is a somewhat richer object than a plain file in these systems, because it has a ''history'' which is an integral part of it; the history records every single change made to a page, along with the identity of the person who made the change.
A WikiMedia page has nothing to do with pages in popular editors such as [[Microsoft Word]], or the physical sheets of [[paper]] which are the progenitors of pages in editors. It has more of a connection to the concept of 'page' in the [[WWW]], where it again means an integral unit of data - although without the additional 'history' [[semantics]] which the 'page' object has in MediaWiki.


As is probably obvious by now, a WikiMedia page has nothing to do with pages in popular editors such as [[Microsoft Word]], or the physical sheets of [[paper]] which are the progenitors of pages in editors. It does have more of a connection to the concept of 'page' in the [[WWW]], where it again means an integral unit of data - although without the additional 'history' [[semantics]] which the 'page' object has in MediaWiki.
<!-- This section title is the target of the redirects [[MediaWiki markup]], etc - if you change this text, please fix them. -->


<!-- This section title is the target of the redirects [[MediaWiki markup]], etc - if you change this text, please fix them. -->
===Markup===
===Markup===
MediaWiki uses a particular kind of ''markup'' - i.e. [[syntax ]]for doing certain things. To link to another page (e.g. "foo"), a user needs to write <nowiki>[[foo]]</nowiki>; to produce text in bold font, it is necessary to write <nowiki>'''foo'''</nowiki>, etc.


MediaWiki uses a particular kind of ''markup'' - i.e. [[syntax ]]for doing certain things. To link to another page (e.g. "foo"), a user needs to write <nowiki>[[foo]]</nowiki>; to produce text in italic, it is necessary to write <nowiki>''foo''</nowiki>, etc.
Note that is a totally different markup syntax from that used elsewhere, in particular [[HTML]] (the markup syntax used for WWW pages), and the syntax used by [[SMF]], the most popular software suite for running online forums (which is about as ubiquitous in forums as MediaWiki is in wikis).
 
Note that that is a totally different markup syntax from that used elsewhere, in particular [[HTML]] (the markup syntax used for WWW pages), and the syntax used by [[SMF]], the most popular software suite for running online forums (which is about as ubiquitous in forums as MediaWiki is in wikis).


<!-- This section title is the target of the redirects [[MediaWiki namespaces]], etc - if you change this text, please fix them. -->
<!-- This section title is the target of the redirects [[MediaWiki namespaces]], etc - if you change this text, please fix them. -->
===Namespaces===
===Namespaces===
All the pages in a wiki are generally grouped into ''namespaces''. E.g. "User:" pages are one namespace, "User_talk:" pages are another, "Talk:" pages are a third, and "Image:" is another. Depending on how the MediaWiki installation has been customized, there are about 20 all told, generally in pairs: "<foo>:" and "<foo>_talk:".


If you consider all the pages in a particular wiki, generally they are grouped into ''namespaces'', i.e. major divisions of the set of pages. Each namespace generally has a particular purpose. E.g. "User:" pages are one namespace, "User_talk:" pages are another, "Talk:" pages (i.e. basic talk pages, used by the people working on an article to discuss its contents) are a third, and "Image:" is yet another. Depending on how the MediaWiki installation has been customized at each site, there are about 20 all told, generally in pairs: "<foo>:" and "<foo>_talk:".
The end of the name of a namespace is usually delineated with ":" (see examples above), and the full name of a page in a Wiki is <namespace>:<page>, e.g. "Talk:Hokusai". The main namespace is special - a pagename with no "<namespace>:" refers to a page in the main namespace.
 
The end of the name of a namespace is almost always delineated with a ":" (see examples above), and the full name of a page in a Wiki is <namespace>:<page>, e.g. "Talk:Hokusai". The main namespace is special - a pagename with no "<namespace>:" in front of it is taken to refer to a page in the main namespace.


Note that "foo:name" and "bar:name" refer to separate pages, so <nowiki>[[User:Test]]</nowiki> and <nowiki>[[Talk:Test]]</nowiki> take you to separate pages.
Note that "foo:name" and "bar:name" refer to separate pages, so <nowiki>[[User:Test]]</nowiki> and <nowiki>[[Talk:Test]]</nowiki> take you to separate pages.
Line 33: Line 27:


===Templates===
===Templates===
''Templates'' are a way of putting commonly used groups of MediaWiki and HTML markup in a page, and including those sequences (via a process called ''transclusion'', which includes the contents of those pages on the pages which refer to the template).  In MediaWiki markup, when a template is used, the reference to it looks like <nowiki>{{foo}}</nowiki>.
''Templates'' are a way of putting commonly used groups of MediaWiki and HTML markup in a page, and including those sequences (via a process called ''transclusion'', which includes the contents of those pages on the pages which refer to the template).  In MediaWiki markup, when a template is used, the reference to it looks like <nowiki>{{foo}}</nowiki>.


<!-- This section title is the target of the redirects [[MediaWiki subpages]], etc - if you change this text, please fix them. -->
<!-- This section title is the target of the redirects [[MediaWiki subpages]], etc - if you change this text, please fix them. -->
===Subpages===
===Subpages===
A ''subpage'' is basically an ordinary [[MediaWiki]] page with a "/" in its title. Subpages, which have names of the form "Foo/Bar", are associated with a particular top-level page with the name consisting of the part of the name before the "/" (in this example, "Foo").


A ''subpage'' is basically just a ordinary [[MediaWiki]] page with a "/" in its title. Subpages, which have names of the form "Foo/Bar", are all associated with a particular top-level page, which is the one with the name consisting of the part of the subpage's name before the "/" (in this example, "Foo"). (And of course the process is [[recursion|recursive]], so that "Foo/Bar/Zap" is a subpage of "Foo/Bar".)
Other than being related to a particular top-level page, there is little difference in how they are handled by MediaWiki. (See [http://meta.wikimedia.org/wiki/Link#Subpage_feature this page] for more details.
 
Other than being related to a particular top-level page, there is almost no real difference in how they are actually handled by MediaWiki. (See [http://meta.wikimedia.org/wiki/Link#Subpage_feature this page] for more details. In fact, depending on how MediaWiki is configured, and which namespace they are in, the MediaWiki software may not even recognize subpages at all in that namespace.)


== History ==
== History ==
The original software running Wikipedia was called [[UseModWiki]], developed by Clifford Adams.  This was adapted in 2001 by Adams from the original [[CamelCase]]-style wiki links, like this:
The original software running Wikipedia was called [[UseModWiki]], developed by Clifford Adams.  This was adapted in 2001 by Adams from the original [[CamelCase]]-style wiki links, like this:


:<code><nowiki>PhiloSophy</nowiki></code>
:<code><nowiki>UnitedStates</nowiki></code>


to support the current linking standard of two square brackets, like this
to support the current linking standard of two square brackets, like this


:<code><nowiki>[[Philosophy]]</nowiki></code>
:<code><nowiki>[[United States of America]]</nowiki></code>


later on in 2001, Magnus Manske rewrote the software in order to support a [[MySQL]] backend.  Some months following that, Lee Daniel Crocker again rewrote the software, and it took on the form it largely continues to have today.<ref>As a point of trivia, it is interesting to note that both Manske and Crocker were active participants in Nupedia as well as Wikipedia.</ref>  The software was not named "MediaWiki" until 2003.
later on in 2001, Magnus Manske rewrote the software in order to support a [[MySQL]] backend.  Some months following that, Lee Daniel Crocker again rewrote the software, and it took on the form it largely continues to have today.<ref>As a point of trivia, it is interesting to note that both Manske and Crocker were active participants in Nupedia as well as Wikipedia.</ref>  The software was not named "MediaWiki" until 2003.


==External links==
==Notes==
 
{{reflist}}[[Category:Suggestion Bot Tag]]
* [http://www.mediawiki.org/wiki/MediaWiki MediaWiki home page]
** [http://www.mediawiki.org/wiki/Help:Formatting Basic MediaWiki markup]
** [http://www.mediawiki.org/wiki/Help:Templates Templates]

Latest revision as of 12:00, 17 September 2024

This article is developing and not approved.
Main Article
Discussion
Related Articles  [?]
Bibliography  [?]
External Links  [?]
Citable Version  [?]
 
This editable Main Article is under development and subject to a disclaimer.

MediaWiki is a free software suite (system) which is for wikis, i.e. WWW-based systems for collaborative development of interlinked documentation. More simply put, it provides a web site with content which the users can modify via their browsers. It was originally developed to run Wikipedia; it is now freely available, and many other wiki sites (including Citizendium) use it.

Technical concepts

Pages

Information in MediaWiki is organized into pages, which are the basic large-scale units of information. A page is roughly equivalent to a file in most operating systems. A page is a somewhat richer object than a plain file in these systems, because it has a history which is an integral part of it; the history records every single change made to a page, along with the identity of the person who made the change.

A WikiMedia page has nothing to do with pages in popular editors such as Microsoft Word, or the physical sheets of paper which are the progenitors of pages in editors. It has more of a connection to the concept of 'page' in the WWW, where it again means an integral unit of data - although without the additional 'history' semantics which the 'page' object has in MediaWiki.


Markup

MediaWiki uses a particular kind of markup - i.e. syntax for doing certain things. To link to another page (e.g. "foo"), a user needs to write [[foo]]; to produce text in bold font, it is necessary to write '''foo''', etc.

Note that is a totally different markup syntax from that used elsewhere, in particular HTML (the markup syntax used for WWW pages), and the syntax used by SMF, the most popular software suite for running online forums (which is about as ubiquitous in forums as MediaWiki is in wikis).

Namespaces

All the pages in a wiki are generally grouped into namespaces. E.g. "User:" pages are one namespace, "User_talk:" pages are another, "Talk:" pages are a third, and "Image:" is another. Depending on how the MediaWiki installation has been customized, there are about 20 all told, generally in pairs: "<foo>:" and "<foo>_talk:".

The end of the name of a namespace is usually delineated with ":" (see examples above), and the full name of a page in a Wiki is <namespace>:<page>, e.g. "Talk:Hokusai". The main namespace is special - a pagename with no "<namespace>:" refers to a page in the main namespace.

Note that "foo:name" and "bar:name" refer to separate pages, so [[User:Test]] and [[Talk:Test]] take you to separate pages.


Templates

Templates are a way of putting commonly used groups of MediaWiki and HTML markup in a page, and including those sequences (via a process called transclusion, which includes the contents of those pages on the pages which refer to the template). In MediaWiki markup, when a template is used, the reference to it looks like {{foo}}.

Subpages

A subpage is basically an ordinary MediaWiki page with a "/" in its title. Subpages, which have names of the form "Foo/Bar", are associated with a particular top-level page with the name consisting of the part of the name before the "/" (in this example, "Foo").

Other than being related to a particular top-level page, there is little difference in how they are handled by MediaWiki. (See this page for more details.

History

The original software running Wikipedia was called UseModWiki, developed by Clifford Adams. This was adapted in 2001 by Adams from the original CamelCase-style wiki links, like this:

UnitedStates

to support the current linking standard of two square brackets, like this

[[United States of America]]

later on in 2001, Magnus Manske rewrote the software in order to support a MySQL backend. Some months following that, Lee Daniel Crocker again rewrote the software, and it took on the form it largely continues to have today.[1] The software was not named "MediaWiki" until 2003.

Notes

  1. As a point of trivia, it is interesting to note that both Manske and Crocker were active participants in Nupedia as well as Wikipedia.