Talk:Wikibase/Installation

Can we get some installation instructions for those without Composer? :) --GeorgeBarnick (talk) 01:02, 25 May 2014 (UTC)

Duplicate inclusion
In addition to 68695 (after replacing a wrong "client" with "repo" in the include), I get: MediaWiki 1.24alpha Updater

Going to run database updates for wiki Depending on the size of your database this may take a while! ...wb_items_per_site doesn't exist. ...wb_items doesn't exist. ...wb_aliases doesn't exist. ...wb_texts_per_lang doesn't exist. [6508673d] [no req]  Exception from line 182 of /srv/vagrant/mediawiki/includes/Hooks.php: Invalid callback in hooks for LoadExtensionSchemaUpdates

Backtrace: --Nemo 23:10, 27 July 2014 (UTC)
 * 1) 0 /srv/vagrant/mediawiki/includes/GlobalFunctions.php(4031): Hooks::run(string, array, NULL)
 * 2) 1 /srv/vagrant/mediawiki/includes/installer/DatabaseUpdater.php(117): wfRunHooks(string, array)
 * 3) 2 /srv/vagrant/mediawiki/includes/installer/DatabaseUpdater.php(171): DatabaseUpdater->__construct(DatabaseMysqli, boolean, UpdateMediaWiki)
 * 4) 3 /srv/vagrant/mediawiki/maintenance/update.php(162): DatabaseUpdater::newForDB(DatabaseMysqli, boolean, UpdateMediaWiki)
 * 5) 4 /srv/vagrant/mediawiki/maintenance/doMaintenance.php(98): UpdateMediaWiki->execute
 * 6) 5 /srv/vagrant/mediawiki/maintenance/update.php(206): include(string)
 * 7) 6 {main}

Nevermind, I just to add the duplicate inclusion after the one mandated by installation instructions, that is the lines: require_once "$IP/extensions/Wikidata/extensions/PropertySuggester/PropertySuggester.php"; require_once "$IP/extensions/Wikidata/extensions/Wikibase/client/WikibaseClient.php"; require_once "$IP/extensions/Wikidata/extensions/Wikibase/repo/Wikibase.php"; --Nemo 23:14, 27 July 2014 (UTC)

Error readapidenied between private wikis
Hello

I installed Wikibase repo and 2 clients (all private) but the queries with the API of wikibase between the wikis don't work.

You can see the error when myfrwiki calls a query to myenwiki (event JS in the field page in the popup "Link with page")

I use the parameters for the family wiki and it works :
 * $wgCrossSiteAJAXdomains = array(       "en.xxxxx.fr",      "fr.xxxxx.fr",      "pool.xxxxx.fr" );
 * $wgSharedDB = "mydbpool";
 * $wgCookieDomain = ".xxxxx.fr";
 * $wgSharedTables[] = "ipblocks";
 * $wgSharedTables[] = "interwiki";

Can you help me ? Thanks--Karima Rafes (talk) 11:42, 18 November 2014 (UTC)


 * The reason is the API doesn't read the cookie between the Wiki. --Karima Rafes (talk) 22:37, 18 November 2014 (UTC)

composer command for installing dependencies
Hi,

I needed to run the composer install command instead of php composer.phar install in the extension's folder. I am new to wikibase and currently trying to get it to work on my own pc (Win7).

It appears I installed composer "globally", which would seem to be not what the installation guide expects. Maybe this could be added?