-
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wikibase Local Media breaks requests for .ttl format at Special:EntityData #16
Comments
I tried using the latest release and I get the same issue |
Can you put the following in your LocalSettings.php file, and provide the error info you get? Afterwards, best to remove the snippet from LocalSettings.php again. error_reporting( -1 );
ini_set( 'display_errors', 1 );
$wgShowExceptionDetails = true;
$wgDebugDumpSql = true;
$wgDebugComments = true; |
This comment was marked as spam.
This comment was marked as spam.
I only really noticed this because my WDQS wasn't working properly, the runUpdate.sh script couldn't get information from entities even if they had a Local Media property or not, does WDQS support Local Media? |
looks like you need to change that function call to "WikibaseRepo::getDefaultValueFormatterBuilders()" instead |
Actually my file has the old function that got removed: public function getFormatterBuilder(): FormatterBuilder { I should probably switch back to the master branch and see if it is a different error that occurs. |
now that I'm using the master branch again it only doesn't work for .ttl format [87ce7246dc8953a96a69b511] /wiki/Special:EntityData/Q1.ttl Error: Undefined constant Wikibase\Repo\Rdf\PropertyRdfBuilder::OBJECT_PROPERTY Backtrace: from /var/www/mediawiki/w/extensions/WikibaseLocalMedia/src/HookHandlers.php(29) |
I am using foreign file repos, I'll disable that and see if it makes a difference. |
Disabling Foreign File Repos didn't seem to effect anything |
Special:SpecialPages works on the master branch btw |
The latest release of this extension is indeed not compatible with Wikibase 37. The master branch is more compatible, but it might still not fully work, depending on how many things got moved around or renamed in Wikibase. Would be nice if Wikimedia Deutschland spend some effort on avoiding such downstream pain. |
So would my best bet to use Wikibase and MediaWiki 36 to get the extension to work properly? |
Yup. Actually now that I think about it, Wikimedia Deutschland did not even get round to releasing an official version of Wikibase 37 and they recently announced they will skip that version entirely. |
Ah ok, the download page for wikibase had a release for 37 so I assumed it would be good to go: |
I created a phabricator ticket: https://phabricator.wikimedia.org/T306288
but I feel like this might be a more appropriate place to report this
Setup
Issue
When the local media extension is enabled requesting .ttl format from Special:EntityData will return a undescriptive error, disabling the extension allows for the request to be successful, images can be found in the phabricator ticket linked above.
The text was updated successfully, but these errors were encountered: