Page MenuHomePhabricator

access Sitelinks to password-protected mediawiki
Open, Needs TriagePublic

Description

I'm up to using Sitelinks, pointing to my local Mediawiki installation, which has $wgGroupPermissions false for all (i.e. private wiki). I added my site to the Sites table, "Wikipedia" group, via maintenance/exportSites.php and importSites.php. This works, and my new Site is found at the autocomplete, when I Edit the sitelinks in one Item.
Unfortunately, the problem is that no page is found.
By checking the logs, I see that actually, a call is made to the api.php?search="Page" and a "readapidenied" is returned.
In fact, if I turn the $wgGroupPermissions to True in LocalSettings.php, it all works, I get the pages found.
However, I need my wiki to stay private.
What would be possible options? Could I activate API:Login somehow for these calls? Any other way out?
Many thanks in advance
Kind regards