-
-
Notifications
You must be signed in to change notification settings - Fork 74
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
New URLs builders for Downloader and Mediawiki classes #1854
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #1854 +/- ##
==========================================
+ Coverage 69.73% 70.29% +0.55%
==========================================
Files 24 31 +7
Lines 2647 2720 +73
Branches 601 599 -2
==========================================
+ Hits 1846 1912 +66
- Misses 690 696 +6
- Partials 111 112 +1
☔ View full report in Codecov by Sentry. |
@DonAlexandro Thank you for having isolated this in a PR. @VadimKovalenkoSNF Will make the code review at code level and polish a few things to make it ready to merge. |
buildMobileRestApiURL(path?: string) { | ||
return urlBuilder | ||
.setDomain(this.baseDomain) | ||
.setPath(path ?? 'api/rest_v1/page/mobile-sections') |
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.
@kelson42 I'm going to remove all methods related to /mobile-sections endpoint because it has been disabled for a while, you can check the doc - https://en.wikipedia.org/api/rest_v1/#/Mobile/getSections. Pls. let me know, if you have any concerns about it.
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.
@VadimKovalenkoSNF Just please articulate/organize your moves (remove mobile-section support, add support of new mobile HTML end-point) with #1664 (future PR)
9db362a
to
4d6aa81
Compare
CI based on #1862. PR1862 should be merged first. |
4d6aa81
to
d33c197
Compare
Done. |
d33c197
to
24b2564
Compare
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
Overview
This PR will add URL builders as a part of #1830 architecture revamping