Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/dev-environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@ Removing the installation:
docker compose down --volumes
```

### Updating localizations

After modifying `i18n` files, run the following to update localization caches:

```sh
docker compose run --rm -it mediawiki bash -c "WBS_DOMAIN=maint php w/maintenance/rebuildLocalisationCache.php --lang=en --force"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're currently storing our localization caches in /tmp/mw-cache, so by using run to start a new container, we don't actually refresh the cache for any containers that are already running. That's why I originally opted to use exec instead. When starting the stack, the caches will be rebuilt anyway if you use --build as documented above.

```

### Debugging Elastic

General overview of the cluster
Expand Down