MediaWiki 1.32/wmf.3/Changelog

Core changes

 * - tidy: Remove obsolete Depurate and Balancer drivers
 * - selenium: Minor clean-up in preparation for packaging
 * - jquery.makeCollapsible: Fix typo in documentation
 * - RELEASE-NOTES-1.32: Follow-up f1d0d364c4d, explain this is alignment not quality loss
 * - jquery-tablesorter and sortable classes always added together
 * - mediawiki.util: Drop updateTooltipAccessKeys, deprecated since 1.24
 * - mediawiki.util: Drop escapeId, deprecated since 1.30 and unused
 * - RELEASE-NOTES-1.32: Some cleanup
 * - HTMLTitleTextField: Allow this field to not be required
 * - rdbms: fix finalization stage errors in LBFactory::commitMasterChanges
 * - tests: Add some more @covers tags
 * - Don't globally disable PHPCS's prohibition of assert
 * - resourceloader: Deprecate OutputPage::addModuleScripts
 * - Special:ListFiles: Convert to use OOUI
 * - Replace deprecated ObjectCache and CommentStore calls in filerepo
 * - Remove empty skins folder from phan config
 * - rdbms: set cpPosIndex to null in ChronologyProtector::shutdown on failure
 * - Fix class/function case mismatches
 * - Remove deprecated SqlDataUpdate class
 * - skins: Move default style modules to getDefaultModules
 * - rdbms: consolidate LBFactory code for running callbacks
 * - resourceloader: Improve coverage of SkinModule
 * - jsjpegmeta: Move export patch to a separate file
 * - Add Ambonese Malay (abs) to Names.php
 * - CLDRPluralRuleParser: Move from src/ to lib/ without local patch
 * - moment: Put src files for moment in their own directory
 * - Add 'logid' parameter to Special:Log
 * - resourceloader: Improve test coverage of ResourceLoader::register
 * - API: Add ApiParseTest case for 'styles' in getDefaultModules
 * - Use AutoCommitUpdate in LinksUpdate::doUpdate
 * - Skin: Remove the cache-compat remainings of mediawiki.sectionAnchor
 * - resourceloader: Remove remnants of "dependencies as a function"
 * - Make DeferredUpdates avoid running during LBFactory::commitMasterChanges
 * - RELEASE-NOTES-1.31: More cleanup
 * - mediawiki.jqueryMsg: Remove deprecated window.gM method
 * - RELEASE-NOTES-1.31: Add notes for I94377faa51
 * - RELEASE-NOTES-1.31: Add notes for I8228cdd3b
 * - RELEASE-NOTES-1.31: Add notes for Ia76dd6db363
 * - RELEASE-NOTES-1.31: Wrap to 80 chars and fix up
 * - Make DeferredUpdates re-throw exceptions during testing.
 * - Replace wfGetLB
 * - Use OOUI form for edit watchlist
 * - Remove three deprecated functions from the Revision class.
 * - sortable tables/mw-collapsible no longer causes page jump
 * - Silence TransactionProfiler in MediaWiki::triggerSyncJobs
 * - CSSMin: Add more edge cases with spaces to CSSMinTest
 * - selenium: Apply relPath to the exclude option for CirrusSearch
 * - selenium: Increase mochaOpts.timeout from 20s to 60s
 * - Declare LogFormatter::$parsedParameters property
 * - Remove $wgExperimentalHtmlIds and related code, deprecated in 1.30
 * - mediawiki.api: Check that query exists in api.getToken response
 * - rdbms: improve log warnings in runMasterPostTrxCallbacks
 * - Upgrade QUnit from 2.4.0 to 2.6.0
 * - selenium: Run wdio directly without grunt
 * - Use OOUI form for 'clear' and 'raw edit' of watchlist
 * - Use BlockListPager::getLimitSelectList in Special:BlockList and Special:AutoblockList
 * - Sort user groups in Special:Listusers
 * - CRH Transliteration Pattern Matching Fixes
 * - Use proper namespace name on Special:RelatedChanges
 * - resourceloader: Remove creation of dynamic-styles marker
 * - Cleanup the element matches in doBlockLevels a bit
 * - mw.widgets.visibleLengthLimit: Do not show countdown until last 99 characters

Vendor

 * - Update wikibase/data-model to 7.5.0

AbuseFilter

 * - Add an option to hide bots in /test
 * - Fix flags checkboxes broken in recent patch
 * - Replace wfGetLB
 * - Prevent the user from overriding blacklisted variables
 * - Show "blocktalk" in AbuseFilter diff and improve message generation
 * - Remove unused code
 * - Fix an undeclared variable in block options
 * - Don't let enabled filters be marked as deleted
 * - Re-apply fix to show textarea when JS is disabled
 * - Use OOUI buttons instead of plain links and Html::errorbox for errors
 * - Reduce use of globals in favor of Config
 * - Show only changed sections in diffs

AdvancedSearch

 * - Remove the additional x (ms-clear) from input fields
 * - Update template link generation to use mw.Title class.

ArticlePlaceholder

 * - Replace wfGetLB

Babel

 * - security: add 'phan-tain-check-plugin' to Babel
 * - Replace wfGetLB
 * - Add Phan tests to Babel
 * - Don't assume MWHttpRequest::execute will return Status
 * - Avoid recursive parser invocation during test setup.

BetaFeatures

 * - Fix alignment of title'd checkboxes after OOUI change

CentralAuth

 * - Use Status::wrap to format a status object
 * - Reword some messages to provide more accurate scope
 * - Replace wfGetLB
 * - Sort CentralAuth messages alphabetically

CirrusSearch

 * - Add a simple markup interface to identify legacy keywords
 * - Regenerate autoload.php to fix improper `phpcs:ignoreFile` usage
 * - Ensure that SiteMatrixSites is empty before running the test
 * - Simplify frozen writes
 * - Prefix should not override the SearchContext namespace
 * - Hide BaseSimpleKeywordFeatureTest::mockContextExpectingAddFilter
 * - Use string 'true' for boolean query param
 * - Unify keyword tests
 * - Pass string flags in query parameters
 * - Remove include_in_all mapping configuration
 * - Create Analysis Chain for Slovak Using Slovak Stemmer
 * - Add KeywordFeature::expand
 * - Drop SearchContext::(set|is)Fuzzy

Cite

 * - Support directionality for reference

CiteThisPage

 * - Bump phan-taint-check 1.1.0->1.2.0

CodeEditor

 * - Add phan-taint-check as version 1.2.0

CollaborationKit

 * - Pass revid to Content::getParserOutput

ConfirmEdit

 * - Bump phan-taint-check 1.1.0->1.2.0

ContentTranslation

 * - CX2: Fix an issue when restoring mt-only section saved with CX1
 * - Make version parameter persistent
 * - Replace #parseWikitextFragment with #getContentApi and #getPageName
 * - Only hide toolbar right-borders on WMUI skins
 * - CX2: Translation source toolbar too wide in Apex/monobook
 * - Fix ref to target.siteMapper
 * - CX2: Fix error when no MT providers available
 * - Remove unused cx-tools-link-hover-tooltip message
 * - Clean up a bit catch-all config object for main classes
 * - CX2: Save categories in drafts
 * - Remove tools RL modules that are now replaced by VE tools
 * - Avoid loading old CX tools RL modules
 * - Update description API

FileImporter

 * - Add tests for FileChunkSaver
 * - Remove invalid TODOs
 * - Add a custom error page for unified error handling
 * - Always use filename without extension in ChangeFileNameForm
 * - Allow parsed wikitext in RecoverableTitleException

FlaggedRevs

 * - Replace wfGetLB
 * - FlaggablePageView: Let other editors know which revision of the page to edit

Flow

 * - FlowPresentationModel: Remove unused variables and minor cleanup

Gadgets

 * - Bump phan-taint-check 1.1.0->1.2.0

GeoData

 * - GeoFeatureTest::testGeoWarnings don't use "Foobar" as a title

GlobalCssJs

 * - Replace wfGetLB
 * - Use addModules instead of addModuleScripts

GlobalUsage

 * - Remove unused argument from GlobalUsageCachePurgeJob constructor
 * - Improve param docs

GlobalUserPage

 * - Use Status::wrap to format a status object

ImageMap

 * - Bump phan-taint-check 1.1.0->1.2.0

InputBox

 * - Bump phan-taint-check 1.1.0->1.2.0
 * - Fix a phan-taint-check false positive

Interwiki

 * - Bump phan-taint-check 1.1.0->1.2.0

Kartographer

 * - Latitude and longitude are reversed
 * - Build: Verify no external lib files were touched directly
 * - Update to latest mapbox lib
 * - Follow-up d99b4d7: add missing util dependency to VE module
 * - Add maintenance script to purge pages with map tags
 * - ve.dm.MWMapsNode: Don't hard-code server and style

LdapAuthentication

 * - Fix type hint for BaseTemplate

Linter

 * - Add IPv6 localhost to default whitelist along with IPv4 localhost

LiquidThreads

 * - Change in "New message (none)" in LiquidThreads.

LocalisationUpdate

 * - Bump phan-taint-check 1.1.0->1.2.0

LoginNotify

 * - Do not send email notice for throttled login attempts

MassMessage

 * - Convert SpamlistLookup::getTargets to WANObjectCache
 * - Use MediaWiki core's new WikitextLogFormatter

Math

 * - Disable PHPCS more narrowly

MobileFrontend

 * - Get overridden description in mobileview API
 * - Update Drawer appearance to bring better focus and spacing to drawers
 * - Hygiene: replace calledOnce / Twice w/ callCount
 * - Hygiene: remove HTTP requests in Watchstar constructor
 * - Hygiene: remove unused code in test_Watchlist
 * - Fix: remove undefined step from test
 * - Don't trigger API requests during Qunit execution
 * - Fix: limit WatchlistGateway to 50 not 51 results
 * - Hygiene: rename InfiniteScroll to ScrollEndEmitter
 * - Hygiene: rename and symbolize InfiniteScroll event
 * - Hygiene: fix JSDuck WatchStarPageList hierarchy
 * - Fix: bugs in watchstars
 * - Fix: boolean conversion of watch in WatchstarGateway
 * - Add missing use statement

MultimediaViewer

 * - Bump phan-taint-check 1.1.0->1.2.0

NavigationTiming

 * - ext.navigationTiming: Listen for window.onload, not document.onload
 * - Revert "Don't trust loadEventEnd being set immediately"
 * - Emit SaveTiming without relying on getNavTiming
 * - Don't trust loadEventEnd being set immediately

Newsletter

 * - Replace wfGetLB

Nuke

 * - Bump phan-taint-check 1.1.0->1.2.0

OATHAuth

 * - Bump phan-taint-check 1.1.0->1.2.0

OAuth

 * - Replace wfGetLB
 * - Improve param docs

ORES

 * - build: Remove left-over .jscsrc file

OpenStackManager

 * - Fix type hint for BaseTemplate

PageTriage

 * - Making period optional in regex for RfD (to match Twinkle)
 * - Fixing broken discussion location detection for RfDs

ParserFunctions

 * - Update phan-taint-check version 1.1.0 -> 1.2.0

PdfHandler

 * - Configure phan-taint-check-plugin

Poem

 * - Upgrade phan-taint-check-plugin to 1.2.0

Popups

 * - Remove A/B testing code
 * - Update extension authors
 * - Remove remaining references to beta

ProofreadPage

 * - Makes sure that the WikiEditor is setup before building Page: pages editing interface
 * - Adds Context::getConfig as an easy way to get ProofreadPage configuration
 * - PagesTagParser: Make the page separator a configuration variable

RSS

 * - Use Status::wrap to format a status object

RelatedSites

 * - Add pages using this ext to a tracking category

Renameuser

 * - Upgrade phan-taint-check-plugin to 1.2.0

Score

 * - Use Status::wrap to format a status object

Scribunto

 * - Localize into inh

SecurePoll

 * - Replace wfGetLB

SpamBlacklist

 * - Upgrade phan-taint-check-plugin to 1.2.0

SyntaxHighlight_GeSHi

 * - Upgrade phan-taint-check-plugin to 1.2.0

Thanks

 * - Use new Special:Log?logid=xxx URL for notification link
 * - Update icon to latest from OOUI

TimedMediaHandler

 * - Do not load ApiTestCaseUpload
 * - Remove unnecesary disabling of PHPCS

TitleBlacklist

 * - Upgrade phan-taint-check-plugin to 1.2.0

Translate

 * - Replace wfGetLB
 * - Remove unnecessary disabling of PHPCS
 * - Update for the actor table change
 * - Refactor TranslationUpdateJob to use only primitive types for parameters

UniversalLanguageSelector

 * - Documentation: Update sfntly URL and formatting
 * - Remove return from hook handler
 * - Use local variable in maintenance script

UploadWizard

 * - $.arrowSteps fixes
 * - Remove broken prefillAuthor method
 * - Use $-prefix for jQuery objects, and avoid double wrapping

VipsScaler

 * - Use Status::wrap to format a status object

VisualEditor

 * - Add comment to htmlBlacklist item
 * - Remove some no longer required CSS from switch popup
 * - Follow-up Ifdc951fdc: Don't use target when it doesn't exist
 * - Update VE core submodule to master (c4ad0a7e3)
 * - Update link cache to use new descriptions API
 * - Add an 'api' parameter to ApiResponseCache
 * - Remove references to global singleton inside LinkCache
 * - Create an MWSurface and move langChange handling there
 * - Create getters for localised APIs (getContentApi/getLocalApi)
 * - Remove unused overrides in internal link annotation inspector
 * - Use ve.resolveUrl in MediaContext/Dialog
 * - ve.init.mw.DesktopArticleTarget.init: Edit the latest revision when viewing a FlaggedRevs-stable one
 * - Check imageModel exists in #checkChanged
 * - DesktopArticleTarget: track mwedit.ready even if skipping temp editor for new sections
 * - Use Tool.$link.focus for highlighting now OOUI styles :focus
 * - Rebaser: Add more aliases for special page
 * - MWBlockImage: Make zoom link unclickable

WikiEditor

 * - Upgrade phan-taint-check-plugin to 1.2.0

Wikibase

 * - Add capability to exclude properties from by-type index
 * - Add capability to index any property by type
 * - Add a border around commons media thumbnails
 * - Rewrite CommonsInlineImageFormatter
 * - Make names and phpdoc of UsageAspectTransformer match reality
 * - Replace wfGetLB
 * - EntityUsageTable: Remove useless atomic section
 * - Let entities clear themselves
 * - EditEntity: Use consts for param names
 * - Rebuild autoload.php to fix improper `phpcs:ignoreFile` usage
 * - Revert "Skip tests failing in CI"
 * - Skip test depending on CirrusSearch.
 * - AffectedPagesFinder need to find pages when the aspect without modifier is used
 * - Make merge items api error reporting similar to its special page counterpart
 * - Summary: Allow (re)setting of args
 * - Skip tests failing in CI
 * - Skip tests if cirrus search not present
 * - Added monolingual code shy

WikibaseQualityConstraints

 * - Don’t try to access null message’s message key
 * - Add separators parameter to Context::getSnakGroup
 * - Fix order of parameter name and type
 * - Add support for parsing separators parameter
 * - Format one-of message documentation as proper list
 * - Add 'none of' constraint
 * - Use “Wikibase property” item instead of “Wikidata property”
 * - Use separate settings for each entity type item ID
 * - Extract EntityTypesParameter class
 * - Read database credentials from LocalSettings.php
 * - Add 'allowed entity types' constraint
 * - Avoid using \MediaWikiTestCase if not necessary

WikimediaEvents

 * - Fix hook handler return doc
 * - Update campaign prefix for onBeforeInitializeWMDECampaign hook

WikimediaMaintenance

 * - Replace wfGetLB

WikimediaMessages

 * - Add eventcoordinator into WikimediaMessages
 * - Update wikidata-copyright to match wd.o/MediaWiki:Wikidata-copyright

cldr

 * - Add more translations for Germany
 * - Add missing language "eya"

wikihiero

 * - Improve var docs

MinervaNeue

 * - Hygiene: replace calledOnce / Twice w/ callCount
 * - Move skin metadata keys to top of skin.json
 * - Override 'core' styles for Minerva
 * - Content area needs a z-index
 * - Run `npm test` as a pre-commit hook

Modern

 * - Add phan configuration for static analysis

MonoBook

 * - Configure phan

Timeless

 * - Add phan configuration
 * - Make misc content styles selector less specific
 * - Move classes to includes/
 * - Prevent logo text overlapping icons on small mobile displays

Vector

 * - Add phan configuration for static analysis