Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation for manually rebuilding i18n cache #369

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

AndrewKostka
Copy link
Contributor

No description provided.

@AndrewKostka AndrewKostka requested a review from m90 July 18, 2023 09:31
docs/dev-environment.md Outdated Show resolved Hide resolved
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