Page MenuHomePhabricator

MediaWiki Docker does not support rest.php support
Open, Needs TriagePublicBUG REPORT

Description

Steps to Reproduce

  1. Enable $wgEnableRestAPI = true;
  2. Go to /rest.php/v1/page/Main_Page/history

Actual Results
Redirect to the main page.

Expected Results
JSON response of the page history

Event Timeline

dbarratt created this task.Aug 22 2020, 7:05 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptAug 22 2020, 7:05 PM

Change 621896 had a related patch set uploaded (by Dbarratt; owner: Dbarratt):
[releng/dev-images@master] Route requests to /rest.php to the rest.php entry point.

https://gerrit.wikimedia.org/r/621896

Change 626143 had a related patch set uploaded (by Kosta Harlan; owner: Kosta Harlan):
[releng/dev-images@master] Default to /var/www/html/w MediaWiki install and /wiki style URLs

https://gerrit.wikimedia.org/r/626143

Change 626143 merged by Jeena Huneidi:
[releng/dev-images@master] Default to /var/www/html/w MediaWiki install and /wiki style URLs

https://gerrit.wikimedia.org/r/626143

Mentioned in SAL (#wikimedia-releng) [2020-09-15T21:45:17Z] <brennen> Updating dev-images docker-pkg files on primary contint T261051

jeena moved this task from Backlog to In Progress on the MediaWiki-Docker board.Wed, Sep 23, 5:53 AM