Page MenuHomePhabricator

Include WikibaseManifest extension in Wikibase release packages
Closed, ResolvedPublic

Description

As a Wikibase Release manager I want to be publish releases of the WikibaseManifest extension, so that Wikibase users can use it easily on their installation.

This is meant as a first WMDE-maintained Wikibase extension added to the "release pipeline". There will likely be more. The way WikibaseManifest is added will likely serve as a "template" for further additions.

Open questions:

  • Should the Wikibase Manifest extension also be enabled by default in the provided Docker image?
  • Should we provide some extra environment vars or something to configure the WikibaseManifest settings

Acceptance Criteria:

  • WikibaseManifest is included in the tarball result of the "release pipeline" in a version which is compatible with the included version of Wikibase
  • WikibaseManifest is included in the Docker container image of the "release pipeline" in a version which is compatible with the included version of Wikibase

Notes

  • "in a version which is compatible with the included version of Wikibase" in the acceptance criteria above means that automated testing of integration of WikibaseManifest and the released version of Wikibase has happened during the releasing process

Event Timeline

WMDE-leszek renamed this task from Add WikibaseManifest extension to Wikibase "release pipeline" to Include WikibaseManifest extension in Wikibase release packages.Jan 19 2021, 8:37 PM
hoo added a subscriber: toan.

@danshick-wmde

In LocalSettings.php

$wgEnableRestAPI = true; # <----- this is apparently up for deprecation
wfLoadExtension( 'WikibaseManifest' );

Should be all thats required for both REL1_35 and master.

after this you can find the endpoint at /w/rest.php/wikibase-manifest/v0/manifest

$wgEnableRestAPI is already a no-op in 1.35, and defaulting to true

/**
 * Enable the experimental REST API.
 *
 * @deprecated Since 1.35, defaults to true and is ignored by MediaWiki core itself.
 *             No longer functions as a setting. Will be removed in 1.36.
 */
$wgEnableRestAPI = true;

$wgEnableRestAPI is already a no-op in 1.35, and defaulting to true

/**
 * Enable the experimental REST API.
 *
 * @deprecated Since 1.35, defaults to true and is ignored by MediaWiki core itself.
 *             No longer functions as a setting. Will be removed in 1.36.
 */
$wgEnableRestAPI = true;

Thanks for that I'll update the readme in the repo