Page MenuHomePhabricator

Wikibase.cloud sites with maps on their Main Page just return 500s for their Main_Page
Open, Needs TriagePublicBUG REPORT

Description

https://light-pollution-policy.wikibase.cloud/wiki/Main_Page
https://bellmanfactbase.wikibase.cloud/wiki/Main_Page

My wikibase.world bot seems to get stuck on these while trying to check things form them.

Request URL
https://bellmanfactbase.wikibase.cloud/wiki/Main_Page
Request Method
GET
Status Code
500 Internal Server Error
Remote Address
34.141.76.221:443
Referrer Policy
strict-origin-when-cross-origin
cache-control
no-cache, no-store, max-age=0, must-revalidate
content-encoding
gzip
content-language
en
content-length
16921
content-type
text/html; charset=UTF-8
date
Thu, 07 May 2026 08:03:44 GMT
expires
Thu, 01 Jan 1970 00:00:00 GMT
strict-transport-security
max-age=31536000; includeSubDomains
vary
Accept-Encoding,Accept-Language,Cookie,Authorization
x-content-type-options
nosniff
x-powered-by
PHP/8.1.31

x-request-id
3f1fcf3060f57b7acc2a902d

But requests to
https://bellmanfactbase.wikibase.cloud/w/load.php seem to work fine?

Same sort of pattern for the other site

Request URL
https://light-pollution-policy.wikibase.cloud/wiki/Main_Page
Request Method
GET
Status Code
500 Internal Server Error
Remote Address
34.141.76.221:443
Referrer Policy
strict-origin-when-cross-origin
cache-control
no-cache, no-store, max-age=0, must-revalidate
content-encoding
gzip
content-language
en
content-length
16840
content-type
text/html; charset=UTF-8
date
Thu, 07 May 2026 08:02:17 GMT
expires
Thu, 01 Jan 1970 00:00:00 GMT
strict-transport-security
max-age=31536000; includeSubDomains
vary
Accept-Encoding,Accept-Language,Cookie,Authorization
x-content-type-options
nosniff
x-powered-by
PHP/8.1.31
x-request-id
0ebfdb9f07de44478074db1b

After more reloads I eventually got https://bellmanfactbase.wikibase.cloud/wiki/Main_Page to show me

[dd576e7f2a78a0de1c75f9fa] 2026-05-07 08:10:55: Fatal exception of type "MediaWiki\Config\ConfigException"

image.png (1,904×323 px, 32 KB)

And it turns out that navigating to pages that are NOT the main page seem to work
https://light-pollution-policy.wikibase.cloud/wiki/Foo
https://bellmanfactbase.wikibase.cloud/wiki/Foo

Dev Notes

To disable Kartographer comment out https://github.com/wbstack/mediawiki/blob/c338024efbfa7c95450af31ea56dde5f2185b9dd/dist-persist/wbstack/src/Settings/LocalSettings.php#L382 and add a link to this ticket

Event Timeline

Addshore renamed this task from 2 wikibase.cloud sites just return 500s to 2 wikibase.cloud sites just return 500s for their Main_Page.May 7 2026, 8:12 AM

I wonder if there is some attempt to render a map and we don't support it because we've misset some config. 20s looking in the logs showed:

[exception] [3f1fcf3060f57b7acc2a902d] /wiki/Main_Page   MediaWiki\Config\ConfigException: $wgKartographerMapServer doesn't have a default, please set your own
#0 [internal function]: Kartographer\Tag\LegacyTagHandler->handle(null, array, MediaWiki\Parser\Parser, MediaWiki\Parser\PPFrame_Hash)
#1 /var/www/html/w/includes/parser/Parser.php(4008): call_user_func_array(array, array)
#2 /var/www/html/w/includes/parser/PPFrame_Hash.php(362): MediaWiki\Parser\Parser->extensionSubstitution(array, MediaWiki\Parser\PPFrame_Hash, bool)
#3 /var/www/html/w/includes/parser/Parser.php(2944): MediaWiki\Parser\PPFrame_Hash->expand(MediaWiki\Parser\PPNode_Hash_Tree, int)
#4 /var/www/html/w/includes/parser/Parser.php(1592): MediaWiki\Parser\Parser->replaceVariables(string)
#5 /var/www/html/w/includes/parser/Parser.php(694): MediaWiki\Parser\Parser->internalParse(string)
#6 /var/www/html/w/includes/content/WikitextContentHandler.php(384): MediaWiki\Parser\Parser->parse(string, MediaWiki\Title\Title, MediaWiki\Parser\ParserOptions, bool, bool, int)
#7 /var/www/html/w/includes/content/ContentHandler.php(1743): MediaWiki\Content\WikitextContentHandler->fillParserOutput(MediaWiki\Content\WikitextContent, MediaWiki\Content\Renderer\ContentParseParams, MediaWiki\Parser\ParserOutput)
#8 /var/www/html/w/includes/content/Renderer/ContentRenderer.php(79): MediaWiki\Content\ContentHandler->getParserOutput(MediaWiki\Content\WikitextContent, MediaWiki\Content\Renderer\ContentParseParams)
#9 /var/www/html/w/includes/Revision/RenderedRevision.php(264): MediaWiki\Content\Renderer\ContentRenderer->getParserOutput(MediaWiki\Content\WikitextContent, MediaWiki\Title\Title, MediaWiki\Revision\RevisionStoreCacheRecord, MediaWiki\Parser\ParserOptions, array)
#10 /var/www/html/w/includes/Revision/RenderedRevision.php(236): MediaWiki\Revision\RenderedRevision->getSlotParserOutputUncached(MediaWiki\Content\WikitextContent, array)
#11 /var/www/html/w/includes/Revision/RevisionRenderer.php(239): MediaWiki\Revision\RenderedRevision->getSlotParserOutput(string, array)
#12 /var/www/html/w/includes/Revision/RevisionRenderer.php(172): MediaWiki\Revision\RevisionRenderer->combineSlotOutput(MediaWiki\Revision\RenderedRevision, MediaWiki\Parser\ParserOptions, array)
#13 [internal function]: MediaWiki\Revision\RevisionRenderer->MediaWiki\Revision\{closure}(MediaWiki\Revision\RenderedRevision, array)
#14 /var/www/html/w/includes/Revision/RenderedRevision.php(199): call_user_func(Closure, MediaWiki\Revision\Rende…[message truncated due to size]

from https://console.cloud.google.com/logs/query;cursorTimestamp=2026-05-07T08:03:44.918324413Z;duration=PT3H;histogramBreakdownField=severity;query=%22bellmanfactbase%22%0Atimestamp%3D%222026-05-07T08:03:44.918324413Z%22%0AinsertId%3D%221ogp9qusvp6wexk5%22?project=wikibase-cloud

and looking at the source of the main page at shows: https://bellmanfactbase.wikibase.cloud/wiki/Main_Page?action=edit

== BellmanFactbase==
Wikibase used for Bellman related data see
* [https://www.wikidata.org/wiki/Wikidata:WikiProject_Sweden/Epistles_of_Fredman Wikidata:WikiProject Sweden/Epistles of Fredman]
* Telegram group [https://t.me/BellmaFactBase BellmanFactbase] / WBStack / Wikibase community / Wikidata
* This Wikibase is hosted on [https://www.wbstack.com www.wbstack.com] more about [https://wikiba.se/ Wikibase]
  * [https://www.youtube.com/watch?v=FJVol0gh-bI Wikibase, Docker & WBStack]
  * [https://www.youtube.com/watch?v=9uuNU3ohkXo Wikibase Ecosystem taking Wikidata further]
  * [https://www.youtube.com/watch?v=0p3p3zkGG14 WBStack skapa Wikibase]
* Video how you with [https://www.youtube.com/embed/0p3p3zkGG14 3 click creates a new Wikibase]
=== TODO ===
* Add new Logo maybe use [https://commons.wikimedia.org/wiki/File:Carl_Michael_Bellman_(ur_Svenska_Familj-Journalen).png]
** https://www.mediawiki.org/wiki/Manual:FAQ#How_do_I_change_the_logo?
Add new logo under the gear wheel at the dashboard site for [https://www.wbstack.com/dashboard BellmanFactbase].  
* Define properties
** Same as Wikidiata... see all properties xxxx
*** example usage [https://biodiversity.wiki.opencura.com/wiki/Item:Q22 biodiversity Item:Q22] of P11 [https://biodiversity.wiki.opencura.com/wiki/Property:P11 Wikidata mapping]
* Have all the epistals as objects

== Test SPARQL ==
* [https://tinyurl.com/y56akcbo Bellman SR]
* [https://tinyurl.com/y5ag8b42 Bellman Youtube]
* [https://tinyurl.com/y58j8rwl Bellman Stockholmskällan]

== Wikibase ==
* [https://arkdes.wiki.opencura.com/wiki/Main_Page arkdes.wiki.opencura.com]
* [https://biodiversity.wiki.opencura.com/wiki/Main_Page biodiversity]
** Links Wikidata see [https://biodiversity.wiki.opencura.com/wiki/Item:Q884 Item:Q884]
** Schema set up [https://biodiversity.wiki.opencura.com/wiki/EntitySchema:E2 EntitySchema:E2] observation
*** [https://shex.io/shex-primer/ Shape Expressions Primer]
*** [https://swebase.wiki.opencura.com/wiki/EntitySchema:E1 EntitySchema:E1] Test swebase
** Exempel hur han laddar in [https://biodiversity.wiki.opencura.com/wiki/Data_added data med python]
*** liten test mot [https://gist.github.com/salgo60/b6664b2aa4b6b7d613374db2f02a5314 SWEBASE]
** Exempel [https://tinyurl.com/ybg9vp5v SPARQL federation]
* [https://covid19relay.org/wiki/Covid19Relay COVID19] wiki w/ Wikibase
** SPARQL SWEBASE visar alla objekt med [https://tinyurl.com/yaql4dj3 samma som WD och hämtar koordinat] / [https://tinyurl.com/y98jeylo karta]
* [https://wiki.personaldata.io/wiki/Main_Page personaldata.io]
* [https://database.factgrid.de/wiki/Main_Page factgrid] / [https://blog.factgrid.de/ blog]
* [http://swebase.wiki.opencura.com/ swebase.wiki.opencura.com/]

<mapframe text="[[wikipedia:Stockholm|Stockholm]] in Wikipedia" width=250 height=250 zoom=7 latitude="59" longitude="18" />
<mapframe text="[[wikipedia:Stockholm|Stockholm]] in Wikipedia" width=250 height=250 zoom=7 latitude="59" longitude="18" />

Looks suspicious

@Tarrow not sure why it would ultimatly cause mediawiki to take so long serving the page?
At least for me locally, a similar page renders right away and served the error snippet

image.png (2,172×774 px, 49 KB)

with

<mapframe text="[[wikipedia:Stockholm|Stockholm]] in Wikipedia" width=250 height=250 zoom=7 latitude="59" longitude="18" />

I guess this might have been previous behavior?

Anton.Kokh changed the subtype of this task from "Task" to "Bug Report".Jun 15 2026, 12:08 PM

@Tarrow not sure why it would ultimatly cause mediawiki to take so long serving the page?

I'm also not sure why it takes so long to render. I wonder if there's some retrying happening?

In any case I think speeding up sending this error to the user is probably a separate problem to fixing these sites returning 500s when they shouldn't.

I think until we figure out a better solution we should disable/uninstall Kartographer.

Tarrow renamed this task from 2 wikibase.cloud sites just return 500s for their Main_Page to Wikibase.cloud sites with maps on their Main Page just return 500s for their Main_Page.Jun 15 2026, 12:14 PM
Tarrow updated the task description. (Show Details)