Commit graph

3 commits

Author SHA1 Message Date
Tim Starling
855593d203 Factor out LoggedUpdateMaintenance::setForce()
It's logically part of LoggedUpdateMaintenance. There are two copies
already, and I was considering adding a third.

Change-Id: Ib3686cb3d408a017cd17cde624df71edb379f07e
2021-06-24 16:21:53 +10:00
James D. Forrester
df5eb22f83 Replace uses of DB_MASTER with DB_PRIMARY
Just an auto-replace from codesniffer for now.

Change-Id: I5240dc9ac5929d291b0ef1c743ea2bfd3f428266
2021-04-29 09:24:31 -07:00
Brad Jorsch
7a422138a7 Migrate image descriptions from image_comment_temp
image_comment_temp was always intended to be temporary, until an
expensive schema change on Wikimedia Commons's image table could be
done. Now that that has been done, stop writing image_comment_temp and
add a migration script to copy existing data into img_description_id.

Ic8efeddc will remove the reads from image_comment_temp and drop the
image_comment_temp table.

Bug: T188132
Change-Id: Iab5f521577a415b2dc213b517ee8a0dca4fdd0aa
2018-10-02 10:30:00 -04:00