From 5a3316f38305abc06780a6ae900c90f1e4fb9d92 Mon Sep 17 00:00:00 2001 From: robin Date: Fri, 31 Aug 2012 19:23:38 +0200 Subject: [PATCH] Add @since to new variables, fix variable name Add @since 1.20 to new configuration variables and fix variable name wgLocalTimezone -> wgLocaltimezone (New variables per https://www.mediawiki.org/wiki/Category:MediaWiki_configuration_settings_1.20.0 ) Change-Id: I97f373e9760f5b4966ae064965ec6cfd8dff2498 --- RELEASE-NOTES-1.20 | 2 +- includes/DefaultSettings.php | 16 +++++++++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/RELEASE-NOTES-1.20 b/RELEASE-NOTES-1.20 index adc6a58fc3..92b4c16ce7 100644 --- a/RELEASE-NOTES-1.20 +++ b/RELEASE-NOTES-1.20 @@ -24,7 +24,7 @@ upgrade PHP if you have not done so prior to upgrading MediaWiki. This only affects installations which have $wgAllowCopyUploads set to true. * Removed f-prot support from $wgAntivirusSetup. * New variable $wgDBerrorLogTZ to provide dates in the error log in a - different timezone than the wiki timezone set by $wgLocalTimezone. + different timezone than the wiki timezone set by $wgLocaltimezone. * New variables $wgDBssl and $wgDBcompress to enable SSL and compression for database connections, if either are available for the selected DB type. diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 14953baa5f..6aa15be9e4 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -523,6 +523,8 @@ $wgAllowAsyncCopyUploads = false; /** * A list of domains copy uploads can come from + * + * @since 1.20 */ $wgCopyUploadsDomains = array(); @@ -1447,7 +1449,7 @@ $wgDBerrorLog = false; /** * Timezone to use in the error log. - * Defaults to the wiki timezone ($wgLocalTimezone). + * Defaults to the wiki timezone ($wgLocaltimezone). * * A list of useable timezones can found at: * http://php.net/manual/en/timezones.php @@ -1694,6 +1696,8 @@ $wgSessionCacheType = CACHE_ANYTHING; * which are used when parsing certain text and interface messages. * * For available types see $wgMainCacheType. + * + * @since 1.20 */ $wgLanguageConverterCacheType = CACHE_ANYTHING; @@ -2044,6 +2048,8 @@ $wgMaxSquidPurgeTitles = 400; * ); * @endcode * + * @since 1.20 + * * @see $wgHTCPMulticastTTL */ $wgHTCPMulticastRouting = array(); @@ -2750,6 +2756,8 @@ $wgSend404Code = true; * The $wgShowRollbackEditCount variable is used to show how many edits will be * rollback. The numeric value of the varible are the limit up to are counted. * If the value is false or 0, the edits are not counted. + * + * @since 1.20 */ $wgShowRollbackEditCount = 10; @@ -4387,6 +4395,8 @@ $wgDebugComments = false; /** * Extensive database transaction state debugging + * + * @since 1.20 */ $wgDebugDBTransactions = false; @@ -4904,6 +4914,8 @@ $wgUpgradeKey = false; * The value is the replacement for the key (it can contain $1, etc.) * %h will be replaced by the short SHA-1 (7 first chars) and %H by the * full SHA-1 of the HEAD revision. + * + * @since 1.20 */ $wgGitRepositoryViewers = array( 'https://gerrit.wikimedia.org/r/p/(.*)' => 'https://gerrit.wikimedia.org/r/gitweb?p=$1;h=%H', @@ -6203,6 +6215,8 @@ $wgDBtestpassword = ''; /** * Whether the user must enter their password to change their e-mail address + * + * @since 1.20 */ $wgRequirePasswordforEmailChange = true; -- 2.20.1