X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=includes%2FDefaultSettings.php;h=82dbecfadafc6cd6ba75a61fd71efba0a9094b01;hb=c6ad2554f40f8ebbe9e38ac64ea933076f348729;hp=fa95633ffdb10cc040c4dbe5c1b32d392cc1d300;hpb=f23894eb7e3295344452bb921721b4d7b9b1e656;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index fa95633ffd..82dbecfada 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -2999,8 +2999,11 @@ $wgExtraLanguageNames = []; * @since 1.29 */ $wgExtraLanguageCodes = [ + // Language codes of macro languages, which get mapped to the main language 'bh' => 'bho', // Bihari language family 'no' => 'nb', // Norwegian language family + + // Language variants which get mapped to the main language 'simple' => 'en', // Simple English ]; @@ -3019,6 +3022,8 @@ $wgDummyLanguageCodes = []; * * Note that pages with titles containing presentation forms will become * inaccessible, run maintenance/cleanupTitles.php to fix this. + * + * @deprecated since 1.33: in the future will always be true. */ $wgFixArabicUnicode = true; @@ -3030,6 +3035,8 @@ $wgFixArabicUnicode = true; * * If you enable this on an existing wiki, run maintenance/cleanupTitles.php to * fix any ZWJ sequences in existing page titles. + * + * @deprecated since 1.33: in the future will always be true. */ $wgFixMalayalamUnicode = true; @@ -4238,8 +4245,10 @@ $wgAllowExternalImagesFrom = ''; * * Set this to true to enable the on-wiki whitelist (MediaWiki:External image whitelist) * Or false to disable it + * + * @since 1.14 */ -$wgEnableImageWhitelist = true; +$wgEnableImageWhitelist = false; /** * A different approach to the above: simply allow the "" tag to be used. @@ -4564,10 +4573,6 @@ $wgAuthManagerConfig = null; */ $wgAuthManagerAutoConfig = [ 'preauth' => [ - MediaWiki\Auth\LegacyHookPreAuthenticationProvider::class => [ - 'class' => MediaWiki\Auth\LegacyHookPreAuthenticationProvider::class, - 'sort' => 0, - ], MediaWiki\Auth\ThrottlePreAuthenticationProvider::class => [ 'class' => MediaWiki\Auth\ThrottlePreAuthenticationProvider::class, 'sort' => 0, @@ -4884,7 +4889,6 @@ $wgDefaultUserOptions = [ 'rows' => 25, // @deprecated since 1.29 No longer used in core 'showhiddencats' => 0, 'shownumberswatching' => 1, - 'showtoolbar' => 1, 'skin' => false, 'stubthreshold' => 0, 'thumbsize' => 5, @@ -9024,6 +9028,16 @@ $wgChangeTagsSchemaMigrationStage = MIGRATION_WRITE_BOTH; */ $wgTagStatisticsNewTable = false; +/** + * Flag to enable Partial Blocks. This allows an admin to prevent a user from editing specific pages + * or namespaces. + * + * @since 1.32 + * @deprecated 1.32 + * @var bool + */ +$wgEnablePartialBlocks = false; + /** * For really cool vim folding this needs to be at the end: * vim: foldmarker=@{,@} foldmethod=marker