Jump to content

MediaWiki 1.42/wmf.20

From mediawiki.org
MediaWiki 1.42.0-wmf.19 Deployment of MediaWiki 1.42.0-wmf.20 to Wikimedia sites MediaWiki 1.42.0-wmf.21

The latest version (labeled "1.42.0-wmf.20") of MediaWiki, the software that powers Wikipedia and its sister sites, is being deployed to all Wikimedia sites in stages, starting on Tuesday, 27 February 2024 (see the roadmap).

Core changes

[edit]

Vendor

[edit]

Extensions

[edit]

3D

[edit]
  • git #8a1a4aa5 - build: Remove unneeded suppression of PhanParamSignatureMismatch by Umherirrender

AbuseFilter

[edit]
  • git #e1f78da3 - Fix wrong namespacing of integration test using \Unit\ by Derick Alangi
  • git #2c980176 - Remove $wgAbuseFilterBlockedExternalDomainsNotification and related code (T347435) by MusikAnimal

AntiSpoof

[edit]

CampaignEvents

[edit]

CentralAuth

[edit]
  • git #8383332e - Use RuntimeException/LogicException instead of Exception by Umherirrender
  • git #5133fba3 - CentralAuthHooks::onGetUserBlock: Handle non-existing accounts by Marius Hoch
  • git #b96e775c - SpecialCentralAuth: Handle invalid usernames (T358149) by Bartosz Dziewoński
  • git #53e67194 - Change 'wgGlobalGroups' to only include active groups (T356008) by Bartosz Dziewoński
  • git #c4816adf - CentralAuthUser: Fix $mGroups containing duplicate or missing items by Bartosz Dziewoński
  • git #b33af8c7 - SpecialGlobalGroupMembership: Remove fine-grained permissions support by Bartosz Dziewoński
  • git #24c920f6 - SpecialGlobalGroupMembership: Fix adding user to groups they're already in by Bartosz Dziewoński
  • git #94984c4c - CentralAuthHooks::onGetUserBlock: Only run for reg. users (T358112) by Marius Hoch

CheckUser

[edit]
  • git #83a89ae4 - Move multiple Hooks.php methods to CheckUserInsert service (T328334) (T353953) by Dreamy Jazz
  • git #383b2a06 - Turn TemplateParserMockTest into an actual mock class by Daimona Eaytoy
  • git #a2ef2f03 - Remove unused TimelinePager::getEmptyBody override by Thalia
  • git #b1f12e4a - Mark CheckUserInsertForRecentChange as hard deprecated (T357620) by Dreamy Jazz

CirrusSearch

[edit]
  • git #ef6ea6b7 - Use RuntimeException/LogicException instead of Exception by Umherirrender
  • git #27cb0cae - Replace empty() with falsy/truthy/array check by Umherirrender
  • git #3c37944b - ExpectedIndices: Include read-only clusters by Erik Bernhardson
  • git #bac782f8 - Enable icu_tokenizer + icu_token_repair (almost) everywhere (T356643) by tjones

Cite

[edit]

Citoid

[edit]

CodeEditor

[edit]

CodeMirror

[edit]

Cognate

[edit]

ContentTranslation

[edit]

DiscussionTools

[edit]
  • git #16e30811 - Replace spaces in link fragments before searching for topics/comments by Ed Sanders
  • git #cf9f1116 - CommentFormatterTest: Set ArticlePath in the test by Bartosz Dziewoński
  • git #bf7dc0d9 - ThreadItemStore: Only pass *Content*ThreadItemSet to insertThreadItems by Ed Sanders
  • git #b4e4f302 - ThreadItemStore: Remove "ButTryHarder" from method name by Ed Sanders
  • git #08f61b26 - Support for core section heading formatting in post-cache transform (T357723) by Bartosz Dziewoński

Echo

[edit]

Elastica

[edit]

Flow

[edit]

Gadgets

[edit]
  • git #9b6d34dd - tests: Widen `@covers` annotations by Timo Tijhof
  • git #10742807 - Content: Use DI for GadgetRepo service by Timo Tijhof
  • git #fce6fdfb - Goodbye Gadget/Gadget_definition namespaces! by Timo Tijhof

GlobalBlocking

[edit]

GlobalPreferences

[edit]

GoogleNewsSitemap

[edit]
  • git #b3a8f9e6 - Use RuntimeException/LogicException instead of Exception by Umherirrender

GrowthExperiments

[edit]
  • git #7c1cf220 - Use RuntimeException/ConfigException instead of Exception by Umherirrender
  • git #53bdc91c - build: Updating mediawiki/mediawiki-phan-config to 0.14.0 by Umherirrender
  • git #20c68e68 - Escape HTMLForm help text on mentor special pages by Umherirrender
  • git #9014dd0d - Use RuntimeException instead of Exception for traces by Umherirrender
  • git #f2c57359 - HelpPanelLogger: add check for CodeMirror 6 element (T357794) by MusikAnimal
  • git #5a334faf - Use OutputPage::setPageTitleMsg() instead of ::setPageTitle() (T343994) by Bartosz Dziewoński
  • git #6c9d4840 - AddImageFeedbackHandler: workaround getValidateBody() null result by MusikAnimal
  • git #9ec37854 - Workaround for night mode incompatibility with LESS mixins (T357740) by Jon Robson
  • git #574ddcb8 - Switch away from DBAccessObjectUtils::getDBOptions() (T354194) by Amir Sarabadani

GuidedTour

[edit]

JsonConfig

[edit]
  • git #91a5a13f - Use LogicException/InvalidArgumentException instead of Exception by Umherirrender

LiquidThreads

[edit]
  • git #05be4468 - Remove angle brackets from messages with URLs (T358399) by Amir E. Aharoni
  • git #524e6c47 - Use LogicException/RuntimeException instead of Exception by Umherirrender

LoginNotify

[edit]
  • git #7fdd24ac - Use LogicException instead of Exception by Umherirrender

MassMessage

[edit]
  • git #e5e36938 - build: Avoid PhanUndeclaredMethod with phan-var declaration by Umherirrender
  • git #ddf3f6f2 - Use RuntimeException/LogicException instead of Exception by Umherirrender

Math

[edit]
  • git #0cefcd5d - tests: Mock LoggerInterface to expect that a warning is thrown (T342110) by Umherirrender

MobileFrontend

[edit]

Newsletter

[edit]

OAuth

[edit]

ORES

[edit]

PageAssessments

[edit]

PagedTiffHandler

[edit]
  • git #c9988e3d - Use RuntimeException/LogicException instead of Exception by Umherirrender

PageImages

[edit]
  • git #abf45611 - Strip comments from toc section lines by Arlo Breault

PageTriage

[edit]

ParserMigration

[edit]
  • git #807b3f58 - Use Codex notice Message styles for Parsoid user notice (T358296) by C. Scott Ananian
  • git #5fc99836 - Suppress the user notice for anonymous and temporary users by C. Scott Ananian
  • git #7394dd47 - README: fix typo in configuration variable name by C. Scott Ananian

Poem

[edit]
  • git #f7ff3add - Add DOM stubs; Change namespace of imported Parsoid code to Poem/Parsoid (T358054) by Arlo Breault
  • git #d1383ca1 - Remove redundant PHPDoc blocks that are identical to the code by thiemowmde
  • git #0161955a - DOMPostProcess: Don't run extension dom processors on nested pipelines by Subramanya Sastry
  • git #602fd585 - ParsoidExtensionAPI: Simplify extTagToDOM by Subramanya Sastry
  • git #be47d04a - Be consistent about PHPUtils uses in Ext/ by Arlo Breault
  • git #f2818765 - Mark extensions as core dom spec markup compatible by Isabelle Hurbain-Palatin
  • git #eed3b657 - Fix bug in Parsoid's Poem implementation (T311953) by Subramanya Sastry
  • git #f3da8462 - DOMUtils: Get rid of isElt, isText, isComment helpers by Subramanya Sastry
  • git #fc465e59 - Avoid using regexes by Tim Starling
  • git #9fc6abf7 - Add class alias file to allow swapping in Dodo for DOMDocument by C. Scott Ananian
  • git #bf155e38 - Upgrade to mediawiki/mediawiki-codesniffer 36 by Aaron Piotrowski
  • git #d566095a - Parsoid/JS: Purge majority of code not used by roundtrip-test.js by Subramanya Sastry
  • git #f22474a3 - One document to rule them all (T221790) (T179082) (T217705) by Arlo Breault
  • git #f47b213a - Prefer nullable types in comments by Arlo Breault
  • git #45f477d2 - Match upstream change for margin-inline-start (T254051) by Arlo Breault
  • git #ad86d0c9 - Use wikimedia\object-factory for extension objects; hook up ExtensionRegistry (T133320) by C. Scott Ananian
  • git #8a2414e8 - Use DOMUtils::hasTypeOf/matchTypeOf/addTypeOf consistently by C. Scott Ananian
  • git #4f16aee1 - All extension DOM processors should extend Ext\DOMProcessor by C. Scott Ananian
  • git #ded8bd5d - Add extension registration mechanism to SiteConfig by C. Scott Ananian
  • git #4a46ba94 - Extension API: Adopt somethingToSomethingElse naming wherever possible (T242746) by Subramanya Sastry
  • git #fbbf15a2 - Remove exposure of KV objects by expanding ParsoidExtensionAPI (T242746) by Subramanya Sastry
  • git #25aa5d5a - ParsoidExtensionAPI: Give extensions an option to null out DSR values (T242746) by Subramanya Sastry
  • git #ab04a115 - Minor: Rename pipelineOpts to parseOpts in ParsoidExtensionAPI (T242746) by Subramanya Sastry
  • git #29a5cbf0 - Minor tweak: Move getConfig() in extensions to the top of file by Subramanya Sastry
  • git #c79639ee - Poem: Clean up formatting and comments by Subramanya Sastry
  • git #548afd1f - Move DomSourceRange to Core; ParsoidExtensionApi to Ext by Subramanya Sastry
  • git #562bd8f9 - Extensions: Remove direct use of SourceRange and Frame (T242746) by Subramanya Sastry
  • git #392009d9 - ParsoidExtensionAPI: Update docs by Subramanya Sastry
  • git #6ca4c6bb - ParsoidExtensionAPI: Add 'shiftDSRFn' option to parse* API (T242746) by Subramanya Sastry
  • git #f57fccc7 - Extensions: Use extApi->parseHTML to create seed documents (T242746) by Subramanya Sastry
  • git #771a005d - Pass $extApi, not $env to extension callbacks (T242746) by Subramanya Sastry
  • git #7a8f6acc - Poem: Remove unused env param from doPostProcessDOM by Subramanya Sastry
  • git #16c8e072 - Start untangling Parsoid internals from extensions (T242746) by Subramanya Sastry
  • git #77064130 - Move all code from Parsoid to Wikimedia\Parsoid namespace (T240054) by C. Scott Ananian
  • git #11b3832e - build: Updating mediawiki/mediawiki-codesniffer to 29.0.0 by Umherirrender
  • git #10f328e0 - Bump Parsoid/JS version to 0.11.0 for deb package release by Subramanya Sastry
  • git #0640c551 - Enable Squiz.Arrays.ArrayBracketSpacing by Arlo Breault
  • git #0c1ae3f8 - Account for class on poem tag by Arlo Breault
  • git #9db7124d - Fix poem JS and PHP extention to include class='poem' attribute by Shannon Bailey
  • git #5ab400b2 - Fix for JS and PHP Poem extension by Shannon Bailey
  • git #06d78871 - Clear invalid DSRs in <poem> (T231945) by C. Scott Ananian
  • git #f7b50d27 - Unconditionally add D modifier to regexps ending in $ check (T231980) by Subramanya Sastry
  • git #7f4a8a5c - All extensions implement Extension; tags all implement ExtensionTag by C. Scott Ananian
  • git #fe735329 - Hook up ported extensions + bug fixes by Subramanya Sastry
  • git #43df5612 - Documentation and codestyle fixups from UTF-8 conversion patch by C. Scott Ananian
  • git #57b8ce64 - Gallery: shift TSRs in the DOM, rather than fibbing about srcOffset by C. Scott Ananian
  • git #d6c65651 - Port Poem Extension by Shannon Bailey
  • git #686e3850 - Poem Extension: Rename index.php -> Poem.php by Subramanya Sastry
  • git #c313d477 - Make extensions with post-processors return constructors by Arlo Breault
  • git #fe896c22 - Audit uses of Node#getAttribute() + add missing file to PHP codebase by C. Scott Ananian
  • git #24b2fb7e - Skeleton PHP files generated by automatic conversion from JS by C. Scott Ananian
  • git #3de8b9ca - Rename dirs to match PSR4 namespace <-> filepath conventions by Subramanya Sastry
  • git #f45eef23 - Update HISTORY.md + bump version numbers to 0.10.0 for deb release by Subramanya Sastry
  • git #d12e89e8 - Split utils/DOMUtils.js into separate functional units (T208360) (T205333) by Subramanya Sastry
  • git #ede2cef2 - Introduce a parseTokenContentsToDOM helper by Arlo Breault
  • git #f18aa393 - Tweak extension config a bit more by Subramanya Sastry
  • git #4d65d530 - Tweak extension DOM config for extensibility by Subramanya Sastry
  • git #3ab01e45 - Updated extension interface + native Parsoid impl of Poem (T156099) (T188478) by Subramanya Sastry

ReadingLists

[edit]
  • git #23fe0cf9 - build: Updating mediawiki/mediawiki-phan-config to 0.14.0 by Umherirrender
  • git #117e6233 - Lists(Create|Update)Handler: workaround getValidateBody() null result by Umherirrender

RevisionSlider

[edit]
  • git #f42385ea - Pass through pointer events from pointer-containers (T352169) by WMDE-Fisch
  • git #f056cca7 - Use attr() to get revision position number by WMDE-Fisch
  • git #e5866136 - Move safety checks closer to where they belong by thiemowmde
  • git #9280f7f2 - Rename many methods to be much more meaningful by thiemowmde
  • git #29c8a483 - Rewrite revision style assignment with jQuery.toggleClass by thiemowmde

Scribunto

[edit]
  • git #d00b6aa0 - ParserOutput::setText() has been renamed to ::setRawText() by C. Scott Ananian

SecureLinkFixer

[edit]
  • git #200a7e0a - Updating domains.php from Mozilla by SecureLinkFixer updater bot

TemplateStyles

[edit]
  • git #21aa8a8a - Support @media prefers-color-scheme in rule in css-sanitizer (T241946) by Moh'd Khier Abualruz

TimedMediaHandler

[edit]
  • git #b37efc9d - Use RuntimeException/LogicException instead of Exception by Umherirrender
  • git #1d7107a1 - Fix regression in WebM transcodes breaking audio (T358342) by Brooke Vibber
  • git #60278e49 - Fix for regression in audio track suppression logic (T357942) by Brooke Vibber

Translate

[edit]

TranslationNotifications

[edit]

UploadWizard

[edit]

VipsScaler

[edit]
  • git #66c076e9 - Use RuntimeException/LogicException instead of Exception by Umherirrender

VisualEditor

[edit]

Wikibase

[edit]
  • git #9e9f8512 - Change `getConflictsForItem()` parameters by Muhammad Jaziraly
  • git #3f0f220c - REST: Check sitelinks conflict (T355771) by Muhammad Jaziraly
  • git #be2a8eb2 - REST: Add MediaWikiServices to PatchSitelinks by Muhammad Jaziraly
  • git #c77fab5a - REST: Add missing @throws tags by Muhammad Jaziraly
  • git #23a91d6b - REST: Add middlewares to PatchSitelinksRouteHandler (T357012) by Silvan
  • git #c8ea68b1 - tests: Replace use of expectWarning(), deprecated in PHPUnit 9.6 (T342110) by James D. Forrester
  • git #5b69e0e0 - REST: Rename 'WikibaseRepo' class name prefix by Muhammad Jaziraly
  • git #e1a6f36a - Remove errorCode dead code from EntitySavingHelper by Lucas Werkmeister
  • git #5b329bf5 - Update termbox anonymous warning message for temp user case (T357404) by Arthur Taylor
  • git #446ec84a - Avoid abstract PHPUnit test classes, fix autoloading (T342110) by Daimona Eaytoy
  • git #1ddab824 - Use TempUserTestTrait in tests (T356149) by Lucas Werkmeister
  • git #a450b8e0 - Add strict types to touched files (T356149) by Lucas Werkmeister
  • git #bf65be43 - Create temp users on redirect/merge (T356149) by Lucas Werkmeister
  • git #82d77991 - REST: Use createWikiPage for creating test pages by dima koushha
  • git #b419d899 - REST: Add spec tests to PUT sitelink (T355777) by dima koushha
  • git #50b5c203 - REST: Add tests that cover patch sitelinks errors (T357011) by Ollie Shotton
  • git #02fcec7b - Remove dead code in LinkTitles (T357024) by Lucas Werkmeister
  • git #a678129f - REST: Add e2e tests for sitelinks to redirects (T357985) by Jakob Warkotsch
  • git #41bbad80 - REST: Use REST API for creating test sitelinks by Jakob Warkotsch
  • git #d8c26c99 - REST: Validate sitelink existence in PUT sitelink (T355782) by Jakob Warkotsch
  • git #7f6190e3 - Make EditEntity service return new context (T356149) by Lucas Werkmeister
  • git #8f2f9e18 - Clarify from/to variables in ItemMergeInteractor by Lucas Werkmeister
  • git #8548c5cf - REST: Update PHPat and fix problems by Jakob Warkotsch
  • git #fce3e6be - build: Updating mediawiki/mediawiki-phan-config to 0.14.0 by Umherirrender
  • git #4be570ab - REST: Use existing sitelink page in middleware e2e tests by Jakob Warkotsch
  • git #f73f9558 - REST: Use existing page for sitelink in PatchSitelinksTest.js by Jakob Warkotsch
  • git #2ca10e95 - REST: Clean up SetSitelinkTest.js by Jakob Warkotsch
  • git #81c3e8b7 - REST: Silence phan explicitly for known non-nulls by Jakob Warkotsch

WikibaseLexeme

[edit]

WikibaseMediaInfo

[edit]

wikihiero

[edit]
  • git #7fab4cc0 - modules: Resolve no-var eslint warning by Umherirrender

WikiLambda

[edit]
  • git #973ff694 - Fix language column in implementations table when programming language is a reference (T287153) by gengh
  • git #4734f4c0 - Dual support for selector value: Z reference objects and string literals (T287153) by ecarg
  • git #203cfefd - FunctionEvaluator.vue: Fix 'label' docs typo by James D. Forrester
  • git #f08b70b8 - store: When transmitting inline code, encode pipes so they make it (T358089) by James D. Forrester
  • git #8461c9ca - Remove old error access methods from ZCode component by gengh
  • git #85dcecd3 - Implement new metadata dialog design (T341127) by gengh
  • git #d5ffd108 - Bugfix: Pass keyList by value when creating new argument paths by gengh

WikimediaEvents

[edit]

WikimediaMaintenance

[edit]

WikimediaMessages

[edit]

Wikisource

[edit]

Wikistories

[edit]
  • git #254d43ec - build: Include namespace alias file for phan to find namespace constant by Umherirrender
  • git #51081a1b - Use LogicException instead of Exception by Umherirrender

Skins

[edit]

MinervaNeue

[edit]

Timeless

[edit]

Vector

[edit]

Misc

[edit]

VisualEditor/VisualEditor

[edit]

No changes

[edit]
  • ActiveAbstract
  • AdvancedSearch
  • ApiFeatureUsage
  • ArticleCreationWorkflow
  • ArticlePlaceholder
  • Babel
  • BetaFeatures
  • BounceHandler
  • Calendar
  • Campaigns
  • Capiunto
  • CategoryTree
  • CentralNotice
  • CharInsert
  • ChessBrowser
  • CiteThisPage
  • Collection
  • CologneBlue
  • CommonsMetadata
  • ConfirmEdit
  • ContactPage
  • CreditsSource
  • Dashiki
  • Disambiguator
  • DismissableSiteNotice
  • DonationInterface
  • ElectronPdfService
  • EntitySchema
  • EventBus
  • EventLogging
  • EventStreamConfig
  • ExtensionDistributor
  • ExternalGuidance
  • FeaturedFeeds
  • FileExporter
  • FileImporter
  • FlaggedRevs
  • FundraiserLandingPage
  • FundraisingTranslateWorkflow
  • GeoCrumbs
  • GeoData
  • GlobalCssJs
  • GlobalUsage
  • GlobalUserPage
  • GlobalWatchlist
  • Graph
  • IPInfo
  • ImageMap
  • ImageSuggestions
  • InputBox
  • Insider
  • Interwiki
  • InterwikiSorting
  • Josa
  • Kartographer
  • LabeledSectionTransclusion
  • LandingCheck
  • LdapAuthentication
  • Linter
  • MachineVision
  • MapSources
  • MediaModeration
  • MediaSearch
  • MobileApp
  • Modern
  • MonoBook
  • MultimediaViewer
  • NavigationTiming
  • NearbyPages
  • NewUserMessage
  • Nostalgia
  • Nuke
  • OATHAuth
  • OAuthRateLimiter
  • OpenStackManager
  • PageNotice
  • PageViewInfo
  • ParserFunctions
  • PdfHandler
  • Phonos
  • Popups
  • ProofreadPage
  • PropertySuggester
  • QuickSurveys
  • Quiz
  • RSS
  • RealMe
  • RelatedArticles
  • ReportIncident
  • SandboxLink
  • Score
  • SearchExtraNS
  • SearchVue
  • SecurePoll
  • ShortUrl
  • SimilarEditors
  • SiteMatrix
  • SpamBlacklist
  • StopForumSpam
  • SubPageList3
  • SubpageSortkey
  • SyntaxHighlight_GeSHi
  • TemplateData
  • TemplateSandbox
  • TemplateWizard
  • TextExtracts
  • Thanks
  • TheWikipediaLibrary
  • TitleBlacklist
  • TocTree
  • TorBlock
  • TrustedXFF
  • TwoColConflict
  • UniversalLanguageSelector
  • UploadsLink
  • UrlShortener
  • VueTest
  • WebAuthn
  • WikiEditor
  • WikiLove
  • WikibaseCirrusSearch
  • WikibaseLexemeCirrusSearch
  • WikibaseQualityConstraints
  • Wikidata.org
  • WikidataPageBanner
  • WikimediaApiPortal
  • WikimediaApiPortalOAuth
  • WikimediaBadges
  • WikimediaCampaignEvents
  • WikimediaEditorTasks
  • WikimediaIncubator
  • XAnalytics
  • cldr
  • intersection
  • timeline

Total changes

[edit]

346 Changes in 65 repos by 78 authors

  翻译: