You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

WMDE/Wikidata/SSR Service

From Wikitech-static
< WMDE‎ | Wikidata
Revision as of 14:20, 17 December 2018 by imported>Pablo Grass (WMDE) (explaining existence as server-side & client-side variant, ability to fall back)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This page provides a brief overview of Server-side Rendering Service[1].

The service is to be introduced in 2019, to initially serve server-side rendered content of the Wikidata/Wikibase "term box", i.e. the part of item/property page UI where labels, descriptions and aliases are shown and could be edited.

The service is used as part of generating the HTML output sent from MediaWiki to user's browser.

The HTML generated server-side is to be optionally "enhanced" by client-side JavaScript

There is a server-side and the client-side variant of the code, which are distributions of the same implementation.

The client-side variant is deployed into wikibase on a file system level through git sub modules.

In case of no configured server-side rendering service or a malfunctioning of it, the client-side code will act as a fallback.[2]

Technology

The SSR service is a node service. It is written in TypeScript. The code is "compiled" to JavaScript using WebPack.

The service uses VueJS as the UI framework.

Architecture

TODO: diagram(s)

References