wikibase-docker | LEGACY Docker images and example compose file | Continuous Deployment library
kandi X-RAY | wikibase-docker Summary
kandi X-RAY | wikibase-docker Summary
LEGACY Docker images and example compose file for Wikibase and surrounding services
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of wikibase-docker
wikibase-docker Key Features
wikibase-docker Examples and Code Snippets
Community Discussions
Trending Discussions on wikibase-docker
QUESTION
I am trying to list all properties created in on a wikibase I installed, using docker-compose, based on this install.
Now, want to list all properties that are available in this wikibase, similar to getting that list available through:
...ANSWER
Answered 2020-Sep-26 at 15:40If you know the namespace number for properties on the target wiki (it’s usually 122 if the wiki has an Item: namespace, or 120 if, like on Wikidata, items are in the main namespace), you can use the core allpages API: https://www.wikidata.org/w/api.php?action=query&list=allpages&apnamespace=120
To also get the labels at the same time, use it as a generator and combine it with the entityterms API (new in 1.35; looks like it’s not documented yet, but see T257658): https://www.wikidata.org/w/api.php?action=query&generator=allpages&gapnamespace=120&prop=entityterms&wbetterms=label
QUESTION
I am running a Wikibase using the docker images explained here. However, after install, I would like to use the SPARQL2 template used in Wikidata, which I try to migrate using Special:Export (on Wikidata) and Special:Import (on local wikibase). This seems to work, but the import chokes on the Scribuntu mediawiki extension missing. After following the install instructions, I get the following message.
Fatal error: Uncaught Exception: Scribunto is not compatible with the current MediaWiki core (version 1.30.0), it requires: >=1.31.0. in /var/www/html/includes/registration/ExtensionRegistry.php:261 Stack trace: #0 /var/www/html/includes/registration/ExtensionRegistry.php(148): ExtensionRegistry->readFromQueue(Array) #1 /var/www/html/includes/Setup.php(40): ExtensionRegistry->loadFromQueue() #2 /var/www/html/includes/WebStart.php(114): require_once('/var/www/html/i...') #3 /var/www/html/index.php(40): require('/var/www/html/i...') #4 {main} thrown in /var/www/html/includes/registration/ExtensionRegistry.php on line 261
How do upgrade from version 1.30 to version 1.31 or higher? Can this be done from with in the running docker image?
...ANSWER
Answered 2018-Nov-16 at 17:24You need to download a version of Scribunto that matches the version of Mediawiki / Wikibase that you are running.
The current latest tags of the Wikibase docker image are for Mediawiki 1.30 as can be seen at https://hub.docker.com/r/wikibase/wikibase/tags/
You must have downloaded either master or 1.31 of Scribunto.
To get 1.30 you can either:
- Use the git branch REL1_30 https://github.com/wikimedia/mediawiki-extensions-Scribunto/tree/REL1_30
- Select the 1.30 version from the Extension Distributor https://www.mediawiki.org/wiki/Special:ExtensionDistributor/Scribunto
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install wikibase-docker
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page