Hmm, no good. I downloaded the master mw:
git clone --depth 1 https://gerrit.wikimedia.org/r/p/mediawiki/core.git
after that I followed the installation manual of Wikibase repository. The only interesting thing that have happened is when I run
$ php extensions/Wikibase/lib/maintenance/populateSitesTable.php I got the following message :
Got no data from https://meta.wikimedia.org/w/api.php?action=sitematrix&format=json done.
After that I got pretty much the same error when I tried to go to the page Item:q1 :
Unexpected non-MediaWiki exception encountered, of type "InvalidArgumentException" [089fe8f4] /wikibase/index.php/Item:q1 Exception from line 48 of /var/www/html/wikibase/extensions/Wikibase/repo/includes/GenericEventDispatcher.php: $listener must implement Wikibase\Lib\Store\EntityStoreWatcher Backtrace: #0 /var/www/html/wikibase/extensions/Wikibase/repo/includes/store/sql/SqlStore.php(549): Wikibase\Repo\GenericEventDispatcher->registerWatcher(Wikibase\Lib\Store\CachingEntityRevisionLookup) #1 /var/www/html/wikibase/extensions/Wikibase/repo/includes/store/sql/SqlStore.php(513): Wikibase\SqlStore->newEntityRevisionLookup() #2 /var/www/html/wikibase/extensions/Wikibase/repo/includes/store/sql/SqlStore.php(455): Wikibase\SqlStore->getEntityRevisionLookup(string) #3 /var/www/html/wikibase/extensions/Wikibase/repo/includes/WikibaseRepo.php(316): Wikibase\SqlStore->getEntityLookup(string) #4 /var/www/html/wikibase/extensions/Wikibase/repo/includes/WikibaseRepo.php(488): Wikibase\Repo\WikibaseRepo->getEntityLookup() #5 /var/www/html/wikibase/extensions/Wikibase/repo/includes/WikibaseRepo.php(705): Wikibase\Repo\WikibaseRepo->getValueFormatterBuilders() #6 /var/www/html/wikibase/extensions/Wikibase/repo/includes/WikibaseRepo.php(672): Wikibase\Repo\WikibaseRepo->getMessageParameterFormatter() #7 /var/www/html/wikibase/extensions/Wikibase/repo/Wikibase.hooks.php(1244): Wikibase\Repo\WikibaseRepo->getValidatorErrorLocalizer() #8 /var/www/html/wikibase/extensions/Wikibase/repo/Wikibase.hooks.php(1226): Wikibase\RepoHooks::newItemHandler() #9 [internal function]: Wikibase\RepoHooks::onContentHandlerForModelID(string, NULL) #10 /var/www/html/wikibase/includes/Hooks.php(206): call_user_func_array(string, array) #11 /var/www/html/wikibase/includes/GlobalFunctions.php(4056): Hooks::run(string, array, NULL) #12 /var/www/html/wikibase/includes/content/ContentHandler.php(321): wfRunHooks(string, array) #13 /var/www/html/wikibase/includes/page/WikiPage.php(222): ContentHandler::getForModelID(string) #14 /var/www/html/wikibase/includes/page/WikiPage.php(208): WikiPage->getContentHandler() #15 /var/www/html/wikibase/includes/actions/Action.php(92): WikiPage->getActionOverrides() #16 /var/www/html/wikibase/includes/actions/Action.php(145): Action::factory(string, WikiPage, RequestContext) #17 /var/www/html/wikibase/includes/Wiki.php(154): Action::getActionName(RequestContext) #18 /var/www/html/wikibase/includes/Wiki.php(527): MediaWiki->getAction() #19 /var/www/html/wikibase/includes/Wiki.php(452): MediaWiki->main() #20 /var/www/html/wikibase/index.php(46): MediaWiki->run() #21 {main}
I did't modify Wikibase.example.php file so my items should be in the Item namespace.
I use PHP 5.3.3, Apache server Apache/2.2.15 mysql 5.1.73, RedHat Linux 6.5 (Santiago)
----- Yury Katkov
On Sun, Jun 22, 2014 at 5:23 PM, Yury Katkov katkov.juriy@gmail.com wrote:
Thanks guys, I'll try it on master MW.
Yury Katkov
On Sat, Jun 21, 2014 at 5:48 PM, Lydia Pintscher < lydia.pintscher@wikimedia.de> wrote:
On Sat, Jun 21, 2014 at 5:26 PM, Jeroen De Dauw jeroendedauw@gmail.com wrote:
Hey,
I don't know about this particular error, though can say Wikibase is no longer compatible with MediaWiki 1.23. Unfortunately retaining
compatibility
with a stable MediaWiki version, and third party support in general,
does
not appear to be high on the priority list of the Wikidata team. So I
can
only recommend against third parities using the software in serious
contexts
for now.
Yes we do require master of MediaWiki at the moment. My plan was to change this with MediaWiki 1.23. This didn't work out for various reasons. We will make an effort for 1.24. Wikibase is still changing a lot and people who want to use it for other purposes should be aware of that.
Cheers Lydia
-- Lydia Pintscher - http://about.me/lydia.pintscher Product Manager for Wikidata
Wikimedia Deutschland e.V. Tempelhofer Ufer 23-24 10963 Berlin www.wikimedia.de
Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e. V.
Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter der Nummer 23855 Nz. Als gemeinnützig anerkannt durch das Finanzamt für Körperschaften I Berlin, Steuernummer 27/681/51985.
Wikidata-l mailing list Wikidata-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-l