Page MenuHomePhabricator

Remove the $wsexportConfig global
Closed, ResolvedPublic

Description

As part of the move to Symfony in T263577, we added a workaround to include the legacy config values. This workaround should be refactored to use standard Symfony structures.

The various keys of this variable are:

  • debug
  • stat
  • basePath
  • tempPath
  • exec-timeout
  • ebook-convert

Acceptance criteria:

  • Remove all usages of $wsexportConfig global variable from the codebase

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
• Samwilson changed the task status from Open to Stalled.Mar 11 2021, 3:06 AM
• Samwilson removed • Samwilson as the assignee of this task.

Actually, T273832 and T264699 should be done before doing tempPath, because they use it to save temp files (and won't need to after we've resolved them).

PR for the last part of this (I think! This patch actually removes the global var, anyway): https://github.com/wikimedia/ws-export/pull/369

All done here!

There's either a lot to QA here, or not much at all :-) basically, I think most of the above changes have been in production for long enough for us to be comfortable with any bugs having surfaced already. Probably this can just be resolved.

dom_walden moved this task from QA 🐛 to Done 🏁 on the Community-Tech (CommTech-Sprint-3) board.
dom_walden subscribed.

There's either a lot to QA here, or not much at all :-) basically, I think most of the above changes have been in production for long enough for us to be comfortable with any bugs having surfaced already. Probably this can just be resolved.

OK, I will just move into Done and resolve it.