コード例 #1
0
ファイル: DefaultSettings.php プロジェクト: Tjorriemorrie/app
 * Authentication plugin.
 * @var $wgAuth AuthPlugin
 */
$wgAuth = null;
/**
 * Global list of hooks.
 * Add a hook by doing:
 *     $wgHooks['event_name'][] = $function;
 * or:
 *     $wgHooks['event_name'][] = array($function, $data);
 * or:
 *     $wgHooks['event_name'][] = array($object, 'method');
 */
// Wikia change - begin - @author: wladek
//$wgHooks = array();
$wgHooks =& Hooks::getHandlersArray();
// Wikia change - end
/**
 * Maps jobs to their handling classes; extensions
 * can add to this to provide custom jobs
 */
$wgJobClasses = array('fixDoubleRedirect' => 'DoubleRedirectJob');
/**
 * Jobs that must be explicitly requested, i.e. aren't run by job runners unless special flags are set.
 *
 * These can be:
 * - Very long-running jobs.
 * - Jobs that you would never want to run as part of a page rendering request.
 * - Jobs that you want to run on specialized machines ( like transcoding, or a particular
 *   machine on your cluster has 'outside' web access you could restrict uploadFromUrl )
 */