Semantic Meta Tags no longer works on private wikis

Open
#93 9 comments 0 reactions 1 assignee View on GitHub

@thomas-topway-it is already working on this.

Since Mar 26, 2025.

Assessment

This issue has not been assessed yet.

Description

documentation missing

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
Dominant language
PHP
Stars
11
Forks
9
PR merge metrics
No merged PRs in 30d

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from SemanticMediaWiki/SemanticMetaTags

All issues in SemanticMediaWiki/SemanticMetaTags

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.