Page MenuHomePhabricator

DynamicPageList (third-party) doesn't work on closed wikis
Open, Needs TriagePublic

Description

The extension does not work if read access for anyone is disabled and only enabled for logged in users ($wgGroupPermissions['*']['read'] = false;).

If a user with read permissions logs in then a page about permission problems is shown: "You do not have permission to read this page, for the following reason: The action you have requested is limited to users in the group: Users."

After switching off the extension and without any other changes the wiki appears normal.

Tested on MW 1.27.1.

Event Timeline

Sesom42 created this task.Sep 27 2016, 11:03 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 27 2016, 11:03 AM
Tuxxic added a subscriber: Tuxxic.Mar 28 2017, 12:48 PM

Hi,

I am using DPL third-party on my own closed wiki, and I don't experience what you are experiencing.

Here are permissions for my read only users :

$wgGroupPermissions['*']['read'] = false;
$wgGroupPermissions['*']['edit'] = false;
$wgGroupPermissions['*']['createpage'] = false;

I set also

ExtDynamicPageList::setFunctionalRichness(2);

Then, to install DPL the first time it runs, I deactivated the private wiki by commenting the first lines, then the template is created, and I reactivate the private wiki part.

And it works to me.