User:VadimKovalenkoSNF/sandbox

=Page Content Service=

The Page Content Service, also known as PCS, comprises a suite of services built on Node.js and deployed in Wikimedia production. Its primary function is to serve content and metadata from Wikimedia project pages to Wikipedia mobile applications (iOS/Android).

Mobile html request
Gets the content HTML optimized for mobile consumption for the given page.

Media list request
Gets the list of media items (images, audio, and video) in the order in which they appear on a given wiki page.

Summary request
The summary response includes an extract of the first paragraph of the page in plain text and HTML as well as the type of page. This is useful for page previews (fka. Hovercards, aka. Popups) on the web and link previews in the apps.

Offline resource request
Provides links to scripts and styles needed for viewing mobile-html-formatted pages offline.

Test mode
To test dark modes and/or enable the footer, place the following params to the URL when using mobile-html endpoint:


 * footer=true adds the footer
 * theme={theme} set the theme to one of `sepia`, `dark`, `black`

=Mobile Content Service= The Mobile Content Service, or MCS, delivers a range of APIs designed for dispatching content compatible with mobile applications to app clients. Additionally, MCS integrates page content transformations that were initially executed in JavaScript on the client-side after the page had fully loaded. It is successor is the Page Content Service. MCS is going to be deprecated in July 2023, see this discussion thread.

=External links= Wikimedia REST API

Mobile Content Service docs

Page Content Service docs