Topic on Extension talk:Translate

Automatically Clear Page Cache

5
Derf Jagged (talkcontribs)

Is there a way that you could add functionality for it to run a page cache purge (?action=purge) after saving a translation? I ran into issues on a private wiki where the list of available languages for a page wouldn't update when adding a new language until the page cache was purged.

Nikerabbit (talkcontribs)

This should work correctly out of the box. Is your job queue configured correctly?

Derf Jagged (talkcontribs)

Jobs run and the queue is currently empty when I try and run runJobs.php. Is there something special that needs to be setup for Translate?

Tacsipacsi (talkcontribs)
Nikerabbit (talkcontribs)

There is a purge call in \MediaWiki\Extension\Translate\PageTranslation\Hooks::updateTranslationPage

Reply to "Automatically Clear Page Cache"