Skin:WikimediaApiPortal

WikimediaApiPortal is a MediaWiki skin developed by the Platform Engineering Team in 2020 as part of the API Gateway initiative. The skin was designed to mimic the look and feel of conventional developer portals by incorporating header and sidebar navigation elements and following the Wikimedia Design Style Guide. The skin uses the Bootstrap CSS framework, OOUI library, and Mustache templates. The skin was created for use with the Wikimedia API Portal, so some elements of the design such as the site logo and footer are specific to Wikimedia.

Installation
WikimediaApiPortal requires MediaWiki 1.36 or later.


 * To set the default skin as WikimediaApiPortal, add the following code to the bottom of your :

Sidebar configuration
WikimediaApiPortal requires subpages enabled in any namespaces that should support sidebar navigation and shortened display titles. Add the  configuration setting to your   to enable subpages. For example, to enable subpages in the main namespace:

Sidebars
Sidebars allow you to navigate easily between related pages. Subpages are automatically added to the sidebar of the parent page. To order elements in a sidebar, add  where the number represents the order in the sidebar. DEFAULTSORT values must be unique between subpages of the same parent page; if multiple subpages share the same DEFAULTSORT value, neither page appears in the sidebar.

Header navigation
Use the  page to control the links that appear in the header navigation bar. For example, you can set the header to link to a set of landing pages instead of the default navigation.

Site footer
To add content to the footer, edit the  message in.