function WidgetCategoryCloudSkipRow($name) { /* TODO remove when cat_hidden is fixed */ if (in_array($name, Wikia::categoryCloudGetHiddenCategories())) { return true; } global $wgBiggestCategoriesBlacklist; if (in_array($name, $wgBiggestCategoriesBlacklist)) { return true; } /* FIXME don't read each time, cache in static var (or class method...) */ if (in_array($name, Wikia::categoryCloudMsgToArray("widget-categorycloud-blacklist-global"))) { return true; } if (in_array($name, Wikia::categoryCloudMsgToArray("widget-categorycloud-blacklist"))) { return true; } return false; }