wiki.techinc.nl/includes/Maintenance
Tim Starling 096ea23208 Update moveToExternal and resolveStubs
Convert these two old scripts to Maintenance subclasses.

* Uncomment the resolveStub() call in moveToExternal and fix one obvious
  bug with it, i.e. the fact that stubs need to be resolved after CGZ
  blobs are moved.
* Replace get_class() with instanceof.
* Make the "tiny text" threshold configurable. Normally this is not
  wanted in WMF production since new revisions are written to ES
  unconditionally.
* Add a dry run mode.
* Add an undo log.
* Add --skip-resolve option.
* Make resolveStub() be much more defensive about what it resolves.
* In moveToExternal, make compression optional and do it also for plain
  text.
* Optionally convert the legacy encoding to UTF-8.

Bug: T299387
Change-Id: I52d54e3b6b785ac072796031be06499221340f51
2022-12-20 13:43:44 +11:00
..
ForkController.php Respond to some messages from Phan on PHP 8.1 2022-11-03 16:25:43 +11:00
OrderedStreamingForkController.php Respond to some messages from Phan on PHP 8.1 2022-11-03 16:25:43 +11:00
UndoLog.php Update moveToExternal and resolveStubs 2022-12-20 13:43:44 +11:00