Bug ID: 62842
           Summary: Cannot read whitelisted pages from API
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: API
       Web browser: ---
   Mobile Platform: ---

It is not possible to view a whitelisted page through the MediaWiki API.

Steps to reproduce:
* Set $wgGroupPermissions['*']['read'] = false to create a private wiki.
* Add a page to the whitelist using $wgWhitelistRead = array( "Foo" );
* Access api.php?action=parse&page=Foo

Expected behaviour:
* The API to return successfully, showing the contents of the page [[Foo]].

Actual behaviour:
* The API returns a `readapidenied` error ("You need read permission to use
this module"), even though a user can access index.php?title=Foo without an


This bug has been mentioned on the MediaWiki wiki since at least 2010
([[mw:Special:Permalink/300785]]), but I couldn't find any existing filed bugs
in the API category on Bugzilla.

You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to