r61213 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r61212‎ | r61213 | r61214 >
Date:20:32, 18 January 2010
Author:ialex
Status:deferred
Tags:
Comment:
* Added $wgFixArchaicUnicode, $wgAdvertisedFeedTypes, $wgCountTotalSearchHits, $wgEnableDnsBlacklist, $wgDnsBlacklistUrls and $wgExtensionAssetsPath
* Removed $wgWikiId, $wgSearchMySQLTotalHits, $wgEnableSorbs and $wgSorbsUrl
Modified paths:
  • /trunk/extensions/Configure/CHANGELOG (modified) (history)
  • /trunk/extensions/Configure/Configure.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,11 @@
22 This file lists changes on this extension.
33 Localisation updates are done on betawiki and aren't listed here.
44
 5+0.15.5 - 18 January 2010
 6+ * Added $wgFixArchaicUnicode, $wgAdvertisedFeedTypes, $wgCountTotalSearchHits,
 7+ $wgEnableDnsBlacklist, $wgDnsBlacklistUrls and $wgExtensionAssetsPath
 8+ * Removed $wgWikiId, $wgSearchMySQLTotalHits, $wgEnableSorbs and $wgSorbsUrl
 9+
510 0.15.4 - 16 January 2010
611 Updated scripts/findSettings.php's ignore list.
712
Index: trunk/extensions/Configure/settings/Settings.i18n.php
@@ -11,7 +11,6 @@
1212 $messages['en'] = array(
1313 'configure-setting-desc' => 'Descriptions for MediaWiki configuration settings', # Do not translate to other languages
1414 'configure-setting-wgSitename' => 'Site name',
15 - 'configure-setting-wgWikiId' => 'Unique identifier for this wiki (if empty, automatically generated with database settings)',
1615 'configure-setting-wgActionPaths' => 'Per-action URLs',
1716 'configure-setting-wgActionPaths-key' => 'Action',
1817 'configure-setting-wgActionPaths-value' => 'URL template',
@@ -232,6 +231,7 @@
233232 'configure-setting-wgDisableSearchUpdate' => 'Disable updates to search',
234233 'configure-setting-wgDisableTextSearch' => 'Disable full-text search',
235234 'configure-setting-wgEdititis' => 'Display user edit counts in various prominent places',
 235+ 'configure-setting-wgFixArchaicUnicode' => 'Clean up archaic Unicode sequences in Arabic and Malayalam text',
236236 'configure-setting-wgFixDoubleRedirects' => 'Fix double redirects after a page move',
237237 'configure-setting-wgInvalidRedirectTargets' => 'Array of invalid page redirect targets',
238238 'configure-setting-wgMaximumMovedPages' => 'Maximum number of pages to move at once when moving subpages with a page',
@@ -269,6 +269,7 @@
270270 'configure-setting-wgDisableInternalSearch' => 'Disable internal search',
271271 'configure-setting-wgExceptionHooks' => 'Hooks that are used for outputting exceptions',
272272 'configure-setting-wgExtensionAliasesFiles' => 'Aliases for special pages provided by extensions',
 273+ 'configure-setting-wgExtensionAssetsPath' => 'URL of the extensions directory',
273274 'configure-setting-wgExtensionCredits' => 'Global list of extension credits',
274275 'configure-setting-wgExtensionFunctions' => 'Extension Functions',
275276 'configure-setting-wgExtensionMessagesFiles' => 'Extension messages files',
@@ -296,6 +297,7 @@
297298 'configure-setting-wgRateLimitsExcludedGroups' => 'Groups which are exempt from rate limits',
298299 'configure-setting-wgRateLimitsExcludedIPs' => 'IP addresses which are exempt from rate limits',
299300 'configure-setting-wgFeed' => 'Enable syndication',
 301+ 'configure-setting-wgAdvertisedFeedTypes' => 'Feed types that should be provided by default',
300302 'configure-setting-wgFeedCacheTimeout' => "'Minimum' timeout in seconds for cached recent changes feed",
301303 'configure-setting-wgFeedDiffCutoff' => 'Feed diff size cutoff',
302304 'configure-setting-wgFeedLimit' => 'Maximum number of feed results',
@@ -309,7 +311,7 @@
310312 'configure-setting-wgSearchForwardUrl' => 'Forward search requests',
311313 'configure-setting-wgSearchEverythingOnlyLoggedIn' => 'Make the "searcheverything" preference effective only for logged-in users',
312314 'configure-setting-wgSearchHighlightBoundaries' => 'Regexp to match word boundaries',
313 - 'configure-setting-wgSearchMySQLTotalHits' => 'Let the MySQL search engine count total search matches to present in Special:Search',
 315+ 'configure-setting-wgCountTotalSearchHits' => 'Let the search engine count total search matches to present in Special:Search',
314316 'configure-setting-wgUseTwoButtonsSearchForm' => "Sidebar's search form behavior",
315317 'configure-setting-wgCountCategorizedImagesAsUsed' => 'On [[Special:UnusedImages]], consider files used if they are put into a category',
316318 'configure-setting-wgDisableCounters' => 'Disable page view counters',
@@ -406,14 +408,14 @@
407409 'configure-setting-wgLocalInterwiki' => 'Local interwiki prefix',
408410 'configure-setting-wgRedirectSources' => "Regular expression to restrict URLs which will be displayed as 'redirected from' links",
409411 'configure-setting-wgBlockOpenProxies' => 'Automatic open proxy test on edit',
410 - 'configure-setting-wgEnableSorbs' => 'Use [http://dnsbl.sorbs.net http.dnsbl.sorbs.net] to check for open proxies',
 412+ 'configure-setting-wgEnableDnsBlacklist' => 'Use DNS blacklists to check for open proxies',
411413 'configure-setting-wgProxyList' => 'Banned IP addresses',
412414 'configure-setting-wgProxyMemcExpiry' => 'Expiration for proxy cache',
413415 'configure-setting-wgProxyPorts' => 'Ports we want to scan for a proxy',
414416 'configure-setting-wgProxyScriptPath' => 'Script used to scan for proxies',
415417 'configure-setting-wgProxyWhitelist' => 'Proxy whitelist',
416418 'configure-setting-wgSecretKey' => 'Secret key',
417 - 'configure-setting-wgSorbsUrl' => 'URL to the Sorbs blacklist',
 419+ 'configure-setting-wgDnsBlacklistUrls' => 'List of DNS blacklists URL to use',
418420 'configure-setting-wgUsePrivateIPs' => "Use private IP addresses forwarded by a proxy server to determine a user's IP address",
419421 'configure-setting-wgSQLiteDataDir' => 'SQLite data directory',
420422 'configure-setting-wgDBmwschema' => 'Postgres schema',
Index: trunk/extensions/Configure/settings/Settings-core.php
@@ -21,7 +21,6 @@
2222 'wgBreakFrames' => 'bool',
2323 'wgSiteSupportPage' => 'text',
2424 'wgStyleVersion' => 'int',
25 - 'wgWikiId' => 'text',
2625 ),
2726 ),
2827 'features' => array(
@@ -31,6 +30,7 @@
3231 'wgPageShowWatchingUsers' => 'bool',
3332 'wgEdititis' => 'bool',
3433 'wgShowHostnames' => 'bool',
 34+ 'wgFixArchaicUnicode' => 'bool',
3535 'wgFixDoubleRedirects' => 'bool',
3636 'wgEnableAPI' => 'bool',
3737 'wgEnableWriteAPI' => 'bool',
@@ -672,6 +672,7 @@
673673 'feed' => array(
674674 'feed' => array(
675675 'wgFeed' => 'bool',
 676+ 'wgAdvertisedFeedTypes' => 'array',
676677 'wgFeedCacheTimeout' => 'int',
677678 'wgFeedDiffCutoff' => 'int',
678679 'wgFeedLimit' => 'int',
@@ -705,14 +706,13 @@
706707 'wgSearchForwardUrl' => 'text',
707708 'wgSearchEverythingOnlyLoggedIn' => 'bool',
708709 'wgSearchHighlightBoundaries' => 'text',
709 - 'wgSearchMySQLTotalHits' => 'bool',
 710+ 'wgCountTotalSearchHits' => 'bool',
710711 'wgUseTwoButtonsSearchForm' => 'bool',
711712 ),
712713 ),
713714 'proxy' => array(
714715 'proxy' => array(
715716 'wgBlockOpenProxies' => 'bool',
716 - 'wgEnableSorbs' => 'bool',
717717 # 'wgProxyKey' => 'text', # Deprecated
718718 'wgProxyList' => 'array',
719719 'wgProxyMemcExpiry' => 'int',
@@ -720,7 +720,8 @@
721721 'wgProxyScriptPath' => 'text',
722722 'wgProxyWhitelist' => 'array',
723723 'wgSecretKey' => 'text',
724 - 'wgSorbsUrl' => 'text',
 724+ 'wgEnableDnsBlacklist' => 'bool',
 725+ 'wgDnsBlacklistUrls' => 'text',
725726 ),
726727 ),
727728 'squid' => array(
@@ -759,6 +760,7 @@
760761 'wgAvailableRights' => 'array',
761762 'wgExceptionHooks' => 'array',
762763 'wgExtensionAliasesFiles' => 'array',
 764+ 'wgExtensionAssetsPath' => 'text',
763765 'wgExtensionCredits' => 'array',
764766 'wgExtensionFunctions' => 'array',
765767 'wgExtensionMessagesFiles' => 'array',
@@ -913,6 +915,8 @@
914916 # Cookie
915917 'wgCacheVaryCookies' => 'simple',
916918 'wgHttpOnlyBlacklist' => 'simple',
 919+# Feed
 920+ 'wgAdvertisedFeedTypes' => 'simple',
917921 # Job
918922 'wgJobClasses' => 'assoc',
919923 # Extensions
@@ -935,7 +939,6 @@
936940 * Value to be used when setting matches empty()
937941 */
938942 $emptyValues = array(
939 - 'wgWikiId' => false,
940943 'wgAppleTouchIcon' => false,
941944 'wgVariantArticlePath' => false,
942945 'wgDBerrorLog' => null,
Index: trunk/extensions/Configure/Configure.php
@@ -18,7 +18,7 @@
1919 'url' => 'http://www.mediawiki.org/wiki/Extension:Configure',
2020 'description' => 'Allow authorised users to configure the wiki via a web-based interface',
2121 'descriptionmsg' => 'configure-desc',
22 - 'version' => '0.15.4',
 22+ 'version' => '0.15.5',
2323 );
2424
2525 # Configuration part

Status & tagging log