MediaWiki 1.31/wmf.16/Changelog

Core changes

 * - CSSMin: Re-introduce whitespace mangling in embedded SVGs
 * - Fix type hint in ApiErrorFormatter::addMessagesFromStatus
 * - Use IDatabase interface instead of Database in DBAccessBase
 * - Update outdated WikiPageDeletionUpdates documentation
 * - Move BaseDump into includes/export/
 * - Follow-up 8a7fb8577: For deprecated RL modules, allow strings
 * - Pass along interface language to license preview
 * - Add text to tab links telling if they do exist
 * - [MCR] Improve documentation and method naming on Revision and RevisionStore.
 * - Assert order of MediaWikiTestCaseSchema*Test execution
 * - Fix BlobStoreFactoryTest @covers tag
 * - Add Help Page link in Special:ApiSandbox
 * - Added Tests for ContentModelLogFormatter
 * - Improve some parameter docs
 * - Add Help Page link in Special:ExpandTemplates
 * - Fix dropping of temp tables on SQLite and PG.
 * - Add ul { margin-top: 0; margin-bottom: 0 } for multi-column
 * - Make FormatMetadata::flattenArrayReal work for an associative array
 * - Add options and join conds to MediaWikiTestCase::assertSelect
 * - Introduce DB schema overrides for unit tests.
 * - Set a default delimiter in Database::sourceStream
 * - RCLFilters: reword target placeholder
 * - RCFilters: Fix limit display for limit=1
 * - Update nikic/php-parser to 3.1.3
 * - rdbms: Remove unused setServerInfo/getServerInfo methods from LoadBalancer
 * - Fix Maintenance::output when called very early
 * - Added Tests for ListToggle
 * - Use namespaced version of IDatabase
 * - Follow-up 6f07389ef2eb: fix variable name
 * - Moved textbox1 building into TextConflictHelper on edit conflicts
 * - Add tests for ApiFormatRaw
 * - [MCR] fix RevisionStore::checkDatabaseWikiId for DB names with dashes.
 * - Add switch for readonly watchlists
 * - [MCR] Tests for WikiPage::doUpdateRestrictions
 * - Remove deprecated back-compat HtmlFormatter class
 * - Treat phpdbg as run from the command line when checking PHP_SAPI
 * - Bump dev dependency composer/spdx-licenses to 1.2.0
 * - HTMLTextAreaField: Add 'useeditfont' param
 * - Add tests for ApiFormatBase
 * - Fix typo in PostgresUpdater in I30a3a983
 * - Allow programmatic input in Command
 * - Add semantic tags to license info text
 * - Display the file sha1 value in the file info page
 * - Add message to the assert of ApiClearHasMsgTest
 * - Fix RepoGroup caching bug
 * - Mark DBError as runtime exception
 * - Convert Preferences class into PreferencesFactory service
 * - Put menus/popups of infused PHP widgets into the default overlay
 * - Remove duplicate names from CREDITS
 * - OOjs UI: Fix font size for default overlay
 * - Follow-up Ic67a6f1af: RCFilters: Untypo the recurring namespaces typo
 * - Update OOjs UI to v0.24.4
 * - RCFilters: Correct looking for items in namespace group
 * - Pass $title to RevisionStore in Revision::newFromArchiveRow
 * - Add test for DBConnRef
 * - Expand templates: Change 'text' to 'wikitext'
 * - Expand templates: Use editfont on wikitext inputs
 * - ApiComparePages: Add 'fromsection' and 'tosection' parameters
 * - MCR database schema
 * - Cleanup live update feature flag and FilterWrapperWidget
 * - Add some @noinspection flags to doPostOutputShutdown

Vendor

 * - Update OOjs UI to v0.24.4
 * - Add lucene-explain-parser

3D

 * - Use SPDX 3.0 license identifier

AbuseFilter

 * - Use SPDX 3.0 license identifier

ActiveAbstract

 * - Use SPDX 3.0 license identifier

AdvancedSearch

 * - Mirror state of namespace selection in indicator
 * - Update AdvancedSearchRequest Logging Schema version
 * - Don't manipulate global namespaces
 * - Use SPDX 3.0 license identifier

AntiSpoof

 * - Use SPDX 3.0 license identifier

ApiFeatureUsage

 * - Use SPDX 3.0 license identifier

ArticlePlaceholder

 * - Use SPDX 3.0 license identifier

Babel

 * - Removed deprecated position statements from resource loader module
 * - Use namespaced version of IDatabase and LoadBalancer
 * - Use SPDX 3.0 license identifier

BetaFeatures

 * - Use SPDX 3.0 license identifier

BounceHandler

 * - Use SPDX 3.0 license identifier

Calendar

 * - Use SPDX 3.0 license identifier

Campaigns

 * - Use SPDX 3.0 license identifier

Capiunto

 * - Use SPDX 3.0 license identifier

CategoryTree

 * - Use SPDX 3.0 license identifier

CentralAuth

 * - Improve some parameter docs
 * - Fix all kinds of type safety warnings accross the code base
 * - Minor fixups to documentation, imports, and such
 * - Don't use deprecated wfGlobalCacheKey

CharInsert

 * - Use SPDX 3.0 license identifier

CheckUser

 * - Use SPDX 3.0 license identifier

CirrusSearch

 * - Use namespaced version of LoadBalancer
 * - [cleanup] Simplify phrase suggester settings
 * - [cleanup] remove comp suggest beta feature support
 * - [cleanup] remove BC code check for SearchEngine::getSort
 * - Use SPDX 3.0 license identifier
 * - Do not throw if request was performed by other engine.
 * - Revert "Add backend support for the new crossproject result page A/B test"
 * - Use target wiki config when checking rescore profile
 * - Better grouping for can't-figure-out-what-caused-match error
 * - Remove leading backslashes from "use \…" tags
 * - Check if $responseData['responses'] is set before use
 * - Fix metastore dump

Cite

 * - Use SPDX 3.0 license identifier
 * - Address PhanUndeclaredClassMethod warning
 * - doc: Bump copyright year
 * - MWReferenceNode: Generate 'sup' tags by default
 * - Allow mw-ref rules apply to any element

CiteThisPage

 * - Use SPDX 3.0 license identifier

Citoid

 * - Improve some parameter docs

CleanChanges

 * - Use SPDX 3.0 license identifier

CodeEditor

 * - Match font and size to other source editors
 * - build: Update stylelint
 * - Use SPDX 3.0 license identifier
 * - Fix WikiEditor dependencies

CodeMirror

 * - Make NWE integration background transparent
 * - Fix WikiEditor dependencies
 * - Expect that deprecated mediawiki.toolbar may not be available
 * - Use SPDX 3.0 license identifier

CodeReview

 * - Improve some parameter docs
 * - Use SPDX 3.0 license identifier

Cognate

 * - Use SPDX 3.0 license identifier

CollaborationKit

 * - Use SPDX 3.0 license identifier

Collection

 * - Change global function to closure in usort
 * - Use SPDX 3.0 license identifier

CommonsMetadata

 * - Use SPDX 3.0 license identifier

ConfirmEdit

 * - Use SPDX 3.0 license identifier

ContactPage

 * - Use SPDX 3.0 license identifier

ContentTranslation

 * - Customize personal header
 * - Use namespaced version of IDatabase and ResultWrapper
 * - Stars must align
 * - Use SPDX 3.0 license identifier
 * - Balance padding around logo

CreditsSource

 * - Use SPDX 3.0 license identifier

Dashiki

 * - Use SPDX 3.0 license identifier

DisableAccount

 * - Use SPDX 3.0 license identifier

DismissableSiteNotice

 * - Use SPDX 3.0 license identifier

DonationInterface

 * - Fallback on NumberFormatter construct failure

DoubleWiki

 * - Use SPDX 3.0 license identifier

DynamicSidebar

 * - Use SPDX 3.0 license identifier

Echo

 * - Format user-rights reason as plain text
 * - Selenium test: alerts and notices are visible after logging in
 * - Fix "Mark as read" button icon on no-JS
 * - PresentationModelSectionTrait: Use section anchor generation from code

EducationProgram

 * - Type hint against IDatabase instead of Database
 * - Use SPDX 3.0 license identifier
 * - Fix wgRestrictionEdit not exists in mw.config

Elastica

 * - Use SPDX 3.0 license identifier
 * - Fail gracefully if curl is not installed
 * - Remove iterateOverScroll

ElectronPdfService

 * - Update eslint and stylelint
 * - Use SPDX 3.0 license identifier

EventBus

 * - Use SPDX 3.0 license identifier

EventLogging

 * - Use SPDX 3.0 license identifier

FlaggedRevs

 * - Use namespaced version of IDatabase and fix param doc

Flow

 * - Use namespaced version of IDatabase and ResultWrapper
 * - Remove obsolete text from self-explaining code
 * - Remove unused access to (Special)CheckUser object
 * - Don't ship unused templates to the client
 * - Remove unused cancel buttons and some other things
 * - Remove the old editor system
 * - Make the tour module depend on ext.guidedTour
 * - Fix CheckUser type check thingy

Gadgets

 * - tests: Add @covers tags

GeoData

 * - Use namespaced version of IDatabase and LoadBalancer

Linter

 * - Use SPDX 3.0 license identifier

LiquidThreads

 * - Fix WikiEditor dependencies

MassMessage

 * - Putting MassMessage Extension in PHP namespace MediaWiki\MassMessage

MobileFrontend

 * - Treat mw-stack elements as if they are infoboxes
 * - Add debugging information to flakey test
 * - Hygiene: Begin refactoring of MobileFormatter mega class
 * - Docs: update browser test documentation
 * - Use editfont in mobile.editor
 * - Remove superfluous documentation snippets
 * - Fix mobile talk page editor failure when the talk page is a redirect

Newsletter

 * - Fix incorrect subscriber count updates

OAuth

 * - Use namespaced version of DBError, DBConnRef and IDatabase

ORES

 * - Rename scoring variables to scoreFetcher
 * - Reorder attributes in ThresholdLookup
 * - Tests for FetchScoreJob
 * - Add tests for HashModelLookup
 * - Split Hooks::onChangesListSpecialPageStructuredFilters
 * - Use SPDX 3.0 license identifier
 * - Rewrite README file
 * - Rename Api class to ORESService
 * - Minor fixes to ORES\Hooks
 * - Update model version when model lookup can't find the model
 * - Rename and cleanup Scoring.php
 * - Add missing covers tags
 * - Follow up to I4246706
 * - Fully deprecate Cache.php
 * - Remove maintenance/CheckModelVersions.php
 * - Clean up ThresholdLookup
 * - Integration tests for API
 * - Introduce ScoreStorage and its Sql implementetion

PageAssessments

 * - Use namespaced version of IDatabase and ResultWrapper
 * - Ensure project name is set on 2nd loop when saving

PageImages

 * - Use namespaced version of FakeResultWrapper

Popups

 * - Better error handling for unexpected responses

ProofreadPage

 * - Improve some parameter docs

PropertySuggester

 * - Type hint against IDatabase instead of Database

QuickSurveys

 * - Remove .gitkeep files in non-empty folders

RevisionSlider

 * - Use SPDX 3.0 license identifier

Score

 * - Regression fix for TMH + Score integration
 * - Migrate TiMidity++ to fluidsynth
 * - Use Language class to get languages names instead of hardcoding
 * - Remove midi checkbox from VisualEditor
 * - Add support for notes languages
 * - Remove extra indentations from lilypond template
 * - Check for PNG metadata before generating HTML

SubpageSortkey

 * - Improve some parameter docs

SyntaxHighlight_GeSHi

 * - Drop symfony/process dependency, use Shell\Command instead

TemplateSandbox

 * - Use OOUI form on special page
 * - Use editfont on wikitext input

TimedMediaHandler

 * - Fix return void in SpecialOrphanedTimedText::execute

TitleBlacklist

 * - TitleBlacklistPreAuthenticationProvider: Add null assert

Translate

 * - Add "This page requires JavaScript" notes to special pages
 * - Remove or regenerate PNG files for Translate
 * - Add MessageIndex::getKeys
 * - CdbMessageIndex: do not store keys twice

TwoColConflict

 * - Fix detection of WikiEditor and toolbar

UniversalLanguageSelector

 * - Removed deprecated position statements from resource loader module
 * - Prevent page scroll to top while clicking on language settings icon

VisualEditor

 * - MWImageModel: Check selectedNode exists before asking for property
 * - Remove unused module alias "unicodejs.wordbreak"
 * - Fix context menu for mobile TargetWidgets
 * - Update VE core submodule to master (b04645ac8)
 * - Update AUTHORS.txt for the last couple of years' work
 * - Update VE core submodule to master (9d7035436)
 * - doc: Bump copyright year
 * - Update VE core submodule to master (8c5e78c7f)
 * - Fix editfont size in source mode
 * - Move things that are not modules out of modules/ directory
 * - Remove unused files loading-ltr.gif, loading-rtl.gif
 * - ve.ui.MWSettingsPage: Fix doc comment

WikiEditor

 * - Emit deprecation warnings when old modules are used
 * - Follow-up I51745e8: Make all old modules aliases of 'ext.wikiEditor'
 * - Save/restore selection in all browsers
 * - Remove browser compatibility checks
 * - Merge all the non-styles-only ResourceLoader modules into one
 * - Radically simplify this extension now there's only one config option
 * - Follow-up 781504057a: Remove the 'dialogs' config object, no longer read
 * - Drop the never-finished "Labs" publish and preview features

Wikibase

 * - getAllStatements and access to property by name
 * - Don’t use `self` reference in type hint
 * - Don't use generic ID parser when a PropertyId is required
 * - Type hint EntityDeserializer as DispatchableDeserializer
 * - Add missing import to WikibaseServices
 * - Fix broken SiteStore type hint in SitesBuilder
 * - Declare RevisionData::$siteId property
 * - Remove unused arguments
 * - Phan: add stubs for the part of PageImages extension that Wikibase uses
 * - Add missing "use" to ChangeNotifier
 * - Document restriction of master_fallback mode
 * - Define class properties in SPARQLClient
 * - Phan: load Data Access component files
 * - Remove not needed CentralIdLookupFactory::getInstance
 * - Use "self" references instead of repeating the class name
 * - Use namespaced version of DatabaseMysql
 * - Use CdnCacheUpdate instead of deprecated SquidUpdate
 * - Type hint against IDatabase instead of Database
 * - Temporarily allow failures of Travis PHP 5.5 lang=ru job
 * - Use Daniel Werners preferred email address
 * - Replaced ->rawParams with ->plaintextParams
 * - Remove editable flag in EntityParserOutputGenerator
 * - Show references on the diff page
 * - Revert "Do not collapse references on diffs/old revisions"
 * - Hint against IDatabase in EntityUsageTableTest
 * - Fix accidental reference to IDatabase in docs.
 * - Start using RevisionRecord in favor of Revision in trivial cases

WikibaseQualityConstraints

 * - Use self reference instead of repeating the class name
 * - Declare dependency on jquery.makeCollapsible
 * - Add type hint to array|null parameter
 * - Add discuss link to constraint reports
 * - Make constraint report border flush with help link
 * - Improve ConstraintParameterParserTest function names
 * - Track cache hit/miss counts per-entity
 * - Inject StatsdDataFactory everywhere
 * - Catch ConstraintParameterException in SparqlHelper
 * - Get revision IDs in bulk
 * - Remove the starting slash from @covers tags
 * - Remove stray @package tag
 * - Remove @uses from README.md
 * - Add missing @param docs and such

intersection

 * - Improve some parameter docs

MinervaNeue

 * - Avoid OOUI/download icon nameclash
 * - Fix notifications always appearing as unseen
 * - Revert "Fix infobox styles to work well with multiple column infobox rows"
 * - Fix infobox styles to work well with multiple column infobox rows

MonoBook

 * - OOjs UI: Fix font size for default overlay

Vector

 * - OOjs UI: Fix z-index and font size for default overlay