Skip to content

Commit

Permalink
Merge "Remove logic and tests of sunset mobile-sections routes."
Browse files Browse the repository at this point in the history
  • Loading branch information
jenkins-bot authored and Gerrit Code Review committed Feb 6, 2025
2 parents 63f7ecf + a110b16 commit 1cabc28
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 1,066 deletions.
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,6 @@ Next generation routes for page content. See [Page_Content_Service](https://www.

#### Mobile Content Service routes

The first generation mobile content route (mainly for Android app):
* `http://localhost:8888/{domain}/v1/page/mobile-sections/{title}`

* Example: `http://localhost:8888/en.wikipedia.org/v1/page/mobile-sections/Cat`

There is also a endpoint for definitions from Wiktionary the Android app uses:
* `http://localhost:8888/{language code}.wiktionary.org/v1/page/definition/{title}`

Expand Down
1 change: 0 additions & 1 deletion lib/mobile-util.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ const constants = require('./constants');

mUtil.CONTENT_TYPES = {
html: { name: 'HTML', version: '2.1.0', type: 'text/html' },
mobileSections: { name: 'mobile-sections', version: '0.14.5', type: 'application/json' },
media: { name: 'Media', version: '1.4.5', type: 'application/json' },
mobileHtml: { name: 'Mobile-HTML', version: '1.2.2', type: 'text/html' },
metadata: { name: 'Metadata', version: '1.3.0', type: 'application/json' },
Expand Down
347 changes: 0 additions & 347 deletions routes/page/mobile-sections.js

This file was deleted.

Loading

0 comments on commit 1cabc28

Please sign in to comment.