Skip to content

Semantic Meta Tags no longer works on private wikis #93

Description

@kghbln

Setup

Issue

EasyRdf is Unauthorized to request wiki pages on private wikis, causing a 401 for all wiki pages.

Original exception: [fd7657b0299e004b839cea84] /whn/35465 EasyRdf\Http\Exception: HTTP request for https://meta.wikihoster.net/w/index.php?title=Spezial:RDF_exportieren&page=35465&recursive=1&backlinks=0 failed: Unauthorized

Backtrace:

from /../w/vendor/easyrdf/easyrdf/lib/Graph.php(354)
#0 /../w/extensions/SemanticMetaTags/src/JsonLDSerializer.php(59): EasyRdf\Graph->load()
#1 /../w/extensions/SemanticMetaTags/src/JsonLDSerializer.php(22): SMT\JsonLDSerializer::setJsonLD()
#2 /../w/extensions/SemanticMetaTags/src/HookRegistry.php(66): SMT\JsonLDSerializer->__construct()
#3 /../w/includes/HookContainer/HookContainer.php(338): SMT\HookRegistry::SMT\{closure}()
#4 /../w/includes/HookContainer/HookContainer.php(137): MediaWiki\HookContainer\HookContainer->callLegacyHook()
#5 /../w/includes/HookContainer/HookRunner.php(943): MediaWiki\HookContainer\HookContainer->run()
#6 /../w/includes/OutputPage.php(2871): MediaWiki\HookContainer\HookRunner->onBeforePageDisplay()
#7 /../w/includes/MediaWiki.php(922): OutputPage->output()
#8 /../w/includes/MediaWiki.php(562): MediaWiki->main()
#9 /../w/index.php(50): MediaWiki->run()
#10 /../w/index.php(46): wfIndexMain()
#11 {main}
Exception caught inside exception handler: [fd7657b0299e004b839cea84] /whn/35465 EasyRdf\Http\Exception: HTTP request for https://meta.wikihoster.net/w/index.php?title=Spezial:RDF_exportieren&page=35465&recursive=1&backlinks=0 failed: Unauthorized

Backtrace:

from /../w/vendor/easyrdf/easyrdf/lib/Graph.php(354)
#0 /../w/extensions/SemanticMetaTags/src/JsonLDSerializer.php(59): EasyRdf\Graph->load()
#1 /../w/extensions/SemanticMetaTags/src/JsonLDSerializer.php(22): SMT\JsonLDSerializer::setJsonLD()
#2 /../w/extensions/SemanticMetaTags/src/HookRegistry.php(66): SMT\JsonLDSeri

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions