wiki.techinc.nl/includes/Rest/Handler
bpirkle 90494183bb REST: add restbase compat error handling mode
In order to replace certain /api/rest_v1 endpoints, we
need to have something in MediaWiki that generates a compatible
responser. The MediaWiki REST API error format does not match
RESTbase. So the easiest approach seemed to be to
add a compatibility mode, triggered using the x-restbase-compat
header. This can be set via the gateway when rerouting the request.

Bug: T374136
Change-Id: I73934940d367be52941bd27861c248ab5bcfb5d2
2024-09-16 18:09:12 -05:00
..
Helper Merge "REST: add restbase compat mode for some endpoints" 2024-09-16 19:21:57 +00:00
ActionModuleBasedHandler.php Replace a few more uses of deprecated Status / StatusValue methods 2024-08-22 19:34:51 +00:00
CompareHandler.php Use real type hints for services etc. in includes/Rest/ 2024-06-11 22:40:44 +02:00
CreationHandler.php REST: introduce getBodyParamSettings 2024-05-07 17:35:36 +00:00
EditHandler.php Use real type hints for services etc. in includes/Rest/ 2024-06-11 22:40:44 +02:00
LanguageLinksHandler.php
MediaFileHandler.php Use real type hints for services etc. in includes/Rest/ 2024-06-11 22:40:44 +02:00
MediaLinksHandler.php Use real type hints for services etc. in includes/Rest/ 2024-06-11 22:40:44 +02:00
ModuleSpecHandler.php REST: include version in generated OpenAPI spec 2024-08-19 20:47:40 +02:00
OpenSearchDescriptionHandler.php Use namespaced classes (2) 2024-06-16 20:23:55 +02:00
PageHistoryCountHandler.php Use expression builder instead of raw sql 2024-07-23 23:30:45 +02:00
PageHistoryHandler.php Use RawSQLValue/RawSQLExpression for some subqueries 2024-05-29 19:48:23 +00:00
PageHTMLHandler.php Deprecate Html*Helper::init() 2024-07-19 15:03:37 +00:00
PageSourceHandler.php REST: add restbase compat error handling mode 2024-09-16 18:09:12 -05:00
ParsoidHandler.php Move Language and friends into Language namespace 2024-08-10 13:36:30 +02:00
RedirectHandler.php REST: Document new redirect feature. 2024-05-07 16:42:21 +02:00
RevisionHTMLHandler.php Deprecate Html*Helper::init() 2024-07-19 15:03:37 +00:00
RevisionSourceHandler.php REST: add restbase compat error handling mode 2024-09-16 18:09:12 -05:00
SearchHandler.php Replace a few more uses of deprecated Status / StatusValue methods 2024-08-22 19:34:51 +00:00
TransformHandler.php REST: Mark TransformHandler as not needing write access 2024-06-15 02:58:36 -04:00
UpdateHandler.php REST: showcase usage of ArrayDef convenience functions 2024-07-25 16:54:18 +00:00