Skip to content

Conversation

AndrewKostka
Copy link
Contributor

No description provided.

@AndrewKostka AndrewKostka requested a review from m90 July 18, 2023 09:31
@tarrow tarrow force-pushed the update-docs-i18n-cache branch from 6219fae to 0430fca Compare January 25, 2024 21:10
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants