Page MenuHomePhabricator

foreachwikiindblist to run scripts on all wikis matching a dblist expression
Closed, ResolvedPublic

Event Timeline

Mattflaschen-WMF raised the priority of this task from to Needs Triage.
Mattflaschen-WMF updated the task description. (Show Details)
chasemp triaged this task as Medium priority.Jun 3 2015, 5:26 PM
chasemp set Security to None.

I've been thinking about Ori's dblist expressions here - what if we gave foreachwiki a parameter that would limit it to wikis matching such an expression?

That sounds like a good solution to me. We could just use e.g.:

all.dblist - echodisabled.dblist

Should probably fix that code to work with these dblists first though:

all-labs.dblist
gettingstarted-with-category-suggestions.dblist
visualeditor-default.dblist

Change 232675 had a related patch set uploaded (by Alex Monk):
Make foreachwiki accept dblist expressions

https://gerrit.wikimedia.org/r/232675

Krenair renamed this task from foreachwikiexceptdblist to run scripts on all but a blacklist of wikis to foreachwikiindblist to run scripts on all wikis matching a dblist expression.Sep 5 2015, 10:31 PM
Krenair updated the task description. (Show Details)

Change 232675 merged by Yuvipanda:
Make foreachwikiindblist accept dblist expressions

https://gerrit.wikimedia.org/r/232675

Syntax: foreachwikiindblist "all.dblist - excludethis.dblist" script.php