The Problem was fixed with the help of User:Hoo man.

The instruction said, that you have to install WikibaseLib before installing Wikibase. Obviously the lib is part of the Wikibase-Extension and adding it to the LocaleSettings.php results in the problems I had.

I removed that line from the requirements. But you should have a look at the documentation.

LB


Am 18.01.2013 23:48, schrieb Lukas Benedix:
Hi,

I tried to install it on a server after everything worked well in the vagrant-box.

So i followed the instructions on  http://www.mediawiki.org/w/index.php?title=Extension:Wikibase

It worked until the update.php after adding
require_once( "$IP/extensions/Wikibase/repo/Wikibase.php" );
to LocaleSettings.php

I get this errors: http://pastebin.com/2MEY914X

So I removed
$wgSharedDB and $wgSharedPrefix
from LocaleSettings and tried update.php again

New Errors:
PHP Notice:  Constant CONTENT_MODEL_WIKIBASE_ITEM already defined in /var/www/mediawiki/extensions/Wikibase/repo/Wikibase.php on line 64
PHP Fatal error:  Class 'Wikibase\Settings' not found in /var/www/mediawiki/extensions/Wikibase/repo/Wikibase.hooks.php on line 54


Can anyone help with installing a Wikidata-Repo for testing?

LB


Am 19.11.2012 17:10, schrieb Lydia Pintscher:
On Mon, Nov 19, 2012 at 5:06 PM, Daniel Kinzler
<daniel.kinzler@wikimedia.de> wrote:
Part of the problem may be that the extension distribution scripts have not yet
been set up to work with git. For the old svg repository, we had an extension on
mediawiki.org where you could select the extension and desired version, and
would get a zip or tar archive. Many links still point that way, but it doesn't
work for extensions in git (or at least not for all of them, I don't know the
details).

Anyway. ULS is still experimental and under heavy development, so there are no
stable versions. You'll have to install it directly from git, and hope the
current master branch works for you.

@lydia: we should have an "install from gid" guide too... do we?
I don't think we do. We do have
http://meta.wikimedia.org/wiki/Wikidata/Development/Setup that links
to mediawiki.org among others.
Lukas: Maybe you want to give the Vagrant setup linked there a try if
you're still having trouble after Daniel's explanation?


Cheers
Lydia




_______________________________________________
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l