Clone this repo:
  1. 5d942fc build: Updating stylelint-config-wikimedia to 0.19.3 by libraryupgrader · 2 days ago master wmf/branch_cut_pretest wmf/next
  2. 962c636 Remove calls to deprecated MetricInterface::copyToStatsdAt by Umherirrender · 8 days ago wmf/1.47.0-wmf.11
  3. 9b30e01 Localisation updates from https://translatewiki.net. by Translation updater bot · 4 weeks ago wmf/1.47.0-wmf.10 wmf/1.47.0-wmf.9
  4. ba1ede1 build: Updating npm dependencies by libraryupgrader · 5 weeks ago
  5. 143f788 tests: Use Title::makeTitle instead of Title::newFromText by Umherirrender · 5 weeks ago

Introduction to ArticlePlaceholder

The ArticlePlaceholder is a MediaWiki extension. Read the detailed documentation at https://www.mediawiki.org/wiki/Extension:ArticlePlaceholder

ArticlePlaceholder enables placeholder pages on Wikibase Client installations using data of the repository.

The file includes/Template/Wikidata-P18.xml shouldn't be used in production but is for testing purposes.

Installation

Dependencies

ArticlePlaceholder requires

  • MediaWiki
  • Wikibase Client, connected to a Wikibase Repo
  • Scribunto for the display of the content
  • Cite for the display of the references on a placeholder page
  • ContentTranslation (optional) for creating new articles based on existing ones in other languages

Configuration

wfLoadExtension( 'ArticlePlaceholder' );

needs to be set in the LocalSettings.php of your MediaWiki Installation.

There are multiple settings for the ArticlePlaceholder, which can be configured, a list can be found on the MediaWiki page of the extension.

Set-up

In order to be able to actually use the functionalities of the special page and the Lua module, it is necessary to import (via Special:Import or the importDump.php maintenance script) the Template and Module AboutTopic. These are located in the extension folder in includes/Template.

Optionally to enable the ordering of properties on the ArticlePlaceholder pages, your wiki needs a page with a list of sorted properties. This page needs to be called MediaWiki:Wikibase-SortedProperties.