Last modified: 2014-05-27 21:37:44 UTC
siteFromDB returns 'wikipedia' for actual Wikipedias, but also for many that are not (e.g. Commons, Meta, and Foundation). There is a workaround for this, only for Commons. We should filter them out. In the meantime, we need to deal with this somehow when enabling on non-Wikipedias with DB names ending in 'wiki'.
Can't you just disable it for "special"? https://noc.wikimedia.org/conf/highlight.php?file=special.dblist
Thanks, Nemo. That looks promising: https://git.wikimedia.org/blob/operations%2Fmediawiki-config/b8769756f14e820d84e3c42654ebb8eda95f610f/refresh-dblist#L45