Page MenuHomeMiraheze

Consider removing raw i18n files from rsync
Open, LowPublic

Description

We currently copy:
/srv/mediawiki/w/languages/i18n/*.json
/srv/mediawiki/w/(extensions|skins)/i18n/*.json
to every mw*

I can't see an obvious need for this and if we made extension-list use staging and built directly from there we would:

  • remove the dependancy on --world for i18n updates
  • speed up the deployment as it would have less work
  • save 200MB in disk space which will only increase

Any thoughts?

Event Timeline

RhinosF1 created this task.
Unknown Object (User) added a comment.EditedJan 3 2022, 07:03

extension-list requires database and working file system access, it won't work in staging. No MediaWiki maintenance script will, as far as I know. They all depend on a working mediawiki as Maintenance.php does.

You can update the extension-list file (which is only used as far as I know to build i18n) to point to staging and get all data from there during the script. The script would still run from deployed.

Unknown Object (User) removed a subscriber: Bukkit.Jan 30 2022, 22:38
Unknown Object (User) unsubscribed.Feb 12 2022, 07:24
Unknown Object (User) subscribed.May 4 2022, 22:04
Unknown Object (User) moved this task from Backlog to Features on the MediaWiki board.May 9 2022, 19:23
Unknown Object (User) unsubscribed.Mar 18 2023, 03:25