Jump to content

MediaWiki 1.40/wmf.18

From mediawiki.org
MediaWiki 1.40.0-wmf.17 Deployment of MediaWiki 1.40.0-wmf.18 to Wikimedia sites MediaWiki 1.40.0-wmf.19

The latest version (labeled "1.40.0-wmf.18") of MediaWiki, the software that powers Wikipedia and its sister sites, is being deployed to all Wikimedia sites in stages, starting on Monday, 9 January 2023 (see the roadmap).

Core changes

[edit]
  • git #25979f06 - Branch commit for wmf/1.40.0-wmf.18 (T325581) by trainbranchbot
  • git #4ef1a0ac - Upgrading wikimedia/object-factory (v4.0.0 => v5.0.1) by Reedy
  • git #a3d487b9 - Upgrading wikimedia/less.php (v3.1.0 => v3.2.0) by Reedy
  • git #c2a3924e - Make runScript.php an alias for run.php (T326589) by daniel
  • git #028bb0b1 - jquery.tablesorter: Consistently trim spaces when building the sort keys (T326502) by Hank Hulet
  • git #029d8844 - Reorder "Languages added" by task number by Amir E. Aharoni
  • git #e9e0ac7e - Change search preference message by Amir E. Aharoni
  • git #145f2d48 - Add support for the Igala language (igl) (T326526) by Amir E. Aharoni
  • git #439f94ab - maintenance: Do not output run.php warning when not in TTY mode (T99268) by Gergő Tisza
  • git #18a47321 - Make ChangeTag::modifyDisplayQuery more reliable if multiple joins to changetags (T325872) by Brian Wolff
  • git #07cdef80 - Deprecate creating HTMLFormFields without reference to parent form (T326456) by Brian Wolff
  • git #4d664487 - Add Toki Pona (tok) to Names.php (T300378) (T236938) by Robin van der Vliet
  • git #23acb942 - ForeignResourceManager: Add import for SplFileInfo by Reedy
  • git #791ea137 - tests: Replace dynamic property MWCallableUpdate::$_name (T314099) by Umherirrender
  • git #61864eac - Normalize consecutive spaces when building the sort values (T326474) by Hank Hulet
  • git #054dcaa2 - Replace <br> with space rather than empty string when building the sort key (T326081) by Hank Hulet
  • git #69c57572 - parser: Optimize regex patterns used in LinkHolderArray by thiemowmde
  • git #3237dabf - ChangeTags: Move space inside .mw-tag-other-edits (T326376) by AntiCompositeNumber
  • git #5c8acb3c - rdbms: add CONN_UNTRACKED_GAUGE LoadBalancer flag for LoadMonitor gauging (T265386) by Aaron Schulz
  • git #4dcdb06a - UserOptionsManager: Avoid DB delete queries for unchanged default values (T301506) by Umherirrender
  • git #0882edf2 - docs: Move together Rdbms-related lines in RELEASE-NOTES-1.40 by Timo Tijhof
  • git #7d4f6d37 - rdbms: Remove setBigSelects() without deprecation (T325610) by Aaron Schulz
  • git #9c8104e3 - Galleries: Set anchor height as well as img height (T194887) by Jon Robson
  • git #a602dd81 - parser: Improvements to Preprocessor::buildDomTreeArrayFromText by Umherirrender
  • git #20c83e98 - parser: Small improvements to Preprocessor::buildDomTreeArrayFromText by Umherirrender
  • git #00c18832 - Sync up core repo with Parsoid by Subramanya Sastry
  • git #77792c22 - tests: Change assertion in AbstractSecondaryAuthenticationProviderTest (T314099) by Umherirrender
  • git #8170da25 - tests: Remove assertion of spec in ParamValidatorTest::testGetTypeDef (T314099) by Umherirrender
  • git #ea83138d - tests: Declare GIFMetadataExtractorTest::$mediaPath (T314099) by Umherirrender
  • git #85ec890e - stream wrapper: Declare $context class property (T314099) by Umherirrender
  • git #c9346288 - libs\jsminplus: Declare JSNode::$expression (T314099) by Umherirrender
  • git #b81db269 - tests: Allow dynamic properties on PHP 8.2 for GhostFieldTestClass (T314099) by Umherirrender
  • git #8c98123a - Galleries: Make gallery code more resilient to HTML transformations (T194887) by Jon Robson
  • git #a5e0700d - Code style cleanup by Derk-Jan Hartman
  • git #24ef8e93 - profiler: Restore lost --profiler feature for Maintenance scripts by Timo Tijhof
  • git #f5fd566f - actions: Actually store CommentFormatter in McrUndoAction (T326336) by Alexander Vorwerk
  • git #f9fb7d69 - tests: Use MW_VERSION instead of deprecated $wgVersion by Kevin Israel
  • git #a83f630d - Fix phan error when Excimer is enabled by Tim Starling
  • git #8eb423c4 - Use CommentStore service instead of deprecated method (T325475) by Derick Alangi
  • git #721b95cf - specials: Add LinkBatch to Special:DeletedContributions by Umherirrender
  • git #4c54ef2c - actions: Pass CommentFormatter to McrRestoreAction (T326275) by Alexander Vorwerk
  • git #76225e8f - rdbms: Drop getChronologyProtectorClientId in LBF and ILBF (T326274) by Amir Sarabadani
  • git #545c46bd - Drop an ancient script by Alexander Vorwerk
  • git #82ea6f31 - Make permalink available in raw form (T326263) by Jon Robson
  • git #4912fe27 - Maintenance scripts: show a warning when run directly. by daniel
  • git #d94a1645 - Galleries on mobile (T242143) (T194887) by Jon Robson
  • git #d7e38df1 - Make phpunit:coverage-edit script independent of phpunit (T320452) by Moritz Schubotz (physikerwelt)
  • git #230d5cfa - specials: Special:Whatlinkshere should not act on special pages (T41126) by Umherirrender
  • git #3c5ad878 - Fix phpunit:coverage-edit script (T320452) by Moritz Schubotz (physikerwelt)
  • git #f79d0469 - Include missing message parameter in message (T322583) by wangombe
  • git #e12a5a66 - Add namespace translations in Wayuu (T321881) by Stang
  • git #841c983e - rdbms: remove redundant "found writes pending" log entries by Aaron Schulz
  • git #2fbc1065 - Documentation: Document the FIXME task by Jon Robson
  • git #c3441c8c - benchmarks: Add --setup to benchmarkEval.php by Timo Tijhof
  • git #4ef08919 - rdbms: Consolidate logger channels into one (T320873) by Timo Tijhof
  • git #45ca5641 - Use explicit ->parse() instead of implicit __toString(). by Fomafix
  • git #f36c4fa3 - Do not show the useless edit section links on Special:ExpandTemplates (T37428) by Fomafix
  • git #002e763b - Remove 'verify' option of Linker::generateRollback() by Gergő Tisza
  • git #f2febebb - ParserOutput: point to documentation for serialization compatibility. by daniel
  • git #e59cf6c1 - Use SlotRecord::MAIN instead of hard coded value by Umherirrender
  • git #4cebfd38 - Update namespaces and special page aliases for Karakalpak by Amir E. Aharoni
  • git #5b43b02f - refreshlinks: skip replica wait checks for single-batch link updates by Aaron Schulz
  • git #17367490 - Update wikimedia/remex-html to 3.0.3 (T324408) by C. Scott Ananian
  • git #cf127211 - Prepare migration from revision_comment_temp to rev_comment_id (T299954) by Alexander Vorwerk
  • git #1be1ea75 - ReservedUsernames config: Add reserved names from maintenance scripts (T223027) by Umherirrender
  • git #c681ee5f - extension schema: Remove broken option to use null in OOUIThemePaths by Bartosz Dziewoński
  • git #394d2eda - rcfilters: Tweak formatting of inverted filters by Bartosz Dziewoński
  • git #ac54e62c - SpecialWhatLinksHere: Use trySubmit() for input validation (T325885) by Func
  • git #c9dc5a02 - HTMLForm: Skip submission when got nothing from the user on GET forms by Func
  • git #4346a123 - Remove .pipeline directory by Ahmon Dancy
  • git #c323e36f - page: Show revision-deleted comment on oldid= view with unhide=1 (T311468) by Umherirrender
  • git #8269d64d - actions: Optimize handling of notification timestamp on action=history by Umherirrender
  • git #8552ceab - installer: Improve message handling for cli installer/install.php (T253341) by Umherirrender
  • git #75346559 - build: Add phan stub for ReturnTypeWillChange by Umherirrender
  • git #71f47d91 - Chinese Conversion Table Update 2022-2 by Chiefwei
  • git #58833b67 - Message::rawParam: Add novel 'exec_html' annotation (T323104) by SBassett
  • git #0719f9e6 - Avoid widowing headers on category pages (in supporting browsers) (T104541) by Bartosz Dziewoński
  • git #3ff25f3f - search: Set file_text to null when not available (T322327) by Erik Bernhardson
  • git #def09fd9 - Disable php in .htaccess of images directory as a hardening measure. by Brian Wolff
  • git #f5316346 - Remove /images .htaccess rules that are no longer relevent by Brian Wolff
  • git #876e18e1 - UploadBase.php: added namespace for w3c-test-suite (T278044) by JoKalliauer

Vendor

[edit]

Extensions

[edit]

AbuseFilter

[edit]
  • git #8e4a1237 - Hook on privateEvent and logEvent insert hooks like CuChangesInsert (T324907) (T44345) by Dreamy Jazz
  • git #d3d0910b - Add RecentChange as a optional parameter for CheckUser hook (T324907) by Dreamy Jazz
  • git #dc59cad0 - Replace VariableHolder::$forFilter by Matěj Suchánek
  • git #627a73ec - Ensure IP, XFF and UA are valid for abuse filter user actions in CheckUser (T44345) by dreamyjazz

Babel

[edit]

CampaignEvents

[edit]

CentralAuth

[edit]

CentralNotice

[edit]

CharInsert

[edit]

CheckUser

[edit]

CirrusSearch

[edit]

Cite

[edit]

cldr

[edit]
  • git #01e3c6a4 - Fix German translation for gor/Gorontalo by Raymond

CodeEditor

[edit]

Cognate

[edit]
  • git #3ab07c2d - Replace deprecated ConnectionManager functions by Umherirrender

ConfirmEdit

[edit]

ContentTranslation

[edit]
  • git #76dc8595 - CX: Fix usage of categories translation unit as array (T326278) by NikG
  • git #114cef5b - CX: Allow composer/installers plugin by NikG
  • git #b7392622 - SX App.vue: Import "computed" before using it by NikG
  • git #4aee87d8 - Use Codex design tokens for breakpoints by Santhosh Thottingal
  • git #949f3716 - Fix publishing target for sandbox section translations on desktop (T316851) by NikG
  • git #c429f70a - Test ServiceWiring.php and other fixes to tests by Dreamy Jazz

CreditsSource

[edit]
  • git #051a26d5 - schema: Convert Unique Index to Primary Key on revsrc (T312277) by Umherirrender
  • git #af799bb5 - schema: Convert Unique Index to Primary Key on swsource_links (T312276) by Umherirrender
  • git #0c2559ed - schema: Convert Unique Index to Primary Key on swauthor_links (T312275) by Umherirrender

DiscussionTools

[edit]

DonationInterface

[edit]
  • git #c89d3d60 - Initialise transaction response in the process donor return if not present. (T324353) by Damilare Adedoyin

Echo

[edit]

EntitySchema

[edit]
  • git #7299c686 - Recreate browser tests for detecting edit conflicts (T323763) by Michael Große
  • git #5faae595 - Use SlotRecord::MAIN instead of hard coded value by Umherirrender

EventBus

[edit]
  • git #ff2064bc - Set explicit revision timestamp in testCreatePageChangeVisibilityEvent (T325341) by Ottomata
  • git #e38ae295 - Use SlotRecord::MAIN instead of hard coded value by Umherirrender
  • git #14be1f3c - Replace deprecated ContentHandler::getForModelID by Umherirrender

EventLogging

[edit]
  • git #a52e63de - Remove deprecated EventLoggingRegisterSchemas hook by Umherirrender

FileImporter

[edit]
  • git #52bf8ec3 - Replace deprecated ContentHandler functions by Umherirrender

Flow

[edit]
  • git #f707a784 - Drop ContributionsRow::$revactor_timestamp by Alexander Vorwerk

GeoCrumbs

[edit]

GrowthExperiments

[edit]

GWToolset

[edit]

InterwikiSorting

[edit]

Kartographer

[edit]

LiquidThreads

[edit]
  • git #bc5d3884 - Update LqtDiscussionPager code by Bartosz Dziewoński

MassMessage

[edit]
  • git #4b3a0d34 - Add a hook to override how a message is sent to a specific page by Brian Wolff

Math

[edit]
  • git #7b425a55 - Improve security of MathML output by Moritz Schubotz (physikerwelt)
  • git #81fa5b0c - Fix significant typo in grammar by Moritz Schubotz (physikerwelt)

MediaModeration

[edit]
  • git #08c2a1bf - ModerateExistingFilesHelper: Complete output message with PHP_EOL (T303307) by Maggie Epps

MobileFrontend

[edit]
  • git #8d2d3c72 - Stop hiding section heading toggling indicators in editor preview (T326370) by Bartosz Dziewoński
  • git #f2b130e0 - Revert "Images in galleries should be loaded automatically" by Jdlrobson
  • git #52b472ef - Images in galleries should be loaded automatically (T194887) by Jon Robson
  • git #82e93dd4 - Fix section toggling styles for print mode (T323636) by Bartosz Dziewoński

MultimediaViewer

[edit]

OATHAuth

[edit]
  • git #c0da90be - Add separate OATHAuthModuleRegistry service by Taavi Väänänen

OAuth

[edit]

PageImages

[edit]
  • git #00ec4349 - Use PageReference on ParserFileProcessingHookHandlers::processThisTitle by Umherirrender

PageTriage

[edit]

Phonos

[edit]

PoolCounter

[edit]

ProofreadPage

[edit]

QuickSurveys

[edit]

SearchVue

[edit]

SecureLinkFixer

[edit]
  • git #5af96350 - Updating domains.php from Mozilla by SecureLinkFixer updater bot
  • git #fecbbea0 - Update domains.php from Mozilla by Alexander Vorwerk

SecurePoll

[edit]

TemplateData

[edit]
  • git #73ec2562 - Fix broken maps panel in TemplateData editor by thiemowmde
  • git #8f6493a1 - Reduce code duplication when switching dialog panels by thiemowmde
  • git #7d0f0da6 - Use type info instead of repeating individual field names by Thiemo Kreuz
  • git #685363d9 - Set focus to first input field on all panels by Thiemo Kreuz

TemplateStyles

[edit]

Thanks

[edit]
  • git #1f39e662 - Replace deprecated hook handler with user locator by Matěj Suchánek
  • git #a9878ab2 - Some smaller general code cleanups by Thiemo Kreuz

Translate

[edit]
  • git #a7dd69e1 - processMessageChanges: Rename and move to namespace (T193166) by Abijeet
  • git #b52f94bf - editor.js: remove accesskey while hiding editor by Pols12
  • git #e7a241fe - Qualify conditions in RC filter for change tags (T325872) by Brian Wolff
  • git #1904e2c0 - Right-align RTL language in ManageTranslatorSandbox (T306736) by wangombe
  • git #abf3dfd8 - TranslateLogFormatter: Suppress unlikely XSS warning from phan by Abijeet
  • git #eb16779c - Use SlotRecord::MAIN instead of hard coded value by Umherirrender

TwoColConflict

[edit]

UniversalLanguageSelector

[edit]
  • git #570a7d3b - Revert "Add language settings button inside dropdown for non-content pages" (T326538) by Jdlrobson
  • git #5d576d05 - Add language settings button inside dropdown for non-content pages (T316559) by NikG

UploadWizard

[edit]

VisualEditor

[edit]
  • git #17f40c29 - Show "Continue" instead of "Try again" on button to save as another user (T190406) by Nardog
  • git #9e79a0e2 - Add more test cases for mw.libs.ve.getTargetDataFromHref (T324352) by Bartosz Dziewoński
  • git #25019d7f - Fix encoding to roundtrip links without 'rawTitle'/'origTitle' (T325766) by Bartosz Dziewoński
  • git #659b7989 - Update VE core submodule to master (cb9c5fadc) (T325766) by Bartosz Dziewoński
  • git #fd80fae5 - Replace mediawiki.Uri with native URL (easy cases) (T325249) by Bartosz Dziewoński
  • git #8f1e9b60 - Allow using native URL (or polyfill) (T325249) by Bartosz Dziewoński
  • git #60b9a71f - Fix post-edit notification after switching from old wikitext editor by Bartosz Dziewoński

WebAuthn

[edit]
  • git #b2d9fc57 - Reflect OATHAuthModuleRegistry changes by Taavi Väänänen

Wikibase

[edit]
  • git #b81a4870 - Search results: show label match in different language by Michael Große
  • git #354fb2eb - DM Serialization lib: Update IRC Support to libera.chat by Leszek Manicki
  • git #c9a870b8 - Include "parent" parameter to HTMLFormField for upcoming core change (T326456) by Brian Wolff
  • git #52001789 - Replace deprecated Language::factory (T325986) by Umherirrender
  • git #fb3a1a95 - Explicitly set modules as desktop targeted (T324723) (T326405) by Jon Robson
  • git #ccb5d89f - LanguageNameLookup: Replace deprecated Language::fetchLanguageName (T325962) by Umherirrender
  • git #5adc043b - Include the invalid language code in API error message (T211372) by Matěj Suchánek
  • git #882f5d36 - Remove compat code from MediaWikiLanguageDirectionalityLookup by Umherirrender
  • git #2e3744ec - repo/Specials: Replace deprecated Language::fetchLanguageName (T325962) by Umherirrender
  • git #de947f4e - Replace deprecated ConnectionManager functions by Umherirrender
  • git #5cee4390 - Use SelectQueryBuilder for wb_id_counters queries (T312510) by Lucas Werkmeister
  • git #5cd82748 - Use SelectQueryBuilder in WikiPageEntityRedirectLookup (T312510) by Lucas Werkmeister
  • git #61ed39c8 - REST: Mark labels endpoint as [WIP] in OAS (T326149) by Muhammad Jaziraly
  • git #19267799 - Enable the new Codex-based search with the Vector-2022 skin on Wikidata (T316093) by Michael Große
  • git #6647cd93 - REST: Remove duplicated await by Muhammad Jaziraly
  • git #a905effb - REST: Add OAS validation tests for GetItemLabels (T325734) by sihe
  • git #4d61b13c - tests: Call new GuidGenerator outside of foreach by Umherirrender
  • git #5253cc25 - Add LanguageDirectionalityLookup service by Lucas Werkmeister
  • git #a3b7e3d1 - Always use LanguageNameLookupFactory for LanguageNameLookup by Umherirrender
  • git #aae54bf6 - Inject language services into MediaWikiLanguageDirectionalityLookup (T260340) by Umherirrender
  • git #e3427add - REST: Mark PATCH endpoints as [WIP] in OAS (T326197) by sihe
  • git #e7d2bc9d - Make DispatchingValueFormatter lazy (T326135) by Lucas Werkmeister
  • git #31932127 - REST: Modify README.md to add dev routes (T326151) by Muhammad Jaziraly
  • git #9af47eb5 - REST: Move WIP routes to a routes.dev.json file (T326153) (T326208) by Ollie Shotton
  • git #c5b3c97f - REST: Validate itemId in GetItemLabels request (T325733) by Muhammad Jaziraly
  • git #480bb564 - tests: Use Title::makeTitle instead of Title::newFromText by Umherirrender
  • git #f8dbb169 - Use SlotRecord::MAIN instead of hard coded value by Umherirrender
  • git #dfadc80b - REST: Handle item redirect in GetItemLabels (T325724) by Muhammad Jaziraly
  • git #d5bcdb91 - REST: Handle item not found in GetItemLabels (T325724) by Jakob Warkotsch
  • git #0d7d88f0 - Inject service into EntityIdLabelFormatterFactory (T207392) by Lucas Werkmeister

WikibaseCirrusSearch

[edit]

WikibaseLexeme

[edit]
  • git #8b8c7804 - Use LanguageDirectionalityLookup service by Umherirrender
  • git #7b360cdb - Add lexeme language to formatted sense ID (T207392) by Lucas Werkmeister
  • git #4f717bc4 - Use SlotRecord::MAIN instead of hard coded value by Umherirrender

WikibaseLexemeCirrusSearch

[edit]

WikibaseMediaInfo

[edit]
  • git #2be34c00 - Use LanguageDirectionalityLookup service by Umherirrender
  • git #f43bdbbb - Use LanguageNameLookupFactory in service wiring by Umherirrender
  • git #ea9cb71e - Use SlotRecord::MAIN instead of hard coded value by Umherirrender

WikibaseQualityConstraints

[edit]
  • git #aa49b744 - tests: Use SlotRecord::MAIN instead of hard coded value by Umherirrender
  • git #60a4c7b0 - Add config to change value showing constraint violation indicator (T272132) by gtzatchkova

WikiEditor

[edit]

WikiLambda

[edit]

WikimediaEvents

[edit]
  • git #3ab59ba7 - Distinguish between pinned/unpinned elements in desktopWebUIActions (T324878) by Jan Drewniak

WikimediaMaintenance

[edit]

WikimediaMessages

[edit]

Wikistories

[edit]

Skins

[edit]

MinervaNeue

[edit]

Vector

[edit]

Misc

[edit]

VisualEditor/VisualEditor

[edit]
  • git #25dc9632 - tests: Remove unused test data by Bartosz Dziewoński
  • git #27421254 - Ignore 'origTitle' in tests (T325766) by Bartosz Dziewoński
  • git #9d0cd4d4 - Rebuild demos with newly added language 'se' by Bartosz Dziewoński

No changes

[edit]
  • 3D
  • ActiveAbstract
  • AdvancedSearch
  • AntiSpoof
  • ApiFeatureUsage
  • ArticleCreationWorkflow
  • ArticlePlaceholder
  • BetaFeatures
  • BounceHandler
  • Calendar
  • Campaigns
  • Capiunto
  • CategoryTree
  • ChessBrowser
  • CiteThisPage
  • Citoid
  • CodeMirror
  • Collection
  • CologneBlue
  • CommonsMetadata
  • ContactPage
  • Dashiki
  • Disambiguator
  • DismissableSiteNotice
  • DoubleWiki
  • Elastica
  • ElectronPdfService
  • EventStreamConfig
  • ExtensionDistributor
  • ExternalGuidance
  • FeaturedFeeds
  • FileExporter
  • FlaggedRevs
  • FundraiserLandingPage
  • FundraisingTranslateWorkflow
  • Gadgets
  • GeoData
  • GlobalBlocking
  • GlobalCssJs
  • GlobalPreferences
  • GlobalUsage
  • GlobalUserPage
  • GlobalWatchlist
  • GoogleNewsSitemap
  • Graph
  • GuidedTour
  • IPInfo
  • ImageMap
  • ImageSuggestions
  • InputBox
  • Insider
  • Interwiki
  • Josa
  • JsonConfig
  • LabeledSectionTransclusion
  • LandingCheck
  • LdapAuthentication
  • Linter
  • Listings
  • LoginNotify
  • MachineVision
  • MapSources
  • MediaSearch
  • MobileApp
  • Modern
  • MonoBook
  • NavigationTiming
  • NearbyPages
  • NewUserMessage
  • Newsletter
  • Nostalgia
  • Nuke
  • OAuthRateLimiter
  • ORES
  • OpenStackManager
  • PageAssessments
  • PageNotice
  • PageViewInfo
  • PagedTiffHandler
  • ParserFunctions
  • PdfHandler
  • Poem
  • Popups
  • PropertySuggester
  • Quiz
  • RSS
  • ReadingLists
  • RelatedArticles
  • Renameuser
  • RevisionSlider
  • SandboxLink
  • Score
  • Scribunto
  • SearchExtraNS
  • ShortUrl
  • SimilarEditors
  • SiteMatrix
  • SpamBlacklist
  • StopForumSpam
  • SubPageList3
  • SubpageSortkey
  • SyntaxHighlight_GeSHi
  • TemplateSandbox
  • TemplateWizard
  • TextExtracts
  • TheWikipediaLibrary
  • TimedMediaHandler
  • Timeless
  • TitleBlacklist
  • TocTree
  • TorBlock
  • TranslationNotifications
  • TrustedXFF
  • UploadsLink
  • UrlShortener
  • VipsScaler
  • WikiLove
  • Wikidata.org
  • WikidataPageBanner
  • WikimediaApiPortal
  • WikimediaApiPortalOAuth
  • WikimediaBadges
  • WikimediaEditorTasks
  • WikimediaIncubator
  • Wikisource
  • XAnalytics
  • intersection
  • timeline
  • wikihiero

Total changes

[edit]

323 Changes in 71 repos by 88 authors

  翻译: