MediaWiki-Docker/Extension/GrowthExperiments/ja

This page is a translated version of the page MediaWiki-Docker/Extension/GrowthExperiments and the translation is 38% complete.
Other languages:
Deutsch • ‎English • ‎Türkçe • ‎čeština • ‎日本語

First have a quick read of MediaWiki-Docker and install the prerequisites.

Then clone MediaWiki: git clone https://gerrit.wikimedia.org/r/mediawiki/core.git mediawiki and go into that directory: cd mediawiki

Follow the instructions from DEVELOPERS.md to install MediaWiki. Once MediaWiki is running and available at http://localhost:8080, then:

git clone "https://gerrit.wikimedia.org/r/mediawiki/extensions/GrowthExperiments" extensions/GrowthExperiments
git clone "https://gerrit.wikimedia.org/r/mediawiki/skins/Vector" skins/Vector
git clone "https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue" skins/MinervaNeue
git clone "https://gerrit.wikimedia.org/r/mediawiki/extensions/PageViewInfo" extensions/PageViewInfo
git clone "https://gerrit.wikimedia.org/r/mediawiki/extensions/MobileFrontend" extensions/MobileFrontend
git clone "https://gerrit.wikimedia.org/r/mediawiki/extensions/Elastica" extensions/Elastica
git clone "https://gerrit.wikimedia.org/r/mediawiki/extensions/CirrusSearch" extensions/CirrusSearch

You should have a file called LocalSettings.php in the root of the mediawiki directory; edit the file and add these lines at the bottom:

wfLoadSkin( 'MinervaNeue' );
wfLoadSkin( 'Vector' );
wfLoadExtension( 'MobileFrontend' );
wfLoadExtension( 'GrowthExperiments' );
wfLoadExtension( 'PageViewInfo' );

To set up the suggested edits feature

  1. Follow the ElasticSearch instructions from MediaWiki-Docker/Configuration_recipes/ElasticSearch.
  1. MediaWiki:NewcomerTopicsOres.json の内容を http://localhost:8080/index.php?title=MediaWiki:NewcomerTopicsOres.json&action=edit にコピーします。
  2. MediaWiki:NewcomerTasks.json の内容を http://localhost:8080/index.php?title=MediaWiki:NewcomerTasks.json&action=edit にコピーします。
  3. $wgGENewcomerTasksTopicType = 'ores'LocalSettings.php に追加します。
  4. $wgGERestbaseUrl = 'https://cs.wikipedia.org/api/rest_v1';LocalSettings.php に追加します。
  5. $wgGENewcomerTasksGuidanceEnabled = true;LocalSettings.php. に追加します。