Mediawiki: Difference between revisions

From Cheaha
Jump to navigation Jump to search
(start on mediawiki installer steps)
(→‎Interwiki Links: correct syntax)
 
(7 intermediate revisions by the same user not shown)
Line 5: Line 5:
[http://www.mediawiki.org/wiki/MediaWiki Mediawiki] is a wiki software to enable communities to write documents collaboratively [http://en.wikipedia.org/wiki/Wiki#Characteristics]. Mediawiki, written in PHP, is what powers [http://www.wikipedia.org/ Wikipedia] and also [http://docs.uabgrid.uab.edu/wiki/Welcome UABgrid documentation]. The markup for Mediawiki is similar to other open-source wiki software like Trac, ie., it has WYSIWIG editing capabilities to translate formatting instructions to corresponding HTML tags.  
[http://www.mediawiki.org/wiki/MediaWiki Mediawiki] is a wiki software to enable communities to write documents collaboratively [http://en.wikipedia.org/wiki/Wiki#Characteristics]. Mediawiki, written in PHP, is what powers [http://www.wikipedia.org/ Wikipedia] and also [http://docs.uabgrid.uab.edu/wiki/Welcome UABgrid documentation]. The markup for Mediawiki is similar to other open-source wiki software like Trac, ie., it has WYSIWIG editing capabilities to translate formatting instructions to corresponding HTML tags.  


== End Users ==
For any questions on [http://docs.uabgrid.uab.edu UABgrid docs] or for having your own wiki space, please send an email to [mailto:support@vo.uabgrid.uab.edu support@vo.aubgrid.uab.edu].


For end users interested in using Mediawiki for document collaboration send an email to...
== Users ==


Coming soon, a self servicing web interface for provisioning a mediawiki instance (TBD, a landing page...)
Help on [http://www.mediawiki.org/wiki/Help:Editing_pages editing wikis] and [http://www.mediawiki.org/wiki/Help:Formatting formatting text] etc. on mediawiki can be found [http://www.mediawiki.org/wiki/Help:Contents here].


== Developers ==
== Wiki Owners ==


For developers interested in customizing Mediawiki (themes, plugins etc), an AMP (Apache, MySQL, PHP) stack is required. Recommended here, is one easy way to  set up an AMP stack which has cross-platform capability ie., [http://docs.uabgrid.uab.edu/wiki/XAMPP XAMPP] developed by Apache Friends.
=== Users and Groups Management ===
To view the current list of groups (and permissions for each group) or users for your wiki, go to
# '''Special pages''' link in the ''Toolbox'' section (left sidebar) of your wiki
# Click on '''User group rights''' (groups) or '''Users list''' (users)


=== Mac OS X ===
Group permissions for the current mediawiki install on UABgrid is managed in the following manner:
==== XAMPP ====
# Click on '''Special pages''' link in the ''Toolbox'' section (left sidebar) of your wiki
:1.  [http://docs.uabgrid.uab.edu/wiki/XAMPP Install and configure XAMPP for Mac].
# Click on '''User rights management''' link in the ''Users and rights'' section
:'''NOTE''': Mediawiki requires atleast PHP version of 5.3.2 or later. PHP - 5.3.1 version is incompatible with Mediawiki and this is the version which comes with the current stable releases of XAMPP.
# Type '''#<user-id>''' for eg., '''#3''' in the text box for the username. (this is because of [http://dev.uabgrid.uab.edu/ticket/183 limitations with the current mediawiki] install on docs)
:::So, for Mediawiki development, [http://www.apachefriends.org/en/xampp-beta.html '''use XAMPP beta'''].
# Check/uncheck the boxes to change groups for the user-id mentioned above
:2. Start up xampp as root, either from xampp's control or from command line. This starts both Apache and mysql services.
<pre>
$ sudo /Applications/XAMPP/xamppfiles/xampp start
</pre>


==== Database ====
=== Interwiki Links ===
Mediawiki provides an easy way to point to non-wiki sites with URL substitution in the form of [http://www.mediawiki.org/wiki/Help:Links#Interwiki_links Interwiki links]. You can add/edit the current list of interwiki links for your wiki by going to
# '''Special pages''' link on the left sidebar
# Click on '''View and edit interwiki data''' in the ''Wiki data and tools section''


:1. Set up a database for mediawiki using xampp's '''phpmyadmin''' console. Go to  http://localhost/phpmyadmin/ to open up phpmyadmin console
== Developers ==
:2. Create a database with name '''wikidb'''
:3. Click on the ''wikidb'' in the list of databases to the left. You should see a set of tabs for this database appear in the right frame.
:4. Click on the '''Privileges''' tab and click on '''Add a new User'''
:5. Mention the following details
<pre>
User name: wikiuser
Host: localhost
Password: <type in a password>
Re-type: <re-type the above password>
</pre>
:6. Click on '''Check All''' in the '''Global Privileges''' section in the same page and then click '''Go'''


==== Download Mediawiki ====
To setup and develop for mediawiki on UABgrid, please see the [[MediawikiDev|page here]].
Download mediawiki, extract to '''~/Sites''' and create a symbolic link
<pre>
$ wget http://noc.wikimedia.org/mediawiki-1.16.0.tar.gz


$ tar -xf mediawiki-1.16.0.tar.gz ~/Sites
== References ==


$ cd ~/Sites
: [http://www.mediawiki.org/wiki/MediaWiki Mediawiki]
 
: [http://download.wikimedia.org/mediawiki/1.16/mediawiki-1.16.0.tar.gz Download Mediawiki]
$ ln -s mediawiki-1.16.0 mediawiki
: [http://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Mac_OS_X#Setting_up_MediaWiki Setting up Mediawiki]
</pre>
 
==== Run Mediawiki installer ====
:The following steps are a concise form of the [http://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Mac_OS_X#Web-based_setup detailed steps mentioned in the mediawiki installation guide for mac os x].
 
:1. Browse to http://localhost/~short-username/mediawiki.
== References ==

Latest revision as of 21:38, 25 January 2012

Overview

Mediawiki is a wiki software to enable communities to write documents collaboratively [1]. Mediawiki, written in PHP, is what powers Wikipedia and also UABgrid documentation. The markup for Mediawiki is similar to other open-source wiki software like Trac, ie., it has WYSIWIG editing capabilities to translate formatting instructions to corresponding HTML tags.

For any questions on UABgrid docs or for having your own wiki space, please send an email to support@vo.aubgrid.uab.edu.

Users

Help on editing wikis and formatting text etc. on mediawiki can be found here.

Wiki Owners

Users and Groups Management

To view the current list of groups (and permissions for each group) or users for your wiki, go to

  1. Special pages link in the Toolbox section (left sidebar) of your wiki
  2. Click on User group rights (groups) or Users list (users)

Group permissions for the current mediawiki install on UABgrid is managed in the following manner:

  1. Click on Special pages link in the Toolbox section (left sidebar) of your wiki
  2. Click on User rights management link in the Users and rights section
  3. Type #<user-id> for eg., #3 in the text box for the username. (this is because of limitations with the current mediawiki install on docs)
  4. Check/uncheck the boxes to change groups for the user-id mentioned above

Interwiki Links

Mediawiki provides an easy way to point to non-wiki sites with URL substitution in the form of Interwiki links. You can add/edit the current list of interwiki links for your wiki by going to

  1. Special pages link on the left sidebar
  2. Click on View and edit interwiki data in the Wiki data and tools section

Developers

To setup and develop for mediawiki on UABgrid, please see the page here.

References

Mediawiki
Download Mediawiki
Setting up Mediawiki