r63996 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r63995‎ | r63996 | r63997 >
Date:14:15, 21 March 2010
Author:ialex
Status:deferred
Tags:
Comment:
* Removed $wgUseMetadataEdit, $wgMetadataWhitelist and $wgCheckDBSchema
* Added $wgGalleryOptions and $wgAllowUserCssPrefs
Modified paths:
  • /trunk/extensions/Configure/CHANGELOG (modified) (history)
  • /trunk/extensions/Configure/Configure.php (modified) (history)
  • /trunk/extensions/Configure/scripts/findSettings.php (modified) (history)
  • /trunk/extensions/Configure/settings/Settings-core.php (modified) (history)
  • /trunk/extensions/Configure/settings/Settings.i18n.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Configure/CHANGELOG
@@ -1,6 +1,10 @@
22 This file lists changes on this extension.
33 Localisation updates are done on betawiki and aren't listed here.
44
 5+0.15.16 - 21 March 2010
 6+ * Removed $wgUseMetadataEdit, $wgMetadataWhitelist and $wgCheckDBSchema
 7+ * Added $wgGalleryOptions and $wgAllowUserCssPrefs
 8+
59 0.15.15 - 17 March 2010
610 * Fixed scripts/findSettings.php to work with current version of MediaWiki.
711 * Updated CodeReview, ContactPage, FlaggedRevs and SemanticMediaWiki
Index: trunk/extensions/Configure/scripts/findSettings.php
@@ -172,4 +172,4 @@
173173 }
174174
175175 $maintClass = 'FindSettings';
176 -require_once( DO_MAINTENANCE );
\ No newline at end of file
 176+require_once( DO_MAINTENANCE );
Index: trunk/extensions/Configure/settings/Settings.i18n.php
@@ -15,7 +15,6 @@
1616 'configure-setting-wgActionPaths-key' => 'Action',
1717 'configure-setting-wgActionPaths-value' => 'URL template',
1818 'configure-setting-wgAllDBsAreLocalhost' => 'Silently rewrite all database connections to the local host',
19 - 'configure-setting-wgCheckDBSchema' => 'Check that the database is up to date every page view (deprecated)',
2019 'configure-setting-wgDBAvgStatusPoll' => 'Average time between SHOW STATUS queries in overload conditions',
2120 'configure-setting-wgDBerrorLog' => 'File to log database errors to',
2221 'configure-setting-wgDBname' => 'Name of the database to use',
@@ -70,6 +69,7 @@
7170 'configure-setting-wgExpensiveParserFunctionLimit' => 'Maximum number of calls per parse to expensive parser functions',
7271 'configure-setting-wgExternalLinkTarget' => 'Default target attribute for external links',
7372 'configure-setting-wgCleanSignatures' => 'Substitute templates in signatures',
 73+ 'configure-setting-wgGalleryOptions' => 'Default parameters for the <nowiki><gallery></nowiki> tag',
7474 'configure-setting-wgGrammarForms' => 'Grammar forms for GRAMMAR parser function',
7575 'configure-setting-wgLinkHolderBatchSize' => 'Batch size for LinkHolderArray',
7676 'configure-setting-wgMaxPPExpandDepth' => 'Stack depth limit for preprocessor template expansion',
@@ -116,7 +116,6 @@
117117 'configure-setting-wgLegalTitleChars' => 'Characters permitted in page titles (regex character class)',
118118 'configure-setting-wgMaxArticleSize' => 'Maximum page size (kB)',
119119 'configure-setting-wgMaxRedirects' => 'Maximum number of redirects to follow when resolving redirects',
120 - 'configure-setting-wgMetadataWhitelist' => 'Page containing allowed metadata templates',
121120 'configure-setting-wgNoFollowLinks' => 'Add rel="nofollow" to links',
122121 'configure-setting-wgNoFollowDomainExceptions' => 'External links to these domain names (or any subdomains) will not have the rel="nofollow" attribute',
123122 'configure-setting-wgPageShowWatchingUsers' => 'Show which users are watching a page',
@@ -127,7 +126,6 @@
128127 'configure-setting-wgUniversalEditButton' => 'Enable the Universal Edit Button',
129128 'configure-setting-wgUrlProtocols' => 'Permitted external link protocols',
130129 'configure-setting-wgUseExternalEditor' => 'Allow use of external editor',
131 - 'configure-setting-wgUseMetadataEdit' => 'Allow metadata editing',
132130 'configure-setting-wgAjaxLicensePreview' => 'Use AJAX to preview licensing for uploads',
133131 'configure-setting-wgAllowCopyUploads' => 'Allow uploads to be made by URL',
134132 'configure-setting-wgCheckFileExtensions' => 'Check file extensions',
@@ -372,6 +370,7 @@
373371 'configure-setting-wgAutoConfirmCount' => 'Autoconfirm edit count threshold',
374372 'configure-setting-wgAllowRealName' => 'Allow real names',
375373 'configure-setting-wgAllowUserSkin' => 'Allow users to change their skin',
 374+ 'configure-setting-wgAllowUserCssPrefs' => 'Allow user preferences implemented in CSS',
376375 'configure-setting-wgAutocreatePolicy' => 'When should local accounts be automatically created when external accounts already exist',
377376 'configure-setting-wgAllowPrefChange' => 'Policies for how each preference is allowed to be changed',
378377 'configure-setting-wgAllowPrefChange-key' => 'User preference',
Index: trunk/extensions/Configure/settings/Settings-core.php
@@ -38,8 +38,6 @@
3939 'wgUseAutomaticEditSummaries' => 'bool',
4040 'wgUseTagFilter' => 'bool',
4141 'wgUseTrackbacks' => 'bool',
42 - 'wgUseMetadataEdit' => 'bool',
43 - 'wgMetadataWhitelist' => 'text',
4442 ),
4543 'ajax' => array(
4644 'wgUseAjax' => 'bool',
@@ -169,7 +167,6 @@
170168 'db' => array(
171169 'db' => array(
172170 'wgAllDBsAreLocalhost' => 'bool',
173 - 'wgCheckDBSchema' => 'bool',
174171 'wgDBAvgStatusPoll' => 'int',
175172 # 'wgDBconnection' => 'text', # This setting is deprecated and has an uncertain history. Best not to let people change it.
176173 'wgDBerrorLog' => 'text',
@@ -553,6 +550,7 @@
554551 'wgExpensiveParserFunctionLimit' => 'int',
555552 'wgExternalLinkTarget' => 'text',
556553 'wgCleanSignatures' => 'bool',
 554+ 'wgGalleryOptions' => 'array',
557555 'wgGrammarForms' => 'array',
558556 'wgLinkHolderBatchSize' => 'int',
559557 'wgMaxPPExpandDepth' => 'int',
@@ -635,6 +633,7 @@
636634 'wgAutoConfirmCount' => 'int',
637635 'wgAllowRealName' => 'bool',
638636 'wgAllowUserSkin' => 'bool',
 637+ 'wgAllowUserCssPrefs' => 'bool',
639638 'wgDefaultUserOptions' => 'array',
640639 'wgDisableAnonTalk' => 'bool',
641640 'wgHiddenPrefs' => 'array',
@@ -885,6 +884,7 @@
886885 'wgSVGConverters' => 'assoc',
887886 'wgAntivirusSetup' => 'array',
888887 # Parser
 888+ 'wgGalleryOptions' => 'assoc',
889889 'wgGrammarForms' => 'array',
890890 'wgParserConf' => 'assoc',
891891 'wgParserTestFiles' => 'simple',
@@ -1032,7 +1032,6 @@
10331033 'wgVariantArticlePath',
10341034 # Db
10351035 'wgAllDBsAreLocalhost',
1036 - 'wgCheckDBSchema',
10371036 'wgDBAvgStatusPoll',
10381037 'wgDBClusterTimeout',
10391038 'wgDBerrorLog',
Index: trunk/extensions/Configure/Configure.php
@@ -17,7 +17,7 @@
1818 'author' => array( 'Alexandre Emsenhuber', 'Andrew Garrett' ),
1919 'url' => 'http://www.mediawiki.org/wiki/Extension:Configure',
2020 'descriptionmsg' => 'configure-desc',
21 - 'version' => '0.15.15',
 21+ 'version' => '0.15.16',
2222 );
2323
2424 # Configuration part

Follow-up revisions

RevisionCommit summaryAuthorDate
r63997Follow-up r63996: seems I forgot to add the settings hereialex14:18, 21 March 2010

Status & tagging log