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 (task 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 (task T358149) by Bartosz DziewoƄski
  • git #53e67194 - Change 'wgGlobalGroups' to only include active groups (task 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 (task T358112) by Marius Hoch

CheckUser[edit]

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 (task 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 (task 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 (task T357794) by MusikAnimal
  • git #5a334faf - Use OutputPage::setPageTitleMsg() instead of ::setPageTitle() (task T343994) by Bartosz DziewoƄski
  • git #6c9d4840 - AddImageFeedbackHandler: workaround getValidateBody() null result by MusikAnimal
  • git #9ec37854 - Workaround for night mode incompatibility with LESS mixins (task T357740) by Jon Robson
  • git #574ddcb8 - Switch away from DBAccessObjectUtils::getDBOptions() (task T354194) by Amir Sarabadani

GuidedTour[edit]

JsonConfig[edit]

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

LiquidThreads[edit]

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]

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 (task 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 (task 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 (task 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 (task T221790) (task T179082) (task T217705) by Arlo Breault
  • git #f47b213a - Prefer nullable types in comments by Arlo Breault
  • git #45f477d2 - Match upstream change for margin-inline-start (task T254051) by Arlo Breault
  • git #ad86d0c9 - Use wikimedia\object-factory for extension objects; hook up ExtensionRegistry (task 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 (task T242746) by Subramanya Sastry
  • git #fbbf15a2 - Remove exposure of KV objects by expanding ParsoidExtensionAPI (task T242746) by Subramanya Sastry
  • git #25aa5d5a - ParsoidExtensionAPI: Give extensions an option to null out DSR values (task T242746) by Subramanya Sastry
  • git #ab04a115 - Minor: Rename pipelineOpts to parseOpts in ParsoidExtensionAPI (task 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 (task T242746) by Subramanya Sastry
  • git #392009d9 - ParsoidExtensionAPI: Update docs by Subramanya Sastry
  • git #6ca4c6bb - ParsoidExtensionAPI: Add 'shiftDSRFn' option to parse* API (task T242746) by Subramanya Sastry
  • git #f57fccc7 - Extensions: Use extApi->parseHTML to create seed documents (task T242746) by Subramanya Sastry
  • git #771a005d - Pass $extApi, not $env to extension callbacks (task T242746) by Subramanya Sastry
  • git #7a8f6acc - Poem: Remove unused env param from doPostProcessDOM by Subramanya Sastry
  • git #16c8e072 - Start untangling Parsoid internals from extensions (task T242746) by Subramanya Sastry
  • git #77064130 - Move all code from Parsoid to Wikimedia\Parsoid namespace (task 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> (task T231945) by C. Scott Ananian
  • git #f7b50d27 - Unconditionally add D modifier to regexps ending in $ check (task 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 (task T208360) (task 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 (task T156099) (task 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 (task 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]

TimedMediaHandler[edit]

Translate[edit]

TranslationNotifications[edit]

UploadWizard[edit]

VipsScaler[edit]

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

VisualEditor[edit]

Wikibase[edit]

WikibaseLexeme[edit]

WikibaseMediaInfo[edit]

wikihiero[edit]

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

WikiLambda[edit]

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