I have applied <accesscontrol> to a page named Quests on my wiki. https://dnd.dylanbanta.com/index.php?title=Quests
The access control tag does seem to work fine, but if you don't have access to the page (Not logged in for example) you get redirected to the following page https://dnd.dylanbanta.com/index.php/The+Luterra+Wiki:Deny_user which doesn't exist (with or without the spaces in the URL) and 404s.
The first thing I've noticed is that the url is constructed differently, so I tried editing my LocalSettings.php and Nginx configurations
Firstly I had to change
$wgSitename = "The Luterra Wiki";
to
$wgSitename = "The_Luterra_Wiki";
to remove the spaces from the url. Now it redirects to
https://dnd.dylanbanta.com/index.php/The_Luterra_Wiki:Deny_user which still 404s but at least the URL won't have spaces.
I wasn't sure if AccessControl expects Short URLs so I changed the LocalSettings.php to include the following
$wgScriptPath = "";
$wgArticlePath = "/wiki/$1";
$wgUsePathInfo = true;
I can now access my Quests page from
https://dnd.dylanbanta.com/wiki/Quests when logged in
and logged out it now redirects to
https://dnd.dylanbanta.com/index.php/The_Luterra_Wiki:Deny_user
which doesn't include the /wiki/ part of the url, and still isn't an existing page.
At this point, I'm pretty confused as to what to do to fix these redirects. I'm using nginx so perhaps I need to configure something with that?