X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FDefaultSettings.php;h=9bff00480982d34d607cb30c4d8b3abf3a7772a7;hb=3f0056a252daa4e97396e0eb4b72651f33ce57b3;hp=f08f5b78597008c3aadaeb8c037051930c286344;hpb=75cffa0b998b300b4d79ab3d1e7f61857d32b1aa;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index f08f5b7859..9bff004809 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -193,6 +193,13 @@ $wgScript = false; */ $wgLoadScript = false; +/** + * The URL path to the REST API + * Defaults to "{$wgScriptPath}/rest.php" + * @since 1.34 + */ +$wgRestPath = false; + /** * The URL path of the skins directory. * Defaults to "{$wgResourceBasePath}/skins". @@ -5720,6 +5727,10 @@ $wgRateLimits = [ 'newbie' => [ 5, 86400 ], 'user' => [ 20, 86400 ], ], + 'changeemail' => [ + 'ip-all' => [ 10, 3600 ], + 'user' => [ 4, 86400 ] + ], // Purging pages 'purge' => [ 'ip' => [ 30, 60 ], @@ -8077,10 +8088,10 @@ $wgExemptFromUserRobotsControl = null; /** @} */ # End robot policy } /************************************************************************//** - * @name AJAX and API + * @name AJAX, Action API and REST API * Note: The AJAX entry point which this section refers to is gradually being - * replaced by the API entry point, api.php. They are essentially equivalent. - * Both of them are used for dynamic client-side features, via XHR. + * replaced by the Action API entry point, api.php. They are essentially + * equivalent. Both of them are used for dynamic client-side features, via XHR. * @{ */