Mholloway has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/390295 )

Change subject: Remove mobile-sections URL from summary API URLs
......................................................................

Remove mobile-sections URL from summary API URLs

Bug: T177431
Change-Id: I62dfe3cc8b9b240ec86b22d6dee54fad1e7899fb
---
M lib/mobile-util.js
M spec.yaml
2 files changed, 0 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/mobileapps 
refs/changes/95/390295/1

diff --git a/lib/mobile-util.js b/lib/mobile-util.js
index 63b4e24..315d517 100644
--- a/lib/mobile-util.js
+++ b/lib/mobile-util.js
@@ -277,7 +277,6 @@
 mUtil.buildApiUrls = function(domain, title, lead) {
     return {
         summary: 
`https://${domain}/api/rest_v1/page/summary/${title.getPrefixedDBKey()}`,
-        mobile_sections: 
`https://${domain}/api/rest_v1/page/mobile-sections/${title.getPrefixedDBKey()}`,
         // read_html: 
`https://${domain}/api/rest_v1/page/read-html/${title.getPrefixedDBKey()}`,
         // content_html: 
`https://${domain}/api/rest_v1/page/content-html/${title.getPrefixedDBKey()}`,
         // metadata: 
`https://${domain}/api/rest_v1/page/metadata/${title.getPrefixedDBKey()}`,
diff --git a/spec.yaml b/spec.yaml
index 3a18aee..c36cb86 100644
--- a/spec.yaml
+++ b/spec.yaml
@@ -706,7 +706,6 @@
                 talk: /.+/
               api_urls:
                 summary: /.+/
-                mobile_sections: /.+/
 #                read_html: /.+/
 #                content_html: /.+/
 #                metadata: /.+/
@@ -1331,9 +1330,6 @@
       summary:
         type: string
         description: the REST API summary URL for the page
-      mobile_sections:
-        type: string
-        description: the REST API URL for the sectionized mobile HTML for the 
page
 #      read_html:
 #        type: string
 #        description: the REST API URL for the PCS read HTML for the page (not 
yet active)

-- 
To view, visit https://gerrit.wikimedia.org/r/390295
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I62dfe3cc8b9b240ec86b22d6dee54fad1e7899fb
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/mobileapps
Gerrit-Branch: master
Gerrit-Owner: Mholloway <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to