<Krenair> hey RoanKattouw, do you remember why we have both foreachwikiindblist and mwscriptwikiset?
<RoanKattouw> Krenair: No, I don't know
<RoanKattouw> Krenair: foreachwikiindblist takes a newline-separated list of wikis in a text file, amybe mwscriptwikiset takes its list in some other form?
<Krenair> parameters are opposite ways around
<Krenair> foreachwikiindblist tries to read dblist from current directory
<Krenair> mwscriptwikiset forces them to be relative to $MEDIAWIKI_DEPLOYMENT_DIR, and makes Ctrl-C work
<RoanKattouw> Oh OK
<RoanKattouw> So it's a more useful version of foreachwikiindblist
<RoanKattouw> Then we should probably remove foreachwikiindblist and alias it to mwscriptwikiset
<Krenair> unless you have a dblist in the current directory you want to use
<Krenair> but <Krenair> parameters are opposite ways around
<Krenair> mwscriptwikiset scriptfile listfile vs. foreachwikiindblist listfile scriptfile
<RoanKattouw> You could reduce foreachwikiindblist to a wrapper script around mwscriptwikiset that just flips the arguments I suppose?
<RoanKattouw> But yeah you might also have dblists in your home dir or something
<Krenair> these are 4 or more years old - https://gerrit.wikimedia.org/r/559
See also T101213 - we probably want it to try to load from /srv/mediawiki-staging, then /srv/mediawiki, then the current directory before giving up?