StarCitizenTools / mediawiki-skins-Citizen

A beautiful, usable, responsive MediaWiki skin with in-depth extension support. Originally developed for the Star Citizen Wiki.

Home Page:https://www.mediawiki.org/wiki/Skin:Citizen

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PWA is uninstallable on private wikis

BakiDance opened this issue · comments

Describe the Bug

Setting $wgGroupPermissions['*']['read']= false; prevents fetching of the PWA manifest. Specifically, the console reports "Manifest: Line: 1, column: 1, Syntax error."

I'm not sure if this is a fixable issue, or something else entirely. When the read permission is true, PWA works as intended. Are there any pages I need to whitelist to get it to work?

Steps to reproduce the behavior:

  1. Set $wgGroupPermissions['*']['read']= false;
  2. Ch Chrome's Application tab in DevTools.
  3. See error

Expected Behavior

The PWA remains installable, even on "private" wikis.

System

Please complete the following information:

  • MediaWiki version: 1.39.5
  • Server OS: cloudlinux
  • Installed extensions and versions: ConfirmAccount 299277b
  • PHP version 7.4.33 litespeed