-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update required media item fields #1000
Conversation
As of https://gerrit.wikimedia.org/r/#/c/436360/ (adding support for Mathoid images) media items may not have the usual set of Commons metadata. This updates the media spec to fix the monitoring check.
Congrats @mdholloway - you've made PR #1000 :) |
\o/ |
1 test is still failing for the media endpoint. |
00d5fe0
to
23e267b
Compare
@mdholloway It would also be good for RB's and MCS' specs to have the same |
23e267b
to
b27005b
Compare
@mdholloway test is still failing with |
To actually fix the monitoring check.
b27005b
to
ef92534
Compare
See https://gerrit.wikimedia.org/r/#/c/437636/. Small change to follow in restbase as well. |
Follow-up from wikimedia#1000 (comment). Reconciles this check with mobileapps to aid in diagnosing alerts. See also https://gerrit.wikimedia.org/r/#/c/437636/ on the mobileapps side.
- type | ||
- thumbnail | ||
- license | ||
- original |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is something wrong here @mdholloway : the spec test requires section_id
and type
to be present, but the definition additionally requires the original
field. These need to match.
As pointed out by mobrovac[1], this will make it easier to diagnose alerts. [1] wikimedia/restbase#1000 (comment) Change-Id: I6d3e951a72cbfababef22195aa0d73d211ddca9b
As of https://gerrit.wikimedia.org/r/#/c/436360/ (adding support for
Mathoid images) media items may not have the usual set of Commons
metadata. This updates the media spec to fix the monitoring check.