User Details
- User Since
- Nov 26 2021, 3:08 PM (68 w, 5 d)
- Availability
- Available
- LDAP User
- Ollie Shotton
- MediaWiki User
- Ollie Shotton (WMDE) [ Global Accounts ]
Wed, Mar 15
Tue, Mar 14
Mon, Mar 13
Fri, Mar 10
Mini task breakdown to cleanup:
- in ResponseFactory, change newErrorResponse arguments to code, message and optional context
- replace the remaining calls to newErrorResponse in middlewares
- modify newErrorResponseFromException to get rid of the new ErrorResponse( ... ) and pass in the three arguments directly
- move all public const error codes from ErrorResponse to UseCaseException
- remove the UseCaseErrorResponse class
- remove the ItemRedirectErrorResponse class
Wed, Mar 8
Tue, Mar 7
Thu, Feb 23
Here are some of my thoughts on using gitup over the past year or so.
Wed, Feb 22
Tue, Feb 21
Feb 20 2023
Feb 14 2023
Task breakdown:
Outstanding questions (for @WMDE-leszek) :
- Should we return an empty map ({}) if no statements exists with the provided property id?
Feb 6 2023
Feb 3 2023
Creating an ExceptionJsonPresenter would mean having to inject it into the ResponseFactory for all routes which seemed a bit excessive for an experiment. Instead, I made the new ResponseFactory::newErrorResponseFromException() method just convert the exception to an ErrorResponse for now. This also means no changes to ErrorResponseToHttpStatus are needed either.
Feb 2 2023
Feb 1 2023
Note: we will need to update the OpenAPI definition to make property/data-type nullable
Thanks @Michael
Jan 31 2023
📜 Task breakdown notes:
Jan 30 2023
So I don't forget, I'm adding some of my ideas/suggestions for improving errors here. Let me know if there is a better place for this.
We can't view the different 2xx and 3xx responses in grafana as that information isn't recorded with statsd, but we can view the different 4xx and 5xx responses. See Silvan's playpit dashboard for some examples.
A Wikibase REST API on Wikidata dashboard has been created.
Jan 26 2023
Jan 25 2023
@Manuel This seems more like a subtask of T314133: Allow recording Wikibase REST API usage for Wikidata monitoring and metrics than the parent task. This task will shortly be completed and I'm assuming discussion on the monitoring and metrics topic will continue in T314133? What do you think?
Jan 24 2023
Successfully SSHed in and reset Kerberos password. Thanks!
Jan 23 2023
Jan 20 2023
Jan 17 2023
Jan 16 2023
The Wikibase REST API is covered by the AbuseFilter extension by using the same MediawikiEditEntity::attemptSave() low-level service. This service calls the EditFilterMergedContent hook which is registered by the extension (see extension.json). The error response returned by the Wikibase REST API is a generic 500 unexpected-error.