I’m not new to wikis having contributed to Wikipedia and others, but I have never installed and run one of my own. I looked at different wiki software and decided on mediawiki for two main reasons. It’s nice that it runs on PHP/MySQL and is commonly used but my main interest is that:
- I consider mediawiki to be “best of breed”. After all it is what runs Wikipedia, the number 1 wiki on the net. It is used by many organizations and thus, at least in theory, should have more support and better modifications.
- There are several articles showing how to use the same authentication database for both mediawiki and vBulletin (or phpBB). This means that users only need to create an account on one system and can authenticate to both the wiki and the forum software. (I don’t know if this permits mediawiki and vBulletin to share cookies — in fact I highly doubt it, but single-sign-on is still a nice feature.)
Installing MediaWiki
My problems began when I first installed mediawiki. The install instructions on the mediawiki site are a wiki themselves, which should be intuitive but is actually very confusing. The README file included with the mediawiki software has more concise instructions than on the website.
It should also be noted that when you google for “mediawiki install” the first site you find links to a home user account detailing their experience with installing mediawiki — not a reassuring fact. Here they tell you the crucial information that you need to move the LocalSettings.php file into the root directory and edit the $wgScriptPath variable to match the directory name your wiki was installed to (i.e. “/wiki/” or “” for the root).
A side effect of setting the $wgScriptPath variable is that you cannot use multiple URLs for your wiki. For example if your wiki is in a directory “/home/user/website.com/wiki” then you need to set the variable to “/wiki” so it will show online as: http://website.com/wiki/
If you want another URL to map to the same directory such as http://websitewiki.com/ you need to set the variable to “” (blank) because it points to the root of this domain. This means you cannot have different domain names mapped to the same directory because the wiki software is hard coded based on the directory it resides on. Egads! (This was later solved with the creative use of sub-domains.)
None of this information can be found on the mediawiki website (or other websites) and is something I had to figure out on my own.
Performance of MediaWiki
Another thing you don’t learn about mediawiki until you install it is that it runs slower than a turtule with a millstone around its neck. I have found several reports online of it taking up to 20 seconds to load the main page. My personal experience on a clean and new install of mediawiki is that it takes between 15-25 seconds to load the main page. This is entirly unacceptable.
I searched and found that many people need to install MMcache, which was depricated by eAccelerator, to make mediawiki run with any reasonable response rate. Now on a dedicated, single-site hosted machine this may not be a problem, but I host my site on a shared server (i.e. Dreamhost) and don’t have the luxury of installing these tools just to make a wiki work.
Turns out people have installed eAccelerator into their Dreamhost account. The problem is this required you enable FastCGI on the domain within Dreamhost, which requires more hacking of all your PHP files. *whew* Reading the install link above you see the following: “you should build your own php, because to load eAccelerator, we must modify php.ini” This means you need to install PHP, then eAccelerator, then mediawiki into your home directory just to install a wiki! (Of course there is a “how to compile PHP on Dreamhost link, but you should never have to go this far.)
The Dreamhost Wiki has an article on mediawiki, but none on MMcache or eAccelerator. There is plenty of information there about how to install and configure your mediawiki install on Dreamhost.
Spam
The Dreamhost site really skimps on the need to configure the plethora of anti-spam settings. Here’s a link to the site I used, which is very thorough. If you do not address this your wiki will be a nest for spammers (even though the rel=nofollow is set.. duh!)
Pretty URLs
Creating friendly URLs is not a friendly process at all. You need to be ready to use mod_rewrite to eliminate the “index.php?title=article” and replace it with “article”. Learn how to (re)write friendly URLs. Again, not so much a problem if are not on a shared hosting environment.
Summary
This entire experience has taught me that I’ll need to find a colo for my wiki (and probably the rest of my sites.) Setting up mediawiki is no easy task and can put a heavy load on your server. In order to run it properly you really need access to the server and config files. Installing it on a shared hosting environment requires too much hacking around to make it work.
Also, don’t forget to install the numerous anti-spam features and practice spending time in the administration tools. Running a wiki requires a different frame of mind with the various types of pages and meta tags.
December 14, 2006 at 12:47 am
[…] You may have noticed I haven’t been blogging as much. That is because (1) I have been at a client location most of the time and (2) I’ve been working on getting mediawiki installed. […]
April 27, 2007 at 9:57 pm
Peace people
We love you
March 12, 2009 at 3:14 pm
Hi!
Give me url to download XRumer 5 for free!
Thank you…
Very-very much.
I’m so need this program for advertise my website!!! This software is the best thing for online promo and mass posting, you know…
And, dont send me XRumer 2.9 and XRumer 3.0 – that versions are too old!
P.S. Google cant help me((((
April 12, 2009 at 3:48 pm
I wonder if web industry affected by crisis as well? and to what extend? Will the admins continue this web?
April 14, 2009 at 1:56 pm
I can tell that this is not the first time at all that you mention this topic. Why have you chosen it again?
May 18, 2009 at 11:35 pm
I was righteous reading a point on how to convey your down comforter all puffy again and practically all the answers said that you can categorize some tennis balls in the dryer to write that happen. how to deface tennisSo how does that function exactly? Why does this happen? Can you power something else quite than tennis balls? Hold responsible you!
how to change a tennis ball blow up
May 19, 2009 at 6:27 am
Храни себя от бед пока их нет
May 25, 2009 at 9:12 am
secure virginia slims ultra sunlight cigarettes
cheap doral cigarette cheap doral cigarette|cheap doral cigarettes
shoddy doral cigarettes shabby doral cigarettes
inferior gpc cigarette tuppenny gpc cigarettes
economical gpc cigarettes budget-priced gpc cigarettes
discount pall mall cigarettes
July 10, 2009 at 5:57 pm
Slightly embarrassed and with a quick smile tothe bus drriver, she reached behind her to unzpi er skirt a little, thinking that this would give her enough lsack to raqise her leg.
July 26, 2009 at 10:57 pm
Dialect right gracious spider’s web have here! My friend actualy sent me a association! Tolerable serendipity!
August 27, 2009 at 3:25 pm
[b]Bill Bartmann, Author of “Bailout Riches!” tells How to Make a Fortune Buying Bad Loans[/b]
Learn how America’s financial crisis becomes an investment opportunity to buy outstanding debts for pennies on the dollar
Tulsa, OK – How does America’s financial crisis become an investment opportunity? Bill Bartmann, author of the book, Bailout Riches!, explains, “It begins with over $1 trillion dollars in defaulted mortgages, credit card debt and other bad loans being written off and sold to investors for pennies on the dollar.”
Bill Bartmann’s book provides investors with the right roadmap to spectacular profits with a step by step plan to find deals from the federal government, local financial institutions and loan brokers. The defaulted loans include credit card debt, consumer loans, business loans, commercial loans and real estate loans and mortgages. “It gets better,” said Bartmann. “The book provides a proven system for buying debt without using your own money.”
Bailout Riches! shows how to invest in the bailout and take your own cut of the trillion dollar pie. Bill Bartmann is an authority on the subject; during the last big-time government bailout Bartmann built his own debt collection company and became a billionaire. “Today’s bailout is much bigger and opportunities for profit are much greater,” said Bartmann.
When asked why he would share this valuable information with the world, Bill Bartmann answered, “The reason is simple; there’s plenty to go around. In the next year or two around $1 trillion of debt will be written down and sold cheap.”
Bill Bartmann is the author of Bailout Riches! and the creator of America’s largest debt-buying and debt-collection company. Bill Bartmann has been listed among Forbes Magazine’s 400 wealthiest Americans and has twice been named National Entrepreneur of the Year by USA Today, NASDAQ, Inc Magazine, Ernst & Young and the Kauffman Foundation. Visit http://www.roadtomajorwealth.com
January 31, 2010 at 9:00 pm
Let me know if I can help out. http://www.linkedin.com/pub/jason-evans/19/a19/462
February 27, 2010 at 9:54 am
Wicked cheers, very use full information. thank you.
March 5, 2010 at 4:34 pm
This blog is great. How did you come up witht he idea?
March 13, 2010 at 1:22 pm
hello excellent website yea nice job I usually dont post in Blogs but your blog forced me to, amazing work.. beautiful
May 27, 2012 at 12:34 am
I tried looking at your website on my cellphone and the design doesnt seem to be right. Might want to check it out on WAP as well as it seems most mobile phone layouts are not really working with your web site.