User:Juho Kunsola/log/2019
TODO:
- Enable one or more automatic translation aids for mw:Help:Extension:Translate/Translation_memories
- mw:Extension:CleanChanges needs JavaScript to work
March
Monday 2019-04-01
- Set
sudo -u www-data php maintenance/runJobs.php --wait &
to run all the time in a detached tmux session and this fixes Special:Translate. Jukeboksi (talk) 23:58, 1 April 2019 (CEST) - Enabled the elasticsearch service with
sudo systemctl enable elasticsearch.service
- Installed mw:Extension:Elastica. Jukeboksi (talk) 21:04, 1 April 2019 (CEST)
- Installed 5.X of elasticsearch with these instructions: https://www.elastic.co/guide/en/elasticsearch/reference/5.3/deb.html. Elastica is not compatible (as of now) with the 6.X branch
- Installed OpenJDK with
sudo apt install openjdk-8-jre
- Installed mw:Extension:Elastica to enable translation memories for mw:Extension:Translate and ran
composer install --no-dev
in extensions/Elastica Jukeboksi (talk) 19:46, 1 April 2019 (CEST) - Installed extensions suggested by mw:Extension:ContentTranslation with git:
- UPDATE: Bad idea. Just installs a bunch of stuff not needed and maybe some sploits
Ran. Jukeboksi (talk) 17:19, 1 April 2019 (CEST)composer suggests | xargs -i composer require {}
to install the packages recommended by the existing composer installed packages - Ran
composer require wikimedia/composer-merge-plugin
as instructed in mw:Composer#Using composer-merge-plugin. Jukeboksi (talk) 17:01, 1 April 2019 (CEST) - Ran
composer install --no-dev
. Jukeboksi (talk) 17:32, 1 April 2019 (CEST) - Checked that {{#babel}} works. Jukeboksi (talk) 15:58, 1 April 2019 (CEST)
- Added [[w:]] to the interwiki so we can easily link to Wikipedia articles. [[mw:]] was already present in the interwiki table. Jukeboksi (talk) 15:51, 1 April 2019 (CEST)
- Installed the following components stated in MediaWiki Language Extension Bundle (MLEB)
- Installed MLEB component with git: mw:Extension:UniversalLanguageSelector
- Installed MLEB component with git: mw:Extension:LocalisationUpdate
- Installed MLEB component with git: mw:Extension:CleanChanges
- Installed MLEB component with git: mw:Extension:Babel
- Installed MLEB component with git: mw:Extension:CLDR
- Installed mw:Extension:Translate with git. Syntax is
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/<EXT> --branch REL1_32
- Started installing extensions that cannot be installed with composer using these instructions mw:Download from Git#Using Git to download MediaWiki extensions
- Wrote
'/w/composer.local.json'
to automate installation of extensions certain and their dependencies - Installed zipping and unzipping for PHP to make composer work: '
sudo apt install zip unzip php7.0-zip'
- Installed Composer PHP package and dependencies manager with
'sudo apt install composer'
Sunday 2019-03-31
- Installed Mediawiki to https://wiki.ban-covert-modeling.org/wiki/