New configuration variable $wgRestAPIAdditionalRouteFiles allows specifying additional Core REST API route files to include. The initial use is to include development routes from new file coreDevelopmentRoutes.json only on testing wikis, but not on production wikis. Bug: T247997 Change-Id: Iff8a9b7f4cafb29162e9b10f3d32e2a85f6f58df
6 lines
109 B
JSON
6 lines
109 B
JSON
[
|
|
{
|
|
"path": "/mock/RouterTest/hello/two",
|
|
"class": "MediaWiki\\Tests\\Rest\\Handler\\HelloHandler"
|
|
}
|
|
]
|