Page MenuHomePhabricator

Impossible to run Wiki site with Kartographer extension
Closed, InvalidPublicBUG REPORT

Description

Hi,

I installed the Kartographer extension in my wiki site (Mediawiki V1.39) and the specific line in Localsetting.php file. When I log in to the wiki, I have an empty page. I had to remove the line about kartographer from the Localsetting.php file to be able to access my wiki.

Regards
Pacha35

Mediawiki 1.39
Windows 10,
Firefox 89.0.2

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Event Timeline

Aklapper changed the task status from Open to Stalled.EditedMar 27 2023, 6:25 AM

Hi,

I installed the Kartographer extension in my wiki site (Mediawiki V1.39) and the specific line in Localsetting.php file.

Which exact "specific line"? There is no such file, maybe you meant LocalSettings.php?

When I log in to the wiki, I have an empty page.

See https://www.mediawiki.org/wiki/Manual:Common_errors_and_symptoms#You_see_a_blank_page and provide error messages.

Can you access the page Special:Version? If yes, Which versions of Kartographer and JsonConfig are listed?

Mediawiki 1.39

Which exact MediaWiki version?

This sounds like a misconfiguration; has this been brought up on https://www.mediawiki.org/wiki/Project:Support_desk first?

Thanks for your answer.
The "specific line" is the line in Localsetting.php to use the Kartographer extension : wfLoadExtension( 'Kartographer' );
If this line is present, the wiki doesnot launch and is this line is cancelled, the wiki work fine (but the extension obviously doens not work).
I can't access the special:version because the wiki doesnot work.
I gave you the mediawiki version in my message : 1.39.0, the last stable version. In an other site of mine, I have tried with mediawiki 1.29.0, it's the same issue.

This is the error line :
Fatal error: Uncaught ExtensionDependencyError: Kartographer requires JsonConfig to be installed. in /home/simvol/wiki/includes/registration/ExtensionRegistry.php:432 Stack trace: #0 /home/simvol/wiki/includes/registration/ExtensionRegistry.php(276): ExtensionRegistry->readFromQueue(Array) #1 /home/simvol/wiki/includes/Setup.php(278): ExtensionRegistry->loadFromQueue() #2 /home/simvol/wiki/includes/WebStart.php(86): require_once('/home/simvol/wi...') #3 /home/simvol/wiki/index.php(44): require('/home/simvol/wi...') #4 {main} thrown in /home/simvol/wiki/includes/registration/ExtensionRegistry.php on line 432

Hi,
by reading the error code, I saw than I have not installed the jsonconfig extension.
I have installed this extension and now the wiki works and I can try to use Kartographer
The Kartographer extension is now correct in Special;Version list.
Sorry to bother you.
Pacha35