Skip to content

Commit

Permalink
stop caching pages
Browse files Browse the repository at this point in the history
  • Loading branch information
omni committed Jan 17, 2018
1 parent 7491675 commit d0dd5e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions EventCalendar.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
// If your scripts need code from other modules, list their identifiers as dependencies
// and ResourceLoader will make sure they're loaded before you.
// You don't need to manually list 'mediawiki' or 'jquery', which are always loaded.
'dependencies' => array( 'jquery.ui.datepicker' ),
//'dependencies' => array( 'jquery.ui.datepicker' ),

// You need to declare the base path of the file paths in 'scripts' and 'styles'
'localBasePath' => __DIR__ . '/resources',
Expand All @@ -76,8 +76,8 @@
# Set to false to use the normal amount of page caching (most efficient),
# set to 0 to disable cache altogether (inefficient, but results will never
# be outdated)
$wgECMaxCacheTime = 60*60*24; // How long to cache pages in seconds

// $wgECMaxCacheTime = 60*60*24; // How long to cache pages in seconds
$wgECMaxCacheTime = 0;

$wgHooks['ParserFirstCallInit'][] = 'wfEventCalendar';
/**
Expand Down

0 comments on commit d0dd5e4

Please sign in to comment.