Monday, August 13. 2007

A Wiki is a collaboratively-edited web site. Some of the best-known examples are the projects of the Wikimedia Foundation, including Wikipedia and Wiktionary, and Wikis are useful collaboratively editing and publishing many different types of web content. The software that powers the Wikimedia Foundation projects is called MediaWiki and is available within Fedora.

In order to use MediaWiki, you will need a database server. Since this may be on another computer, there is no dependency noted in the RPM file -- if you want to run the database server and MediaWiki on the same system, you'll need to select and install the database server manually. I usually use MySQL, but PostgreSQL can also be used.

To set up your wiki, you'll need to start Apache and your database server, if they're not already running:

# service httpd start# service mysqld start # <---- Assuming you use MySQL!

If you have freshly installed MySQL, you'll need to set a password for the root user (replace YourBigSecretPassword with the password of your choosing):

Next, create a symbolic link from the desired wiki location to /var/www/wiki. For example, if you want to host a wiki with an address of http://Hostname/wiki, then execute these commands:

# ln -s /var/www/wiki /var/www/html/wiki

You will also need to create a link to the skins directory:

# ln -s /usr/share/mediawiki/skins /var/www/wiki/skins

Then access the wiki's address (http://localhost/wiki) using a web browser on the the computer running MediaWiki. You'll see a welcome page with a setup link; click on that link to go to a setup form. Near the bottom of the form, select the User Superuser option and enter the root MySQL password where indicated -- MediaWiki will login to the server and create the required databases.

MediaWiki will then inform you of the success or failure of the setup operation (if it fails, read the message to find out why, correct the errors, and try again). Once you have successfully completed the setup step, copy the config file to the final location:

Tip: To set the logo that appears in the upper-left corner of the wiki pages, add a line to the end of /var/www/wiki/LocalConfiguration.php (just before the line which reads "?>" ) which sets $wgLogo to the URI of a 153 x 153 pixel image:

$wgLogo='http://Hostname/wiki/mylogo.png';

If your image is less than 153x153, add a transparent border to make up the difference.

Hi,
Past 3 days i am working in this media wiki,
My TL asked me to do one intranet site in mediawiki. I configured now it is working fine.
This site is mainly used for informative purpose.The programmers find any new tools or dll or exe that information will be updated in this site.
I dont know how to do these things and all. Please provide solution for this.

In this page u having add comments option, how to create this i want to create a similar page.
My user must enter the

Summary
URL
Detailed Instruction

and click the submit button it will display it in current page.

Please help me, past 2 days i am working in this. I have to complete this by today.

Welcome!

TheFedora Daily Package exists to highlight lesser-known Fedora Linux packages each weekday-- with a special article each Wednesday taking a behind-the-scenes look at some of the configuration options and packaging details that make Fedora tick. For more information, please see the Fedora Daily Package Welcome posting.

For information on the Fedora package management system and how to install, update, and remove pacakges, see the postings from Package Management Week (especially Using Yum).

To suggest a future Fedora Daily Package, use the Suggest a Package box below.