Last modified: 2010-05-15 15:26:45 UTC
I use Wikimedia on my laptop for notekeeping, and of course, it's not always
online. When I, for example, edit a page offline, a long time passes after
pressing "submit". I suppose it's because it tries to connect to Wikimedia or
something like that.
- Disconnect the machine you are running Wikimedia on from the internet
- Edit a page, press submit
- Experience a loading time on approx. ½ minute
I assume that by Wikimedia, you refer to MediaWiki, which is the software. The
software ought not to be connecting to the Internet in order to do anything,
a) Your web server is on the local machine
b) Your mySQL server is on the local machine
c) Everything is configured properly
Search Meta (http://meta.wikimedia.org) for "Wiki on a stick" which provides
useful information on running a small installation of MediaWiki locally.
The link to the precise article I was referring to is
http://meta.wikimedia.org/wiki/Wiki_on_a_stick. Note that the article discusses
Windows, although the same principles for configuring Apache, mySQL and PHP will
also work under other operating systems supported by those three tools, so this
should be a help.
$wgEnableSorbs was on by default in some older versions (1.4 until recently, not
1.5) which would cause each edit request to be slowed down to whatever the DNS
request timeout was, make sure $wgEnableSorbs is set to false in your LocalSettings
The reporter closed the bug so I'm presuming the issue got fixed, what was the
#4, well, #3 solved my problem.