Exemple #1
0
 /**
  * Wikia Setup.php
  *
  * @author      MoLi
  */
 public static function setupAfterCache()
 {
     global $wgTTCache;
     $wgTTCache = wfGetSolidCacheStorage();
     return true;
 }
Exemple #2
0
 /**
  * Wikia Setup.php
  *
  * @author      MoLi
  */
 public static function setupAfterCache()
 {
     global $wgTTCache;
     $wgTTCache = wfGetSolidCacheStorage();
     # setup externalAuth
     global $wgExternalAuthType, $wgAutocreatePolicy;
     if ($wgExternalAuthType == 'ExternalUser_Wikia') {
         $wgAutocreatePolicy = 'view';
     }
     return true;
 }