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
Expose pcs endpoints for js and css #1214
Conversation
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.
LGTM, one comment in-lined. Also, are we sure nothing is using the end points being removed (in the apps) ?
@@ -38,6 +38,7 @@ paths: | |||
enum: | |||
- base | |||
- pagelib | |||
- pcs |
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.
You are removing pagelib
from the description, but not from the enum here. It must be one or the other :)
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.
Fixed - pagelib
is deprecated but needs to remain available for app clients that still point to that endpoint. I added some clarifying comments in the documentation
Yes - the The |
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.
Needs one more change.
v1/javascript.yaml
Outdated
request: | ||
method: get | ||
uri: '{{options.host}}/{domain}/v1/data/javascript/mobile/pagelib_body_end' | ||
uri: '{{options.host}}/{domain}/v1/data/javascript/mobile/pagelib' |
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.
s/pagelib/{type}/
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.
Fixed
Should be deployed in the next few days. |
Exposes new
pcs
endpoints, removes now unusedpagelib_body_start
andpagelib_body_end
endpointshttps://phabricator.wikimedia.org/T237745