From ce4ac0726e9856e531226c5501aab70303c0bcde Mon Sep 17 00:00:00 2001 From: RhinosF1 Date: Sat, 12 Jun 2021 20:45:40 +0100 Subject: [PATCH] Update config for 1.36 (#3824) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update ManageWikiExtensions.php * Create LocalSettings.php * Update LocalSettings.php * Update LocalExtensions.php * Update extension-list * Update LocalSettings.php * Update LocalExtensions.php * Update extension-list * Update extension-list * Update LocalExtensions.php * Update extension-list * Update ManageWikiExtensions.php * Update LocalExtensions.php * Update extension-list * Update ManageWikiExtensions.php * T7117: Update SQLs to 1.36; convert to ExtensionRegistry where possible with REL1_36 (#3823) * Update ManageWikiExtensions.php * Create LocalSettings.php * Update LocalSettings.php * Update LocalExtensions.php * Update extension-list * Update LocalSettings.php * Update LocalExtensions.php * Update extension-list * Update extension-list * Update LocalExtensions.php * Update extension-list * Update ManageWikiExtensions.php * Update LocalExtensions.php * Update extension-list * Update ManageWikiExtensions.php * LS: remove gone FR stuff * Update wgGalleryOptions for a wiki Requested to me personally via Discord. * Fix * Fix * Convert more extensions to ExtensionRegistry (#3842) * Convert many more extensions to ExtensionRegistry Per my own now-merged upstream patches and backports to REL1_36 branches. * Update extension-list * Convert LanguageSelector and CategorySortHeaders to ExtensionRegistry (#3843) * Convert LanguageSelector to ExtensionRegistry * Update extension-list * Update LocalExtensions.php * Update extension-list * Update REL1_36 from master (#3891) * Add extendedconfirmedprotected restriction level to famepediawiki (#3837) * Add extendedconfirmedprotected restriction level to famepediawiki Per request (https://meta.miraheze.org/w/index.php?diff=171784&oldid=171783&rcid=614715) * Fix typo * Convert SimpleTooltip to use ExtensionRegistry (#3839) * Convert SimpleTooltip to use ExtensionRegistry * Update extension-list * Revert "Convert SimpleTooltip to use ExtensionRegistry (#3839)" (#3840) This reverts commit d2951ce7d98e15fb1bf636fb4125467d72ce4bca. * Add editextendedconfirmedprotected restrict. level to documentcontrolwiki (#3838) * Add editextendedconfirmedprotected restriction level to documentcontrolwiki Per request (https://meta.miraheze.org/w/index.php?diff=171790&oldid=171789&rcid=614721) * Remove + Maybe this is the `+` @joritochip meant? I do see the other wikis don't have the `+` sign for this variable, but I'm not quite sure why * Add 'editextendedconfirmedprotected', to line 3598 * Fix tab * Add PageAssessments extension #T7180 (#3847) * Add PageAssessments to LocalExtensions.php * Add PageAssessments to LocalSettings.php * Add PageAssessments to extension-list * Add PageAssessments to ManageWikiExtensions.php * Add missed comma * Fix, I think * Update paths to SQL database tables Per https://github.com/wikimedia/mediawiki-extensions-PageAssessments/tree/master/db and @Reception123. I assume we don't need to change `'sql' =>` to `'db' =>`, of course, though? * Revert "Revert "Convert SimpleTooltip to use ExtensionRegistry (#3839)" (#3840)" (#3848) This reverts commit 7c0ceaeb689dc6f65495efa131a73525c38a53ae. * test MF setting for T7165 (#3851) * switch SimpleBlogPage to use wfLoad * switch FancyBoxThumbs to use wfLoad * rv FancyBoxThumbs change * Update SimpleBlogPage config (#3849) * Update SimpleBlogPage config * Update LocalExtensions.php * Update extension-list * extension.json for FancyBoxThumbs * use wfLoad for FancyBoxThumbs * Remove Validator (#3850) * Remove Validator * Update extension-list * Update LocalSettings.php * Update ManageWikiExtensions.php * ScratchBlocks -> ScratchBlocks4 (#3855) * ScratchBlocks -> ScratchBlocks4 * single quote * Convert AutoCreatePage to ExtensionRegistry (#3852) * Convert AutoCreatePage to ExtensionRegistry * Update extension-list * Update LocalExtensions.php * set wgCentralAuthGlobalPasswordPolicies for sensitive global groups (… (#3856) * set wgCentralAuthGlobalPasswordPolicies for sensitive global groups (steward+sysadmin) * fix * fix * syntax * rm 'default' group from wgCentralAuthGlobalPasswordPolicies * set usenewrc to 0 for bioencyclopediawiki per T7198 (#3857) * Fix category collation for CategorySortHeaders (#3844) * disable APIquery for wikiconfig * Re-enable ManageWiki API (#3860) Reverts 71ea281a1b3fa66f15f79756cee1c74c8ba39190 * Add Sitenotice about Security Incident (#3859) * Update Sitenotice.php * Update Sitenotice.php * Update Sitenotice.php * Fix typo and correct grammar (#3861) * Change html attributes to prevent Google crawling sitenotice (#3862) This ensures Google does not use the sitenotice as a snippet for their search result for Miraheze wikis who has not set one via extensions.[1] Please ensure all future sitenotices and central- notices has this value. [1]: https://phabricator.miraheze.org/F1430638 Cf. https://revi.kr/6bFF Signed-off-by: Yongmin Hong * Remove wgMFSiteStylesRenderBlocking (#3866) This was for now-completed testing and should be removed. * Use Special:MyLanguage links where possible (#3863) * Use Special:MyLanguage links where possible * Remove unneeded Special:MyLanguage links from Tech: namespace pages Co-authored-by: Doug Mehus <39928941+dmehus@users.noreply.github.com> * Fix case (#3864) One more fix to this sitenotice. The other thing I was wondering if for `Special:ManageWiki/settings`, I'm wondering if we could make that into a link with `Special:ManageWiki/settings? I just never know if we need a `+` before and/or after the `$wgServer` variable? * Remove managewiki backups temporarily. * re-enable managewiki backups (#3867) * Disable Wikibase entity search UI by default (#3853) * Disable Wikibase entity search UI by default * Disable Wikibase entity search UI by default * add more file formats to wgFileExtensions (#3846) * wgCosmosEnabledRailModules setting for malwiki T7219 (#3868) * email notifications on privileged actions configuration T7197 (#3869) * email notifications on privileged actions configuration T7197 * fix wgconf end * array for watched-person group * default=>meta * change email notifs for group instead of right (#3870) * change email notifs for group instead of right * fix and configure for T&S * Fix indentation for wgMirahezeMagicLogEmailConditions * Remove John’s access to staffwiki (#3871) * Fix configuration for Logstash formatter * Update and elaborate help message for wgWordmark (#3875) * add T&S to higher password requirements (#3876) * remove webhook sitenotice (#3874) * Configured "HighlightLinksInCategory" Extension for my wiki (#3879) * Add edittemplateprotected restriction level to documentcontrolwiki/famepediawiki (#3880) Per request (https://meta.miraheze.org/w/index.php?title=Community_noticeboard/Archive_18&oldid=174937#Permission_Help) * Add protection levels to naasgamelandwiki (#3881) `editarchiveprotected` and `editofficialprotected` per request (https://meta.miraheze.org/w/index.php?title=Community_noticeboard&oldid=174936#Protection) * Add protection levels to memeswiki (#3882) [#7258](https://phabricator.miraheze.org/T7258) * remove watched-person right; unused (#3883) * Add Wikidata as an import source for snapwikiwiki (#3877) * blacklist some rights in managewiki for * T7257 (#3886) * blacklist some rights in managewiki for * T7257 * move oathauth-enable to any as it shouldn't be disallowed anyway * Update LocalSettings.php * add db server recorder for logging (T7248) (#3885) * add db server recorder for logging (T7248) Could be wrong * syntax * more syntax * more syntax * replace to c1 per paladox * add permissions to * required for confirming email * fix * add myself back to staffwiki (#3888) Co-authored-by: Doug Mehus <39928941+dmehus@users.noreply.github.com> Co-authored-by: Reception123 Co-authored-by: RhinosF1 Co-authored-by: Yongmin Hong Co-authored-by: paladox Co-authored-by: R4356th <61620631+R4356th@users.noreply.github.com> Co-authored-by: MacFan4000 Co-authored-by: Ferran Tufan Co-authored-by: NJ Holder <70276371+Njsmooth@users.noreply.github.com> Co-authored-by: The-Voidwalker * Merge 'master' into REL1_36 (#3845) * Add extendedconfirmedprotected restriction level to famepediawiki (#3837) * Add extendedconfirmedprotected restriction level to famepediawiki Per request (https://meta.miraheze.org/w/index.php?diff=171784&oldid=171783&rcid=614715) * Fix typo * Convert SimpleTooltip to use ExtensionRegistry (#3839) * Convert SimpleTooltip to use ExtensionRegistry * Update extension-list * Revert "Convert SimpleTooltip to use ExtensionRegistry (#3839)" (#3840) This reverts commit d2951ce7d98e15fb1bf636fb4125467d72ce4bca. * Add editextendedconfirmedprotected restrict. level to documentcontrolwiki (#3838) * Add editextendedconfirmedprotected restriction level to documentcontrolwiki Per request (https://meta.miraheze.org/w/index.php?diff=171790&oldid=171789&rcid=614721) * Remove + Maybe this is the `+` @joritochip meant? I do see the other wikis don't have the `+` sign for this variable, but I'm not quite sure why * Add 'editextendedconfirmedprotected', to line 3598 * Fix tab * Add PageAssessments extension #T7180 (#3847) * Add PageAssessments to LocalExtensions.php * Add PageAssessments to LocalSettings.php * Add PageAssessments to extension-list * Add PageAssessments to ManageWikiExtensions.php * Add missed comma * Fix, I think * Update paths to SQL database tables Per https://github.com/wikimedia/mediawiki-extensions-PageAssessments/tree/master/db and @Reception123. I assume we don't need to change `'sql' =>` to `'db' =>`, of course, though? * Revert "Revert "Convert SimpleTooltip to use ExtensionRegistry (#3839)" (#3840)" (#3848) This reverts commit 7c0ceaeb689dc6f65495efa131a73525c38a53ae. * test MF setting for T7165 (#3851) * switch SimpleBlogPage to use wfLoad * switch FancyBoxThumbs to use wfLoad * rv FancyBoxThumbs change * Update SimpleBlogPage config (#3849) * Update SimpleBlogPage config * Update LocalExtensions.php * Update extension-list * extension.json for FancyBoxThumbs * use wfLoad for FancyBoxThumbs * Remove Validator (#3850) * Remove Validator * Update extension-list * Update LocalSettings.php * Update ManageWikiExtensions.php * ScratchBlocks -> ScratchBlocks4 (#3855) * ScratchBlocks -> ScratchBlocks4 * single quote * Convert AutoCreatePage to ExtensionRegistry (#3852) * Convert AutoCreatePage to ExtensionRegistry * Update extension-list * Update LocalExtensions.php * set wgCentralAuthGlobalPasswordPolicies for sensitive global groups (… (#3856) * set wgCentralAuthGlobalPasswordPolicies for sensitive global groups (steward+sysadmin) * fix * fix * syntax * rm 'default' group from wgCentralAuthGlobalPasswordPolicies * set usenewrc to 0 for bioencyclopediawiki per T7198 (#3857) * Fix category collation for CategorySortHeaders (#3844) * disable APIquery for wikiconfig * Re-enable ManageWiki API (#3860) Reverts 71ea281a1b3fa66f15f79756cee1c74c8ba39190 * Add Sitenotice about Security Incident (#3859) * Update Sitenotice.php * Update Sitenotice.php * Update Sitenotice.php * Fix typo and correct grammar (#3861) * Change html attributes to prevent Google crawling sitenotice (#3862) This ensures Google does not use the sitenotice as a snippet for their search result for Miraheze wikis who has not set one via extensions.[1] Please ensure all future sitenotices and central- notices has this value. [1]: https://phabricator.miraheze.org/F1430638 Cf. https://revi.kr/6bFF Signed-off-by: Yongmin Hong * Remove wgMFSiteStylesRenderBlocking (#3866) This was for now-completed testing and should be removed. * Use Special:MyLanguage links where possible (#3863) * Use Special:MyLanguage links where possible * Remove unneeded Special:MyLanguage links from Tech: namespace pages Co-authored-by: Doug Mehus <39928941+dmehus@users.noreply.github.com> * Fix case (#3864) One more fix to this sitenotice. The other thing I was wondering if for `Special:ManageWiki/settings`, I'm wondering if we could make that into a link with `Special:ManageWiki/settings? I just never know if we need a `+` before and/or after the `$wgServer` variable? * Remove managewiki backups temporarily. * re-enable managewiki backups (#3867) * Disable Wikibase entity search UI by default (#3853) * Disable Wikibase entity search UI by default * Disable Wikibase entity search UI by default * add more file formats to wgFileExtensions (#3846) * wgCosmosEnabledRailModules setting for malwiki T7219 (#3868) * email notifications on privileged actions configuration T7197 (#3869) * email notifications on privileged actions configuration T7197 * fix wgconf end * array for watched-person group * default=>meta * change email notifs for group instead of right (#3870) * change email notifs for group instead of right * fix and configure for T&S * Fix indentation for wgMirahezeMagicLogEmailConditions * Remove John’s access to staffwiki (#3871) * Fix configuration for Logstash formatter * Update and elaborate help message for wgWordmark (#3875) * add T&S to higher password requirements (#3876) * remove webhook sitenotice (#3874) * Configured "HighlightLinksInCategory" Extension for my wiki (#3879) * Add edittemplateprotected restriction level to documentcontrolwiki/famepediawiki (#3880) Per request (https://meta.miraheze.org/w/index.php?title=Community_noticeboard/Archive_18&oldid=174937#Permission_Help) * Add protection levels to naasgamelandwiki (#3881) `editarchiveprotected` and `editofficialprotected` per request (https://meta.miraheze.org/w/index.php?title=Community_noticeboard&oldid=174936#Protection) * Add protection levels to memeswiki (#3882) [#7258](https://phabricator.miraheze.org/T7258) * remove watched-person right; unused (#3883) * Add Wikidata as an import source for snapwikiwiki (#3877) * blacklist some rights in managewiki for * T7257 (#3886) * blacklist some rights in managewiki for * T7257 * move oathauth-enable to any as it shouldn't be disallowed anyway * Update LocalSettings.php * add db server recorder for logging (T7248) (#3885) * add db server recorder for logging (T7248) Could be wrong * syntax * more syntax * more syntax * replace to c1 per paladox * add permissions to * required for confirming email * fix * add myself back to staffwiki (#3888) * Remove wgManageWikiCDBDirectory (#3889) Was removed in https://github.com/miraheze/ManageWiki/commit/f914eb5 Co-authored-by: Doug Mehus <39928941+dmehus@users.noreply.github.com> Co-authored-by: Universal Omega <54654040+Universal-Omega@users.noreply.github.com> Co-authored-by: Reception123 Co-authored-by: Yongmin Hong Co-authored-by: paladox Co-authored-by: R4356th <61620631+R4356th@users.noreply.github.com> Co-authored-by: MacFan4000 Co-authored-by: Ferran Tufan Co-authored-by: NJ Holder <70276371+Njsmooth@users.noreply.github.com> Co-authored-by: The-Voidwalker * merge 'master' into 'REL1_36' (#3900) * merge branch 'master' into REL1_36 (#3904) * fix order (#3905) * Merge branch 'master' into REL1_36 (#3912) * Test DPL3 settings with dcmultiversewiki * Set DPL3 maxResultCount to 999 * T7315: Move GlobalWatchlist to loginwiki (#3906) * Change wgCreateWikiNotificationEmail to sre@ (#3907) * Add site notice for file storage maintenance (#3908) * Add site notice for file storage maintenance * Update Sitenotice.php * Update Sitenotice.php * Update Sitenotice.php * Fix sitenotice * Blacklist handle-pii user right * remove unused and inaccurate 'help' * Switch workflow to Libera.chat (#3909) * Fix workflow to go to Libera.chat * Remove sitenotice * cdn: add cp13 * Add Wikibase configs for documentcontrolwiki (#3910) https://meta.miraheze.org/wiki/User_talk:Dmehus?oldid=177626#Good_day * Use Special:MyLanguage for "Help center" link * use https:// instead of just // * Use Special:MyLanguage/Miraheze link * Fix Sitenotice.php formatting * Formatting * Remove dcmultiversewiki configs * Don't run CI on php 8.0 Co-authored-by: paladox Co-authored-by: Ferran Tufan * Merge branch 'master' into REL1_36 (#3915) * Test DPL3 settings with dcmultiversewiki * Set DPL3 maxResultCount to 999 * T7315: Move GlobalWatchlist to loginwiki (#3906) * Change wgCreateWikiNotificationEmail to sre@ (#3907) * Add site notice for file storage maintenance (#3908) * Add site notice for file storage maintenance * Update Sitenotice.php * Update Sitenotice.php * Update Sitenotice.php * Fix sitenotice * Blacklist handle-pii user right * remove unused and inaccurate 'help' * Switch workflow to Libera.chat (#3909) * Fix workflow to go to Libera.chat * Remove sitenotice * cdn: add cp13 * Add Wikibase configs for documentcontrolwiki (#3910) https://meta.miraheze.org/wiki/User_talk:Dmehus?oldid=177626#Good_day * Use Special:MyLanguage for "Help center" link * use https:// instead of just // * Use Special:MyLanguage/Miraheze link * Fix Sitenotice.php formatting * Formatting * Remove dcmultiversewiki configs * Don't run CI on php 8.0 * Add wgScratchBlocks4BlockVersion to ManageWiki (#3858) * Fix MissingWiki.php formatting (#3913) * Use Special:MyLanguage for Code of Conduct link * Use Special:MyLanguage links in README * T7259: support single namespaces with DataDump xml dump generation (#3911) * set minint and maxint for wgScratchBlocks4BlockVersion * add label-message for datadump namespaceselect (#3914) * Remove wmgUseYandexTranslate (#3854) Co-authored-by: paladox Co-authored-by: Ferran Tufan Co-authored-by: R4356th <61620631+R4356th@users.noreply.github.com> * Merge branch 'master' into REL1_36 (#3920) * Add changes from master into REL1_36 (#3922) * wmgMonologChannels: Set EditConstraintRunner to error * wmgMonologChannels: Set EditConflict to error * tideways: set cpu flag Co-authored-by: paladox * LS: enable wgCheckUserEnableSpecialInvestigate (#3923) Bug: T7358 * Merge branch 'master' into REL1_36 (#3934) * T7393: ahinfoboxeswiki -> althistorywiki (#3932) * T7383: Undeploy ModernSkylight (#3933) * Merge branch 'master' into REL1_36 (#3936) * Rename two Cosmos configs (#3935) * Set wgTimelineFontDirectory (#3939) * Merge branch 'master' into REL1_36 (#3943) * Merge branch 'master' into REL1_36 (#3944) * Merge branch 'master' into REL1_36 (#3951) * Remove duplicate UrlShortener * Update LocalSettings.php Co-authored-by: Universal Omega <54654040+Universal-Omega@users.noreply.github.com> Co-authored-by: Doug Mehus <39928941+dmehus@users.noreply.github.com> Co-authored-by: Reception123 Co-authored-by: Yongmin Hong Co-authored-by: paladox Co-authored-by: R4356th <61620631+R4356th@users.noreply.github.com> Co-authored-by: MacFan4000 Co-authored-by: Ferran Tufan Co-authored-by: NJ Holder <70276371+Njsmooth@users.noreply.github.com> Co-authored-by: The-Voidwalker Co-authored-by: paladox --- LocalExtensions.php | 22 +++++++++---------- LocalSettings.php | 32 +++++++++++----------------- ManageWikiExtensions.php | 46 +++++++++++++++++++++------------------- extension-list | 24 ++++++++++----------- 4 files changed, 59 insertions(+), 65 deletions(-) diff --git a/LocalExtensions.php b/LocalExtensions.php index b3ccfc587f..f1bbbefa65 100644 --- a/LocalExtensions.php +++ b/LocalExtensions.php @@ -79,7 +79,7 @@ } if ( $wmgUseCategorySortHeaders ) { - require_once "$IP/extensions/CategorySortHeaders/CategorySortHeaders.php"; + wfLoadExtension( 'CategorySortHeaders' ); } if ( $wmgUseCategoryTree ) { @@ -162,7 +162,7 @@ } if ( $wmgUseCreatePage ) { - require_once "$IP/extensions/CreatePage/CreatePage.php"; + wfLoadExtension( 'CreatePage' ); } if ( $wmgUseCreatePageUw ) { wfLoadExtension( 'CreatePageUw' ); @@ -408,11 +408,11 @@ } if ( $wmgUseLanguageSelector ) { - require_once "$IP/extensions/LanguageSelector/LanguageSelector.php"; + wfLoadExtension( 'LanguageSelector' ); } if ( $wmgUseLastModified ) { - require_once "$IP/extensions/LastModified/LastModified.php"; + wfLoadExtension( 'LastModified' ); } if ( $wmgUseLdap ) { @@ -574,7 +574,7 @@ } if ( $wmgUseNewUserNotif ) { - require_once "$IP/extensions/NewUserNotif/NewUserNotif.php"; + wfLoadExtension( 'NewUserNotif' ); } if ( $wmgUseNimbus ) { @@ -646,7 +646,7 @@ } if ( $wmgUsePipeEscape ) { - require_once "$IP/extensions/PipeEscape/PipeEscape.php"; + wfLoadExtension( 'PipeEscape' ); } if ( $wmgUsePivot ) { @@ -737,7 +737,7 @@ } if ( $wmgUseRightFunctions ) { - require_once "$IP/extensions/RightFunctions/RightFunctions.php"; + wfLoadExtension( 'RightFunctions' ); } if ( $wmgUseRSS ) { @@ -904,7 +904,7 @@ } if ( $wmgUseUrlGetParameters ) { - require_once "$IP/extensions/UrlGetParameters/UrlGetParameters.php"; + wfLoadExtension( 'UrlGetParameters' ); } if ( $wmgUseUrlShortener ) { @@ -912,7 +912,7 @@ } if ( $wmgUseUserFunctions ) { - require_once "$IP/extensions/UserFunctions/UserFunctions.php"; + wfLoadExtension( 'UserFunctions' ); } if ( $wmgUseUserPageEditProtection ) { @@ -967,7 +967,7 @@ } if ( $wmgUseWikibaseClient ) { - require_once "$IP/extensions/Wikibase/client/WikibaseClient.php"; + wfLoadExtension( 'WikibaseClient', "$IP/extensions/Wikibase/extension-client.json" ); } if ( $wmgUseWikibaseLexeme ) { @@ -979,7 +979,7 @@ } if ( $wmgUseWikibaseRepository ) { - require_once "$IP/extensions/Wikibase/repo/Wikibase.php"; + wfLoadExtension( 'WikibaseRepository', "$IP/extensions/Wikibase/extension-repo.json" ); } if ( $wmgUseWikibaseRepository || $wmgUseWikibaseClient ) { diff --git a/LocalSettings.php b/LocalSettings.php index df834abbba..f3a832e848 100644 --- a/LocalSettings.php +++ b/LocalSettings.php @@ -378,6 +378,9 @@ 'wgCheckUserForceSummary' => [ 'default' => true, ], + 'wgCheckUserEnableSpecialInvestigate' => [ + 'default' => true, + ], // Citizen 'wgCitizenThemeDefault' => [ @@ -755,17 +758,17 @@ 'default' => [ "$IP/maintenance/tables.sql", "$IP/maintenance/tables-generated.sql", - "$IP/extensions/AbuseFilter/abusefilter.tables.sql", + "$IP/extensions/AbuseFilter/db_patches/mysql/abusefilter.sql", "$IP/extensions/AntiSpoof/sql/patch-antispoof.mysql.sql", - "$IP/extensions/BetaFeatures/sql/create_counts.sql", + "$IP/extensions/BetaFeatures/sql/tables-generated.sql", "$IP/extensions/CheckUser/cu_log.sql", "$IP/extensions/CheckUser/cu_changes.sql", "$IP/extensions/DataDump/sql/data_dump.sql", "$IP/extensions/Echo/echo.sql", - "$IP/extensions/GlobalBlocking/sql/global_block_whitelist.sql", + "$IP/extensions/GlobalBlocking/sql/mysql/tables-generated-global_block_whitelist.sql", "$IP/extensions/OAuth/schema/OAuth.sql", "$IP/extensions/RottenLinks/sql/rottenlinks.sql", - "$IP/extensions/UrlShortener/schemas/urlshortcodes.sql" + "$IP/extensions/UrlShortener/schemas/tables-generated.sql" ], ], 'wgCreateWikiStateDays' => [ @@ -1783,33 +1786,17 @@ 'wgFlaggedRevsTags' => [ 'default' => [ 'status' => [ - 'quality' => 1, 'levels' => 2, - 'pristine' => 3, ], ], 'infectopedwiki' => [ 'accuracy' => [ 'levels' => 4, - 'quality' => 2, - 'pristine' => 4, - ], - 'depth' => [ - 'levels' => 4, - 'quality' => 2, - 'pristine' => 4, - ], - 'tone' => [ - 'levels' => 4, - 'quality' => 1, - 'pristine' => 4, ], ], 'isvwiki' => [ 'status' => [ 'levels' => 1, - 'quality' => 2, - 'pristine' => 4, ], ], ], @@ -4139,6 +4126,11 @@ 'default' => null, ], + // Timeline + 'wgTimelineFontDirectory' => [ + 'default' => '/usr/share/fonts/truetype/freefont', + ], + // Timezone 'wgLocaltimezone' => [ 'default' => 'UTC', diff --git a/ManageWikiExtensions.php b/ManageWikiExtensions.php index 1bd96a5d74..1e43a1e664 100644 --- a/ManageWikiExtensions.php +++ b/ManageWikiExtensions.php @@ -222,7 +222,7 @@ 'requires' => [], 'install' => [ 'sql' => [ - 'babel' => "$IP/extensions/Babel/babel.sql" + 'babel' => "$IP/extensions/Babel/sql/tables-generated.sql" ], ], 'section' => 'parserhooks', @@ -1334,7 +1334,7 @@ 'requires' => [], 'install' => [ 'sql' => [ - 'linter' => "$IP/extensions/Linter/sql/linter.sql" + 'linter' => "$IP/extensions/Linter/sql/tables-generated.sql" ], ], 'section' => 'specialpages', @@ -2538,7 +2538,7 @@ 'requires' => [], 'install' => [ 'sql' => [ - 'pr_index' => "$IP/extensions/ProofreadPage/sql/ProofreadIndex.sql" + 'pr_index' => "$IP/extensions/ProofreadPage/sql/tables-generated.sql" ], 'namespaces' => [ 'Page' => [ @@ -2940,12 +2940,13 @@ 'requires' => [], 'install' => [ 'sql' => [ - 'wbc_entity_usage' => "$IP/extensions/Wikibase/client/sql/entity_usage.sql", - 'wb_terms' => "$IP/extensions/Wikibase/repo/sql/Wikibase.sql", - 'wb_changes' => "$IP/extensions/Wikibase/repo/sql/changes.sql", - 'wb_changes_dispatch' => "$IP/extensions/Wikibase/repo/sql/changes_dispatch.sql", - 'wb_changes_subscription' => "$IP/extensions/Wikibase/repo/sql/changes_subscription.sql", - 'wb_property_info' => "$IP/extensions/Wikibase/repo/sql/wb_property_info.sql" + 'wbc_entity_usage' => "$IP/extensions/Wikibase/client/sql/mysql/entity_usage.sql", + 'wb_items_per_site' => "$IP/extensions/Wikibase/repo/sql/mysql/wb_items_per_site.sql", + 'wb_id_counters' => "$IP/extensions/Wikibase/repo/sql/mysql/wb_id_counters.sql", + 'wb_changes' => "$IP/extensions/Wikibase/repo/sql/mysql/wb_changes.sql", + 'wb_changes_dispatch' => "$IP/extensions/Wikibase/repo/sql/mysql/wb_changes_dispatch.sql", + 'wb_changes_subscription' => "$IP/extensions/Wikibase/repo/sql/mysql/wb_changes_subscription.sql", + 'wb_property_info' => "$IP/extensions/Wikibase/repo/sql/mysql/wb_property_info.sql" ], 'mwscript' => [ "$IP/extensions/MirahezeMagic/maintenance/populateWikibaseSitesTable.php" => [], @@ -2961,17 +2962,18 @@ 'requires' => [], 'install' => [ 'sql' => [ - 'wb_changes' => "$IP/extensions/Wikibase/repo/sql/changes.sql", - 'wb_changes_dispatch' => "$IP/extensions/Wikibase/repo/sql/changes_dispatch.sql", - 'wb_changes_subscription' => "$IP/extensions/Wikibase/repo/sql/changes_subscription.sql", - 'wbt_item_terms' => "$IP/extensions/Wikibase/repo/sql/AddNormalizedTermsTablesDDL.sql", - 'wb_terms' => "$IP/extensions/Wikibase/repo/sql/Wikibase.sql", - 'wbt_term_in_lang' => "$IP/extensions/Wikibase/repo/sql/AddNormalizedTermsTablesDDL.sql", - 'wbt_text_in_lang' => "$IP/extensions/Wikibase/repo/sql/AddNormalizedTermsTablesDDL.sql", - 'wbt_text' => "$IP/extensions/Wikibase/repo/sql/AddNormalizedTermsTablesDDL.sql", - 'wbt_type' => "$IP/extensions/Wikibase/repo/sql/AddNormalizedTermsTablesDDL.sql", - 'wb_property_info' => "$IP/extensions/Wikibase/repo/sql/wb_property_info.sql", - 'wbt_property_terms' => "$IP/extensions/Wikibase/repo/sql/AddNormalizedTermsTablesDDL.sql", + 'wb_changes' => "$IP/extensions/Wikibase/repo/sql/mysql/wb_changes.sql", + 'wb_changes_dispatch' => "$IP/extensions/Wikibase/repo/sql/mysql/wb_changes_dispatch.sql", + 'wb_changes_subscription' => "$IP/extensions/Wikibase/repo/sql/mysql/wb_changes_subscription.sql", + 'wb_items_per_site' => "$IP/extensions/Wikibase/repo/sql/mysql/wb_items_per_site.sql", + 'wb_id_counters' => "$IP/extensions/Wikibase/repo/sql/mysql/wb_id_counters.sql", + 'wbt_item_terms' => "$IP/extensions/Wikibase/repo/sql/mysql/term_store.sql", + 'wbt_term_in_lang' => "$IP/extensions/Wikibase/repo/sql/mysql/term_store.sql", + 'wbt_text_in_lang' => "$IP/extensions/Wikibase/repo/sql/mysql/term_store.sql", + 'wbt_text' => "$IP/extensions/Wikibase/repo/sql/mysql/term_store.sql", + 'wbt_type' => "$IP/extensions/Wikibase/repo/sql/mysql/term_store.sql", + 'wb_property_info' => "$IP/extensions/Wikibase/repo/sql/mysql/wb_property_info.sql", + 'wbt_property_terms' => "$IP/extensions/Wikibase/repo/sql/mysql/term_store.sql", ], 'permissions' => [ '*' => [ @@ -3066,7 +3068,7 @@ ], 'install' => [ 'sql' => [ - 'wbqc_constraints' => "$IP/extensions/WikibaseQualityConstraints/sql/create_wbqc_constraints.sql", + 'wbqc_constraints' => "$IP/extensions/WikibaseQualityConstraints/sql/mysql/tables-generated.sql", ], ], 'section' => 'other', @@ -3122,7 +3124,7 @@ 'requires' => [], 'install' => [ 'sql' => [ - 'wikilove_log' => "$IP/extensions/WikiLove/patches/WikiLoveLog.sql" + 'wikilove_log' => "$IP/extensions/WikiLove/patches/tables-generated.sql" ], ], 'section' => 'other', diff --git a/extension-list b/extension-list index f555229a95..5fd1034da7 100644 --- a/extension-list +++ b/extension-list @@ -17,7 +17,7 @@ $IP/extensions/BlogPage/extension.json $IP/extensions/CSS/extension.json $IP/extensions/Calendar/extension.json $IP/extensions/Cargo/extension.json -$IP/extensions/CategorySortHeaders/CategorySortHeaders.php +$IP/extensions/CategorySortHeaders/extension.json $IP/extensions/CategoryTree/extension.json $IP/extensions/CentralAuth/extension.json $IP/extensions/CentralNotice/extension.json @@ -41,7 +41,7 @@ $IP/extensions/ContactPage/extension.json $IP/extensions/ContributionScores/extension.json $IP/extensions/CookieWarning/extension.json $IP/extensions/CountDownClock/extension.json -$IP/extensions/CreatePage/CreatePage.php +$IP/extensions/CreatePage/extension.json $IP/extensions/CreatePageUw/extension.json $IP/extensions/CreateRedirect/extension.json $IP/extensions/CreateWiki/extension.json @@ -107,9 +107,9 @@ $IP/extensions/JsCalendar/extension.json $IP/extensions/JsonConfig/extension.json $IP/extensions/Kartographer/extension.json $IP/extensions/LabeledSectionTransclusion/extension.json -$IP/extensions/LanguageSelector/LanguageSelector.php -$IP/extensions/LastModified/LastModified.php -$IP/extensions/LdapAuthentication/LdapAuthentication.php +$IP/extensions/LanguageSelector/extension.json +$IP/extensions/LastModified/extension.json +$IP/extensions/LdapAuthentication/extension.json $IP/extensions/Lingo/extension.json $IP/extensions/LinkSuggest/extension.json $IP/extensions/LinkTarget/extension.json @@ -142,7 +142,7 @@ $IP/extensions/MultimediaViewer/extension.json $IP/extensions/MyVariables/extension.json $IP/extensions/NewSignupPage/extension.json $IP/extensions/NewUserMessage/extension.json -$IP/extensions/NewUserNotif/NewUserNotif.php +$IP/extensions/NewUserNotif/extension.json $IP/extensions/NewestPages/extension.json $IP/extensions/Newsletter/extension.json $IP/extensions/NoTitle/extension.json @@ -164,7 +164,7 @@ $IP/extensions/PageTriage/extension.json $IP/extensions/PagedTiffHandler/extension.json $IP/extensions/ParserFunctions/extension.json $IP/extensions/PdfHandler/extension.json -$IP/extensions/PipeEscape/PipeEscape.php +$IP/extensions/PipeEscape/extension.json $IP/extensions/Poem/extension.json $IP/extensions/PollNY/extension.json $IP/extensions/PortableInfobox/extension.json @@ -189,7 +189,7 @@ $IP/extensions/Renameuser/extension.json $IP/extensions/ReplaceText/extension.json $IP/extensions/Report/extension.json $IP/extensions/RevisionSlider/extension.json -$IP/extensions/RightFunctions/RightFunctions.php +$IP/extensions/RightFunctions/extension.json $IP/extensions/SandboxLink/extension.json $IP/extensions/Score/extension.json $IP/extensions/mw-ScratchBlocks4/extension.json @@ -241,8 +241,8 @@ $IP/extensions/TwoColConflict/extension.json $IP/extensions/UniversalLanguageSelector/extension.json $IP/extensions/UploadsLink/extension.json $IP/extensions/UserMerge/extension.json -$IP/extensions/UrlGetParameters/UrlGetParameters.php -$IP/extensions/UserFunctions/UserFunctions.php +$IP/extensions/UrlGetParameters/extension.json +$IP/extensions/UserFunctions/extension.json $IP/extensions/UserPageEditProtection/extension.json $IP/extensions/UrlShortener/extension.json $IP/extensions/Variables/extension.json @@ -260,8 +260,8 @@ $IP/extensions/WikiLove/extension.json $IP/extensions/WikimediaIncubator/extension.json $IP/extensions/WikiSEO/extension.json $IP/extensions/WikiTextLoggedInOut/extension.json -$IP/extensions/Wikibase/client/WikibaseClient.php -$IP/extensions/Wikibase/repo/Wikibase.php +$IP/extensions/Wikibase/extension-client.json +$IP/extensions/Wikibase/extension-repo.json $IP/extensions/WikibaseLexeme/extension.json $IP/extensions/WikibaseQualityConstraints/extension.json $IP/extensions/WikidataPageBanner/extension.json