public function onWikiaAssetsPackages(&$out, &$jsPackages, &$scssPackages)
 {
     if (HubService::isCurrentPageAWikiaHub()) {
         $jsPackages[] = 'wikia/WikiaHubs/js/WikiaHubs.js';
         $jsPackages[] = 'wikia/ImageLightbox/ImageLightbox.js';
         $scssPackages[] = 'wikia/WikiaHubs/css/WikiaHubs.scss';
     }
     return true;
 }
 /**
  * @desc Template for wrapper containing Weebo / Admin Toolbar
  */
 public function index()
 {
     if ($this->isWikiaBarSuppressed()) {
         $this->wgSuppressWikiaBar = true;
         OasisController::addBodyClass('nowikiabar');
     }
     $this->lang = F::app()->wg->contLang->getCode();
     if (HubService::isCurrentPageAWikiaHub()) {
         $this->vertical = HubService::getCategoryInfoForCurrentPage()->cat_id;
     } else {
         $this->vertical = HubService::getCategoryInfoForCity(F::app()->wg->cityId)->cat_id;
     }
 }
 /**
  * Check if page is Wikia hub page, for example http://www.wikia.com/Video_games
  *
  * @return bool
  */
 public static function isWikiaHub()
 {
     return HubService::isCurrentPageAWikiaHub();
 }