Page MenuHomePhabricator

PCS/summary returns errors for beta requests
Closed, DuplicatePublic

Description

From internal outgoing requests:

message": "Error: exception of type MediaWiki\\Rest\\PathTemplateMatcher\\ModuleConfigurationException: Duplicate module site/v1 in /srv/mediawiki/php-master/includes/Rest/site.v1.json"

Event Timeline

Change #1234927 had a related patch set uploaded (by Jgiannelos; author: Jgiannelos):

[operations/mediawiki-config@master] beta: Fix duplicate definition of site.v1.json

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

I think the cause is merging this patch:
https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1208461

Beta is running master branch so the issue is triggered. I think eventually this is going to cause the same problem on the next train rollout because of duplicate entries on InitialiseSettings.php

Just noticed this task. The error was fixed under T415771: REST API broken on beta sites via https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1235070

The error was my mistake, sorry for the distraction.