Add PagesWithProp special page and API module
[lhc/web/wiklou.git] / includes / DefaultSettings.php
index 173f31e..731c1a1 100644 (file)
@@ -473,7 +473,9 @@ $wgFileBackends = array();
  * Each backend configuration has the following parameters:
  *  - 'name'        : A unique name for the lock manager
  *  - 'class'       : The lock manger class to use
- * Additional parameters are specific to the class used.
+ *
+ * See LockManager::__construct() for more details.
+ * Additional parameters are specific to the lock manager class used.
  * These settings should be global to all wikis.
  */
 $wgLockManagers = array();
@@ -5536,6 +5538,14 @@ $wgJobTypeConf = array(
        'default' => array( 'class' => 'JobQueueDB', 'order' => 'random' ),
 );
 
+/**
+ * Which aggregator to use for tracking which queues have jobs.
+ * These settings should be global to all wikis.
+ */
+$wgJobQueueAggregator = array(
+       'class' => 'JobQueueAggregatorMemc'
+);
+
 /**
  * Additional functions to be performed with updateSpecialPages.
  * Expensive Querypages are already updated.
@@ -5869,6 +5879,7 @@ $wgSpecialPageGroups = array(
        'Listredirects' => 'pages',
        'Categories' => 'pages',
        'Disambiguations' => 'pages',
+       'PagesWithProp' => 'pages',
 
        'Randompage' => 'redirects',
        'Randomredirect' => 'redirects',
@@ -6205,7 +6216,7 @@ $wgMaxShellTime = 180;
 $wgMaxShellWallClockTime = 180;
 
 /**
- * Under Linux: a cgroup directory used to constrain memory usage of shell 
+ * Under Linux: a cgroup directory used to constrain memory usage of shell
  * commands. The directory must be writable by the user which runs MediaWiki.
  *
  * If specified, this is used instead of ulimit, which is inaccurate, and
@@ -6213,7 +6224,7 @@ $wgMaxShellWallClockTime = 180;
  * them segfault or deadlock.
  *
  * A wrapper script will create a cgroup for each shell command that runs, as
- * a subgroup of the specified cgroup. If the memory limit is exceeded, the 
+ * a subgroup of the specified cgroup. If the memory limit is exceeded, the
  * kernel will send a SIGKILL signal to a process in the subgroup.
  *
  * @par Example:
@@ -6223,7 +6234,7 @@ $wgMaxShellWallClockTime = 180;
  *    echo '$wgShellCgroup = "/sys/fs/cgroup/memory/mediawiki/job";' >> LocalSettings.php
  * @endcode
  *
- * The reliability of cgroup cleanup can be improved by installing a 
+ * The reliability of cgroup cleanup can be improved by installing a
  * notify_on_release script in the root cgroup, see e.g.
  * https://gerrit.wikimedia.org/r/#/c/40784
  */