protected $objectCaches = [
'xcache' => 'xcache_get',
'apc' => 'apc_fetch',
+ 'apcu' => 'apcu_fetch',
'wincache' => 'wincache_ucache_get'
];
'url' => 'https://creativecommons.org/publicdomain/zero/1.0/',
'icon' => '$wgResourceBasePath/resources/assets/licenses/cc-0.png',
],
- 'pd' => [
- 'url' => '',
- 'icon' => '$wgResourceBasePath/resources/assets/licenses/public-domain.png',
- ],
'gfdl' => [
'url' => 'https://www.gnu.org/copyleft/fdl.html',
'icon' => '$wgResourceBasePath/resources/assets/licenses/gnu-fdl.png',
/**
* Get an array of install steps. Should always be in the format of
- * array(
+ * [
* 'name' => 'someuniquename',
- * 'callback' => array( $obj, 'method' ),
- * )
+ * 'callback' => [ $obj, 'method' ],
+ * ]
* There must be a config-install-$name message defined per step, which will
* be shown on install.
*
* Add an installation step following the given step.
*
* @param callable $callback A valid installation callback array, in this form:
- * array( 'name' => 'some-unique-name', 'callback' => array( $obj, 'function' ) );
+ * [ 'name' => 'some-unique-name', 'callback' => [ $obj, 'function' ] ];
* @param string $findStep The step to find. Omit to put the step at the beginning
*/
public function addInstallStep( $callback, $findStep = 'BEGINNING' ) {