X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Finstaller%2FInstaller.php;h=eafb9d4939d0012b79aaed1ff245379780dd8798;hb=bae9c5aca69c62ff8ae32956a082c0787cb06b73;hp=4d5aa7ad2285882455367e61d3119192780d1bf1;hpb=5baa49450c303cfd603063c77440a02c06003a03;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/installer/Installer.php b/includes/installer/Installer.php index 4d5aa7ad22..eafb9d4939 100644 --- a/includes/installer/Installer.php +++ b/includes/installer/Installer.php @@ -180,6 +180,7 @@ abstract class Installer { 'wgUseInstantCommons', 'wgUpgradeKey', 'wgDefaultSkin', + 'wgPingback', ]; /** @@ -293,10 +294,6 @@ abstract class Installer { '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', @@ -1440,10 +1437,10 @@ abstract class Installer { /** * 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. * @@ -1727,7 +1724,7 @@ abstract class Installer { * 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' ) {