forked from ProfessionalWiki/SubPageList
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSubPageList.settings.php
More file actions
29 lines (23 loc) · 924 Bytes
/
SubPageList.settings.php
File metadata and controls
29 lines (23 loc) · 924 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php
/**
* File defining the settings for the SubPageList extension.
* More info can be found at
* https://github.com/wikimedia/mediawiki-extensions-SubPageList/blob/master/doc/CONFIGURATION.md
*
* NOTICE:
* Changing one of these settings can be done by copying or cutting it,
* and placing it in LocalSettings.php, AFTER the inclusion of SubPageList.
*
* @licence GNU GPL v2+
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
if ( !defined( 'MEDIAWIKI' ) ) {
die( 'Not an entry point.' );
}
call_user_func( function() {
global $egSPLAutorefresh;
// Automatically invalidate the cache of "base pages" when creating, moving or deleting a subpage?
// This covers most cases where people expect automatic refresh of the sub page list.
// However note that this will not update lists displaying subpages from pages different then themselves.
$egSPLAutorefresh = false;
} );