r55185 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r55184‎ | r55185 | r55186 >
Date:14:36, 17 August 2009
Author:ialex
Status:deferred
Tags:
Comment:
* Updated AuthorProtect, Babel, CategoryOnUpload, Collection, ConfirmAccount, EditOwn, EditUser, ExternalData, FlaggedRevs, LocalisationUpdate, OggHandler, RT, SemanticForms, SemanticMediaWiki, TorBlock, Translate, Uniwiki - Generic Edit Page, WebChat and WikiAtHome extensions
Modified paths:
  • /trunk/extensions/Configure/CHANGELOG (modified) (history)
  • /trunk/extensions/Configure/Configure.settings-ext.txt (modified) (history)
  • /trunk/extensions/Configure/findSettings.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Configure/findSettings.php
@@ -60,30 +60,47 @@
6161 $ignoreList = array(
6262 # Core
6363 'wgTitle', 'wgArticle', 'wgContLang', 'wgLang', 'wgOut', 'wgParser', 'wgMessageCache',
 64+ 'wgVersion',
6465 # Extensions
6566 'wgAbuseFilterStyleVersion',
6667 'wgAdminLinksIP',
 68+ 'wgExtCategoryTests',
6769 'wgCategoryTreeUseCategoryTable', 'wgCategoryTreeVersion',
 70+ 'wgCategoryWatch',
6871 'wgCheckUserStyleVersion',
6972 'wgCaptcha', 'wgConfirmEditIP',
7073 'wgCitationCache', 'wgCitationCounter', 'wgCitationRunning',
7174 'wgCodeReviewStyleVersion',
 75+ 'wgCollectionVersion', 'wgCollectionStyleVersion',
7276 'wgCSS',
7377 'wgDeleteQueueStyleVersion',
 78+ 'wgDraftsStyleVersion',
 79+ 'edgIP', 'edgValues',
7480 'wgErrorHandlerErrors', 'wgErrorHandlerOutputDone',
7581 'wgFlaggedRevStyleVersion',
 82+ 'wgGoogleAdSenseCssLocation',
7683 'wgOggScriptVersion',
7784 'wgPFHookStub',
 85+ 'sdgIP', 'sdgScriptPath', 'sdgNamespaceIndex',
 86+ 'sfgIP', 'sfgScriptPath', 'sfgNamespaceIndex',
 87+ 'smwgIP', 'smwgScriptPath', 'smwgNamespaceIndex', 'smwgRAPPath', 'smwgSMWBetaCompatible',
 88+ 'srfgIP', 'srfgScriptPath',
7889 'wgUserBoardScripts', 'wgUserProfileDirectory', 'wgUserProfileScripts', 'wgUserRelationshipScripts',
7990 'wgTimelineSettings',
8091 'wgTitleBlacklist',
 92+ 'wgAutoCreateCategoryPagesObject',
 93+ 'wgSpecialRefactorVersion',
 94+ 'wgUniwikiFormatChangesObject',
 95+ 'wgGenericEditPageClass', 'wgSwitchMode',
 96+ 'wgWatchersAddCache',
 97+ 'wgWikiArticleFeedsParser', 'wgWikiFeedPresent',
8198 );
8299 foreach ( $exts as $ext ) {
83100 if( !$ext->isInstalled() ) continue; // must exist
84101 $file = file_get_contents( $ext->getFile() );
85102 $name = $ext->getName();
86103 $m = array();
87 - preg_match_all( '/\$([ew]g[A-Za-z0-9]+)\s*\=/', $file, $m );
 104+ preg_match_all( '/\$((wg|eg|edg|sdg|sfg|smwg|srfg|abc|ce[^n]|ub|whoiswatching|wminc)[A-Za-z0-9_]+)\s*\=/', $file, $m );
88105 $definedSettings = array_unique( $m[1] );
89106 $allSettings = array_keys( $ext->getSettings() );
90107
Index: trunk/extensions/Configure/CHANGELOG
@@ -4,6 +4,10 @@
55 0.14.11 - 16 August 2009
66 * (bug 19057) Added user name parameter to configure-viewconfig-line message
77 * (bug 19058) Added user name parameter to configure-old-summary message
 8+ * Updated AuthorProtect, Babel, CategoryOnUpload, Collection, ConfirmAccount,
 9+ EditOwn, EditUser, ExternalData, FlaggedRevs, LocalisationUpdate,
 10+ OggHandler, RT, SemanticForms, SemanticMediaWiki, TorBlock, Translate,
 11+ Uniwiki - Generic Edit Page, WebChat and WikiAtHome extensions.
812
913 0.14.10 - 15 August 2009
1014 Added support for ReplaceSet, RT, UploadBlacklist, UsageStatistics,
Index: trunk/extensions/Configure/Configure.settings-ext.txt
@@ -90,6 +90,7 @@
9191 url = http://www.mediawiki.org/wiki/Extension:Assert_Edit
9292
9393 AuthorProtect
 94+settings[] = wgAuthorProtectDelayRun: bool, wgAuthorProtectDoProtect: bool
9495 url = http://www.mediawiki.org/wiki/Extension:AuthorProtect
9596
9697 Autoincrement
@@ -97,8 +98,8 @@
9899
99100 Babel
100101 settings[] = wgBabelUseLevelZeroCategory: bool, wgBabelUseSimpleCategories: bool
101 -settings[] = wgBabelUseMainCategories: bool, wgLanguageCodesFiles: array
102 -array[] = wgLanguageCodesFiles: assoc
 102+settings[] = wgBabelUseMainCategories: bool, wgBabelLanguageCodesCdb: text
 103+settings[] = wgBabelLanguageNamesCdb: text
103104 url = http://www.mediawiki.org/wiki/Extension:Babel
104105
105106 BackAndForth
@@ -146,7 +147,6 @@
147148
148149 CategoryOnUpload
149150 settings[] = wgCategoryOnUploadAllowNone: bool
150 -settings[] = wgCategoryTreeAllowTag: bool, wgCategoryTreeDisableCache: bool
151151 settings[] = wgCategoryOnUploadDefault: text
152152 settings[] = wgCategoryOnUploadList: array
153153 empty[] = wgCategoryOnUploadDefault: null, wgCategoryOnUploadList: null
@@ -270,6 +270,8 @@
271271 settings[] = wgSubversionProxy: text, wgSubversionProxyTimeout: int
272272 settings[] = wgSubversionUser: text, wgSubversionPassword: text
273273 settings[] = wgCodeReviewImportBatchSize: int, wgWikiSVN: text
 274+settings[] = wgCodeReviewSharedSecret: text, wgSubversionOptions: text
 275+empty[] = wgCodeReviewSharedSecret: false
274276 schema = true
275277 url = http://www.mediawiki.org/wiki/Extension:CodeReview
276278
@@ -277,11 +279,13 @@
278280 settings[] = wgCollectionMWServeURL: text, wgCollectionMWServeCredentials: text
279281 settings[] = wgCollectionMWServeCert: text, wgCollectionArticleNamespaces: array
280282 settings[] = wgCommunityCollectionNamespace: int, wgCollectionMaxArticles: int
281 -settings[] = wgLicenseName: text, wgLicenseURL: text, wgPDFTemplateBlacklist: text
282 -settings[] = wgCollectionTemplateExclusionCategory: text, wgCollectionFormats: array
283 -settings[] = wgCollectionPortletForLoggedInUsersOnly: bool
 283+settings[] = wgCollectionLicenseName: text, wgCollectionLicenseURL: text
 284+settings[] = wgCollectionFormats: array, wgCollectionNavPopups: bool
 285+settings[] = wgCollectionPortletForLoggedInUsersOnly: bool, wgCollectionPortletFormats: array
284286 array[] = wgCollectionArticleNamespaces: ns-simple, wgCollectionFormats: assoc
285 -empty[] = wgCollectionMWServeCert: null, wgLicenseName: null, wgLicenseURL: null
 287+array[] = wgCollectionPortletFormats: simple
 288+empty[] = wgCollectionMWServeCert: null, wgCollectionLicenseName: null
 289+empty[] = wgCollectionLicenseURL: null
286290 url = http://www.mediawiki.org/wiki/Extension:Collection
287291
288292 Commentbox
@@ -315,9 +319,9 @@
316320 settings[] = wgConfirmAccountSortkey: array, wgConfirmAccountSaveInfo: bool
317321 settings[] = wgConfirmAccountContact: text, wgConfirmAccountCaptchas: bool
318322 settings[] = wgConfirmAccountNotice: bool, wgAllowAccountRequestFiles: bool
319 -settings[] = wgAccountRequestExts: array
 323+settings[] = wgAccountRequestExts: array, wgConfirmAccountFSRepos: array
320324 array[] = wgAccountRequestTypes: array, wgConfirmAccountSortkey: simple
321 -array[] = wgAccountRequestExts: simple
 325+array[] = wgAccountRequestExts: simple, wgConfirmAccountFSRepos: array
322326 settings-dependencies[] = wgEnableEmail: true
323327 schema = true
324328 url = http://www.mediawiki.org/wiki/Extension:ConfirmAccount
@@ -421,14 +425,15 @@
422426 url = http://www.mediawiki.org/wiki/Extension:Editcount
423427
424428 EditOwn
425 -settings[] = wgEditOwnExcludedNamespaces: array
426 -array[] = wgEditOwnExcludedNamespaces: ns-simple
 429+settings[] = wgEditOwnExcludedNamespaces: array, wgEditOwnActions: array
 430+array[] = wgEditOwnExcludedNamespaces: ns-simple, wgEditOwnActions: simple
427431 url = http://www.mediawiki.org/wiki/Extension:EditOwn
428432
429433 EditSubpages
430434 url = http://www.mediawiki.org/wiki/Extension:EditSubpages
431435
432436 EditUser
 437+settings[] = wgEditUserDebug: bool, wgEditUserDebugLog: text
433438 url = http://www.mediawiki.org/wiki/Extension:EditUser
434439
435440 ErrorHandler
@@ -441,8 +446,10 @@
442447 url = http://www.mediawiki.org/wiki/Extension:ExpandTemplates
443448
444449 ExternalData
445 -settings[] = edgStringReplacements: array
 450+settings[] = edgStringReplacements: array, edgCacheExpireTime: int
 451+settings[] = edgCacheTable: text
446452 array[] = edgStringReplacements: assoc
 453+empty[] = edgCacheTable: null
447454 url = http://www.mediawiki.org/wiki/Extension:External_Data
448455
449456 FileSearch
@@ -476,13 +483,11 @@
477484 settings[] = wgFlaggedRevsRestrictionLevels: array
478485 settings[] = wgFlaggedRevsStylePath: text
479486 settings[] = wgFlaggedRevsAutopromote: array
 487+settings[] = wgFlaggedRevsAutoconfirm: array
480488 settings[] = wgFlaggedRevsLogInRC: bool
481489 settings[] = wgFlaggedRevsOversightAge: int
482490 settings[] = wgFlaggedRevsVisible: array
483491 settings[] = wgFlaggedRevsTalkVisible: bool
484 -settings[] = wgFeedbackNamespaces: array
485 -settings[] = wgFlaggedRevsFeedbackTags: array
486 -settings[] = wgFlaggedRevsFeedbackAge: int
487492 settings[] = wgFlaggedRevsStatsAge: int
488493 settings[] = wgPHPlotDir: text
489494 settings[] = wgSvgGraphDir: text
@@ -496,9 +501,9 @@
497502 array[] = wgReviewCodes: simple
498503 array[] = wgFlaggedRevsRestrictionLevels: simple
499504 array[] = wgFlaggedRevsAutopromote: assoc
 505+array[] = wgFlaggedRevsAutoconfirm: assoc
500506 array[] = wgFlaggedRevsVisible: simple
501 -array[] = wgFeedbackNamespaces: ns-simple
502 -array[] = wgFlaggedRevsFeedbackTags: assoc
 507+empty[] = wgFlaggedRevsAutoconfirm: false
503508 schema = true
504509 url = http://www.mediawiki.org/wiki/Extension:FlaggedRevs
505510
@@ -559,6 +564,7 @@
560565
561566 LocalisationUpdate
562567 settings[] = wgLocalisationUpdateRetryAttempts: true
 568+settings[] = wgLocalisationUpdateSVNURL: text
563569 schema = true
564570 url = http://www.mediawiki.org/wiki/Extension:LocalisationUpdate
565571
@@ -584,7 +590,9 @@
585591
586592 OggHandler
587593 settings[] = wgPlayerStatsCollection: bool, wgFFmpegLocation: text
588 -settings[] = wgCortadoJarFile: text
 594+settings[] = wgCortadoJarFile: text, wgJs2VideoTagOut: bool
 595+settings[] = wgOggAudioTypes: array, wgOggVideoTypes: array
 596+array[] = wgOggAudioTypes: simple, wgOggVideoTypes: simple
589597 url = http://www.mediawiki.org/wiki/Extension:OggHandler
590598
591599 OnlineStatus
@@ -665,8 +673,8 @@
666674 settings[] = wgRequestTracker_TIMEFORMAT_NOW: text
667675 settings[] = wgRequestTracker_URL: text, wgRequestTracker_DBconn: text
668676 settings[] = wgRequestTracker_Cachepage: bool, wgRequestTracker_Useballoons: bool, wgRequestTracker_Active: bool
669 -settings[] = wgTitleBlacklistSources: array
670 -array[] = wgTitleBlacklistSources: assoc
 677+settings[] = wgRequestTracker_Formats: array
 678+array[] = wgRequestTracker_Formats: assoc
671679 url = http://www.mediawiki.org/wiki/Extension:RT
672680
673681 SemanticDrilldown
@@ -686,6 +694,7 @@
687695 settings[] = sfgRenameMainEditTab: bool
688696 settings[] = sfgListSeparator: text
689697 settings[] = sfgYUIBase: text
 698+settings[] = sfgUseFormEditPage: bool
690699 settings[] = sfg24HourTime: bool
691700 extensions-dependencies[] = SemanticMediaWiki
692701 url = http://www.mediawiki.org/wiki/Extension:Semantic_Forms
@@ -706,10 +715,12 @@
707716 settings[] = smwgTypePagingLimit: int
708717 settings[] = smwgConceptPagingLimit: int
709718 settings[] = smwgPropertyPagingLimit: int
 719+settings[] = smwgMaxPropertyValues: int
710720 settings[] = smwgQEnabled: bool
711721 settings[] = smwgQMaxLimit: int
712722 settings[] = smwgQSubcategoryDepth: int
713723 settings[] = smwgQSubpropertyDepth: int
 724+settings[] = smwgQEqualitySupport: { 0: none, 1: some, 2: full }
714725 settings[] = smwgQSortingSupport: bool
715726 settings[] = smwgQRandSortingSupport: bool
716727 settings[] = smwgQDefaultNamespaces: text
@@ -726,17 +737,24 @@
727738 settings[] = smwgQConceptFeatures: int
728739 settings[] = smwgQConceptCacheLifetime: int
729740 settings[] = smwgResultFormats: array
 741+settings[] = smwgQuerySources: array
730742 settings[] = smwgPDefaultType: text
731743 settings[] = smwgRSSEnabled: bool
732744 settings[] = smwgRSSWithPages: bool
733745 settings[] = smwgAllowRecursiveExport: bool
734746 settings[] = smwgExportBacklinks: bool
735747 settings[] = smwgOWLFullExport: bool
 748+settings[] = smwgNamespace: text
 749+settings[] = smwgMaxNonExpNumber: int
736750 settings[] = smwgEnableUpdateJobs: bool
737751 settings[] = smwgNamespacesWithSemanticLinks: array
 752+settings[] = smwgDefaultStore: text
 753+settings[] = smwgTranslate: bool
738754 settings[] = smwgAdminRefreshStore: bool
739755 array[] = smwgResultFormats: simple
 756+array[] = smwgQuerySources: assoc
740757 array[] = smwgNamespacesWithSemanticLinks: ns-text
 758+empty[] = smwgNamespace: null
741759 schema = true
742760 url = http://www.mediawiki.org/wiki/Extension:Semantic_MediaWiki
743761
@@ -791,7 +809,7 @@
792810 settings[] = wgTorBypassPermissions: array, wgTorLoadNodes: bool
793811 settings[] = wgTorAllowedActions: array, wgTorAutoConfirmAge: int
794812 settings[] = wgTorAutoConfirmCount: int, wgTorIPs: array
795 -settings[] = wgTorDisableAdminBlocks: bool
 813+settings[] = wgTorDisableAdminBlocks: bool, wgTorTagChanges: bool
796814 array[] = wgTorBypassPermissions: simple, wgTorAllowedActions: simple
797815 array[] = wgTorIPs: simple
798816 url = http://www.mediawiki.org/wiki/Extension:TorBlock
@@ -806,11 +824,15 @@
807825 settings[] = wgTranslateGroupStructure: array, wgTranslateAddMWExtensionGroups: bool
808826 settings[] = wgTranslateEC: array, wgTranslateCC: array, wgTranslateTasks: array
809827 settings[] = wgTranslatePHPlot: text, wgTranslatePHPlotFont: text
 828+settings[] = wgTranslateGroupRoot: text, wgTranslateGroupFiles: array
 829+settings[] = wgTranslateTM: array
810830 array[] = wgTranslateLanguageFallbacks: assoc, wgTranslateBlacklist: array
811831 array[] = wgTranslateMessageNamespaces: ns-simple, wgTranslateAuthorBlacklist: array
812832 array[] = wgTranslateAC: assoc, wgTranslateGroupStructure: array
813833 array[] = wgTranslateEC: simple, wgTranslateCC: assoc
814 -array[] = wgTranslateTasks: assoc
 834+array[] = wgTranslateTasks: assoc, wgTranslateGroupFiles: simple
 835+array[] = wgTranslateTM: assoc
 836+empty[] = wgTranslateTM: false
815837 url = http://www.mediawiki.org/wiki/Extension:Translate
816838
817839 Uniwiki - Authors
@@ -863,6 +885,7 @@
864886 settings[] = wgSuggestCategory: bool, wgUseCategoryPage: bool
865887 settings[] = wgRequireCategory: bool, wgAllowSimilarTitles: bool
866888 settings[] = wgSuggestCategoryRecipient: text, wgGenericEditPageWhiteList: array
 889+settings[] = wgAlwaysShowIntroSection: bool
867890 array[] = wgGenericEditPageWhiteList: ns-simple
868891 url = http://www.mediawiki.org/wiki/Extension:Uniwiki_Generic_Edit_Page
869892
@@ -927,7 +950,9 @@
928951 url = http://www.mediawiki.org/wiki/Extension:WatchSubpages
929952
930953 WebChat
931 -settings[] = wgWebChatServer: text, wgWebChatChannel: text, wgWebChatClient: text
 954+settings[] = wgWebChatServer: text, wgWebChatChannel: text
 955+settings[] = wgWebChatClient: text, wgWebChatClients: array
 956+array[] = wgWebChatClients: array
932957 url = http://www.mediawiki.org/wiki/Extension:WebChat
933958
934959 WhatIsMyIP
@@ -945,8 +970,11 @@
946971 url = http://www.mediawiki.org/wiki/Extension:WhosOnline
947972
948973 WikiAtHome
949 -settings[] = tmpExt: array
950 -array[] = tmpExt: simple
 974+settings[] = wgClientSearchInterval: int, wgEnabledDerivatives: array
 975+settings[] = wgJobTimeOut: int, wgJobTypeConfig: array
 976+settings[] = wgNumberOfClientsPerJobSet: int, wgOggCat: text
 977+settings[] = wgffmpeg2theora: text
 978+array[] = wgEnabledDerivatives: simple, wgJobTypeConfig: array
951979 schema = true
952980 extensions-dependencies[] = OggHandler
953981 url = http://www.mediawiki.org/wiki/Extension:WikiAtHome

Status & tagging log