MediaWiki 1.32/wmf.16/Changelog

Core changes

 * - Fix incorrect method name
 * - Whitelist phpcs Squiz.Scope.MemberVarScope in PHPVersionCheck
 * - Remove @abstract annotation
 * - Replace @remarks by @note
 * - Remove @uses annotation from XhprofDataTest
 * - LogEventsList: Stop showing deprecation warning when $input is empty
 * - RemexCompatMunger: Don't call endTag in case B/b
 * - Do not return invalid hash from ApiStashEdit
 * - mediawiki.util: Remove deprecated noop function mw.util.init
 * - Make maintenance scripts fail on unknown parameters
 * - Clean up param handling in ApiStashEdit
 * - Remove comment about fixed codesniffer bug
 * - Use localised language name for Santali
 * - Add safeguard against loading content across wikis.
 * - Use log_page as the rc_cur_id for log entries in rebuildrecentchanges.php
 * - Add language support for Western Armenian (hyw)
 * - Set the previous size for page creations to zero in rebuildrecentchanges.php
 * - Fix param doc of MysqlMaintenance::runMysql
 * - Change name of Santali to localized version
 * - Give a bit of love to EditPage docstrings
 * - Don't pass false as a wikiId to invalidateModuleCache
 * - Fix article counting logic in DerivedPageDataUpdater
 * - Update Parser to use ContentLanguage
 * - Document cross-wiki cache sharing logic.
 * - Introduce RevisionStoreFactory & Tests
 * - Follows-up d78869207
 * - Add maintenance script for deleting local passwords
 * - Add PasswordFactory to MediaWikiServices
 * - ChangesList: HTML escape the timestamp
 * - Document Parser::$mFirstCall
 * - Special:NewPages: Add hidden fields using HTMLForm
 * - Add an explicit check for correct operation to ExifRotationTest
 * - travis: No longer allow failures for postgres
 * - Update OOUI to v0.27.6
 * - Disable PHPUnit tests that fail under postgres
 * - Fix PerDbnameStatsdDataFactory metric prefix again
 * - Move generic HTMLSizeFilterField styles from newpages.less
 * - SpecialNewpages: Preserve values of show/hide links on form submission
 * - Don't generate RC entries for filterable log types
 * - Clarify IDatabase docs for upsert and replace
 * - resources: Upgrade jquery.i18n from 1.0.4 to 1.0.5
 * - Convert file delete to use OOUI
 * - Remove deprecated variable usage from Maintenance.php
 * - Test ApiQuerySiteinfo
 * - Automatically reset namespace caches when needed
 * - Improve OutputPage test coverage more
 * - Reset interwiki table between tests
 * - New helper ApiTestCase::setExpectedApiException
 * - Update MagicWord to use ContentLanguage
 * - Update ServiceWiring to use ContentLanguage
 * - Remove long-dead OutputPage methods set/getPageTitleActionText
 * - Convert remaining MagicWord:: calls to MagicWordFactory
 * - Disable PHPUnit tests that fail under sqlite
 * - Introduce MediaWikiTestCase::markTestSkippedIfDbType
 * - Introduce ContentLanguage service to replace $wgContLang
 * - Fix pingback on non-MySQL
 * - Fix total breakage of SQLite web upgrade
 * - Disable "...able to change preferences" browser test
 * - Update MagicWordArray to use MagicWordFactory
 * - Fixing linkTrail problem for Urdu language.
 * - Update categoriespagetext message
 * - Avoid ChronologyProtector warnings in the web upgrader
 * - Force phan-taint-check to think LogFormatter stuff is safe for html
 * - [MCR] Allow extensions to manipulate service instances
 * - SpecialNewPages: Fix omitted Show/Hide redirect value

Vendor

 * - Update OOUI to v0.27.6

AbuseFilter

 * - Remove HitCounters from AbuseFilter and use hooks instead
 * - Add phpunit tests for noparams and notenoughargs exceptions
 * - Use noparams exception and correctly count function parameters
 * - Add other phpunit test for AFPUserVisibleException

AdvancedSearch

 * - Configure phan-taint-check-plugin
 * - Delay all initialization until advanced options panel is expanded

AntiSpoof

 * - AntiSpoofPreAuthenticationProvider: Fix ternary operator bug

ApiFeatureUsage

 * - Configure phan-taint-check-plugin

ArticlePlaceholder

 * - Remove superfluous @throws
 * - Use setContentLang in tests

BetaFeatures

 * - Don't run replace if there's no rows to replace
 * - Add missing method visibility keywords

BounceHandler

 * - Configure phan-taint-check-plugin

Calendar

 * - Configure phan-taint-check-plugin

Campaigns

 * - Configure phan-taint-check-plugin

Capiunto

 * - Configure phan-taint-check-plugin

CategoryTree

 * - Fix some raw html messages
 * - Remove trailing \r\t\t

CentralAuth

 * - Maintenance script to delete the local passwords of central accounts

CharInsert

 * - Configure phan-taint-check-plugin

CheckUser

 * - Init array variable

CirrusSearch

 * - Start using the archive alias

Cite

 * - Make references not inherit bold or italic styling.

Citoid

 * - Configure phan-taint-check-plugin

CodeMirror

 * - Configure phan-taint-check-plugin

Cognate

 * - Minor fixes to PHPDoc tags
 * - Minor improvements to code coverage tags and type hints

CollaborationKit

 * - Simplify code around use of $wgCollaborationHubAllowedNamespaces
 * - build: Updating mediawiki/mediawiki-codesniffer to 21.0.0

Collection

 * - Remove : from return type in param doc
 * - Minor fixups as found by PHPCS
 * - Better undefined index protection
 * - Update Foundation url
 * - Provide undefined index free access to collection

CommonsMetadata

 * - Configure phan-taint-check-plugin

CongressLookup

 * - Configure phan-taint-check-plugin

ContentTranslation

 * - Declare various class fields
 * - Revert "Declare various class fields"
 * - Declare various class fields
 * - Use #isEditable to toggle the edit button
 * - CX2: Handle the MT failures gracefully
 * - Show issue cards when they are relevant
 * - Revert some parts of fe82d31f3e3bf684c2ccf2cfeeba
 * - Simplify some returns
 * - Fix a couple of instances of bad whitespace
 * - Configure phan-taint-check-plugin
 * - Use automatically generated toolgroup class names
 * - Use 'new' class to make link red
 * - Prevent publishing translation with too much unmodified content
 * - Change MT abuse warning messages
 * - De-duplicate link inspector code
 * - Add placeholder for Cite menu
 * - Fix content generated for translation from scratch
 * - TranslationController: Remove a comment about uncompressed save data

ContributionTracking

 * - build: Updating mediawiki/mediawiki-codesniffer to 21.0.0

CreditsSource

 * - Configure phan-taint-check-plugin

Dashiki

 * - Configure phan-taint-check-plugin

DisableAccount

 * - Configure phan-taint-check-plugin

Disambiguator

 * - Configure phan-taint-check-plugin

DonationInterface

 * - Improve param docs
 * - Re-enable opt_in buttons for GB and IE
 * - Copy es messages to es-419 (Latin American)
 * - Parameterize support email in messages
 * - Update opt-in text to version approved by Legal
 * - Get rid of traces of old 'optout' field.
 * - Less repetition of logic in URL map
 * - Send brandCode to Adyen
 * - Fix error msg with otherways URL, add instructions
 * - Escape special chars in Mustache URL params
 * - Parameterize 'Donor Policy' URL in messages
 * - Parameterize 'Other ways to give' URL in messages

DoubleWiki

 * - Configure phan-taint-check-plugin

DynamicSidebar

 * - Configure phan-taint-check-plugin

EducationProgram

 * - build: Updating mediawiki/mediawiki-codesniffer to 19.0.0

Elastica

 * - Configure phan-taint-check-plugin

ElectronPdfService

 * - build: Updating mediawiki/mediawiki-codesniffer to 21.0.0

EventBus

 * - Configure phan-taint-check-plugin

EventLogging

 * - Move files to their own directory per module
 * - Remove unused ext.eventLogging.Schema from registry
 * - Switch to ESLint from JSCS+JSHint
 * - Configure phan-taint-check-plugin

ExtensionDistributor

 * - Configure phan-taint-check-plugin

FeaturedFeeds

 * - Configure phan-taint-check-plugin

FileExporter

 * - Configure phan-taint-check-plugin

FileImporter

 * - Use setContentLang in tests
 * - Add missing test cases for two Data classes

FlaggedRevs

 * - Fix loading of default styles in Minerva

Flow

 * - Don't use deprecated MagicWord static methods

Gadgets

 * - Fix skins option to use currently displayed skin, rather than user preference
 * - More loose @covers annotations in GadgetTest

GeoCrumbs

 * - Configure phan-taint-check-plugin

GeoData

 * - Don't use MagicWord static methods
 * - Don't construct our own parser

GettingStarted

 * - Configure phan-taint-check-plugin

GlobalBlocking

 * - Configure phan-taint-check-plugin

GlobalCssJs

 * - Configure phan-taint-check-plugin

GlobalPreferences

 * - Configure phan-taint-check-plugin
 * - GlobalPreferences.local: Setup event handlers and updates for OOUI

GlobalUsage

 * - Configure phan-taint-check-plugin
 * - Remove php entry point
 * - Update to manifest_verson 2 in extension.json

GlobalUserPage

 * - Configure phan-taint-check-plugin

Graph

 * - Configure phan-taint-check-plugin

GuidedTour

 * - Configure phan-taint-check-plugin

Insider

 * - Configure phan-taint-check-plugin

JADE

 * - Configure phan-taint-check-plugin
 * - Define NS_JADE_TALK for .namespaces.php
 * - AppendCreator for adding judgments

Josa

 * - Configure phan-taint-check-plugin

JsonConfig

 * - Configure phan-taint-check-plugin

Kartographer

 * - Declare SimpleStyleParser->options
 * - Configure phan-taint-check-plugin
 * - Correction of English label for "topo" maps in external maps dropdown
 * - Fix Exception in ext.kartographer.settings module

LabeledSectionTransclusion

 * - Remove @return from LabeledSectionTransclusion::close_
 * - Configure phan-taint-check-plugin

LandingCheck

 * - Configure phan-taint-check-plugin

LdapAuthentication

 * - Configure phan-taint-check-plugin

Linter

 * - Configure phan-taint-check-plugin

Math

 * - Remove @return from MathRenderer::setPurge
 * - Configure phan-taint-check-plugin
 * - Add math related styles and script via appropriate hook

MobileApp

 * - Configure phan-taint-check-plugin

MobileFrontend

 * - Revert "Allow users to change their mobile skin preference"
 * - Add missing use statement for Message
 * - When searching for lead paragraph, use context node instead of text
 * - Fix type format of @var
 * - Docs: Fix incorrect indexing of OO.mfExtend
 * - Hygiene: fix mixin member JSDocs
 * - Prepare @event documentation for jsdoc
 * - Hygiene: give JSDuck and JSDoc the ol' switcheroo
 * - Hygiene: Optimise browser.supportsAnimations
 * - Allow users to change their mobile skin preference
 * - Hygiene: Remove util.isFunction (jQuery.isFunction) in favour of typeof
 * - Update Foundation urls
 * - Add external link icon to external links in ReferenceDrawer
 * - Hygiene: fix Nearby module parameter usage

MultimediaViewer

 * - Use wgUserLanguage instead of the first key from mw.language.data

NavigationTiming

 * - Configure phan-taint-check-plugin

NewUserMessage

 * - Configure phan-taint-check-plugin

ORES

 * - Maintenance script to backfill scores in PageTriage queue
 * - Configure phan-taint-check-plugin
 * - Join decomposition on maintenance/PurgeScoreCache.php
 * - Introducing ORESCheckModels hook

PageImages

 * - Configure phan-taint-check-plugin

PageTriage

 * - article.js: Make afcStateIdToLabel easier to use
 * - Only add ORES condition when there is one
 * - Add ORES and AfC information to list items
 * - Soften the dependency on the ORES extension
 * - Fix namespaces shown in NPP filters

PagedTiffHandler

 * - Configure phan-taint-check-plugin

ParserFunctions

 * - Don't use deprecated MagicWord static methods
 * - Remove & from $mwDefault variable assignment

ParsoidBatchAPI

 * - Configure phan-taint-check-plugin

PerformanceInspector

 * - Configure phan-taint-check-plugin

Petition

 * - Configure phan-taint-check-plugin

PoolCounter

 * - Configure phan-taint-check-plugin

Popups

 * - Declare class fields in PopupsContext
 * - Configure phan-taint-check-plugin

ProofreadPage

 * - Uses LinkRenderer instead of the deprecated Linker class

PropertySuggester

 * - Add \ to start of namespaced @covers tags
 * - Configure phan-taint-check-plugin
 * - Update coveralls version
 * - build: Updating mediawiki/mediawiki-codesniffer to 21.0.0

QuickSurveys

 * - Require MediaWiki 1.31 in extension.json for AutoloadNamespaces
 * - Configure phan-taint-check-plugin

Quiz

 * - Configure phan-taint-check-plugin

ReadingLists

 * - Configure phan-taint-check-plugin

RelatedArticles

 * - Remove use of deprecated 'ext.eventLogging.Schema' module
 * - Configure phan-taint-check-plugin

Renameuser

 * - Show old username with "redirect=no" in user rename log entries

RevisionSlider

 * - Make use of JavaScript "in" feature instead of "undefined"

SandboxLink

 * - Configure phan-taint-check-plugin

Score

 * - Use different MIME type for OGG files

SearchExtraNS

 * - Configure phan-taint-check-plugin

Sentry

 * - Configure phan-taint-check-plugin

ShortUrl

 * - Configure phan-taint-check-plugin

SubpageSortkey

 * - Configure phan-taint-check-plugin

SyntaxHighlight_GeSHi

 * - Removed unused function lang_filter
 * - Use wfMakeStaticArrayFile

TemplateData

 * - Configure phan-taint-check-plugin
 * - Use setContentLang in tests

TemplateSandbox

 * - Configure phan-taint-check-plugin

TextExtracts

 * - User constructor does not take an argument
 * - Configure phan-taint-check-plugin

TimedMediaHandler

 * - Don't count non-started jobs as errored jobs in requeueTranscodes
 * - Add --histogram option to transcodeReport.php for bitrate breakdown
 * - Workaround for job queue reporting 0 length (T200813)
 * - Work around transcode failures in newer ffmpeg
 * - Add transcodeReport.php maint script to build CSV summary of transcodes

TocTree

 * - Configure phan-taint-check-plugin

Translate

 * - Fix a regression of not syncing the source language
 * - Convert Special:PageTranslationDeletePage/{pagename} to OOUI Part 1
 * - Convert Special:Translations to OOUI
 * - Fix type of @return
 * - Show regular deletion form for pages never marked for translation
 * - Convert Special:LanguageStats to OOUI

TranslationNotifications

 * - Increase required MediaWiki version to 1.32+

TrustedXFF

 * - Remove PHP entry point
 * - Configure phan-taint-check-plugin

TwoColConflict

 * - Run stylelint for less file and fix lint errors
 * - Change text for beta feature section
 * - Enable SpecialConflictTestPage for SplitTwoColConflict
 * - Use AutoloadNamespaces in extension.json
 * - Add version selection options
 * - Fix type hints and improve PHPDoc usage
 * - Add assertion count to tests using hamcrest with callback

UniversalLanguageSelector

 * - Update jquery.uls from upstream
 * - Configure phan-taint-check-plugin

UploadWizard

 * - Avoid counting where not necessary
 * - Add minor missing @covers tags
 * - OOUIify license selection

UploadsLink

 * - Configure phan-taint-check-plugin

UrlShortener

 * - Configure phan-taint-check-plugin

UserMerge

 * - Configure phan-taint-check-plugin
 * - Use WikitextLogFormatter on UserMerge

VipsScaler

 * - Configure phan-taint-check-plugin

VisualEditor

 * - rebaser: Fix disable of refs while not supported
 * - API: Check whether content is deflated before trying to inflate it
 * - rebaser: Make create/edit button primary+progressive
 * - Add horizontal rule sequence
 * - Update VE core submodule to master (3c30cac86)
 * - Update VE core submodule to master (9bb7abf84)
 * - Always generate empty wrapper paragraph inside image captions (slugs begone!)
 * - Update VE core submodule to master (086de2707)
 * - ApiVisualEditor: warn of deleted pages in edit notices

WikiEditor

 * - Don't use deprecated MagicWord static methods

WikiLove

 * - Configure phan-taint-check-plugin

Wikibase

 * - Fixed the use of MathDataUpdater in parser output generation
 * - Implementation of `Psr\SimpleCache\CacheInterface` using `BagOStuff`
 * - EntityTypeDefinitions, fulltext-search-context can be callables
 * - Fix the return type of Scribunto_LuaLibraryBase::register in phan stub
 * - Load MathDataUpdater to format math
 * - repo/autoload: auto-generate
 * - Track how big ID batches are being queried in SqlEntityIdBuilder
 * - Revert "Use PageUpdater & RevisionStore in Wikibase"
 * - $wgContLang is never a StubObject
 * - travis: build using composer-merge
 * - Use PageUpdater & RevisionStore in Wikibase
 * - Make getDefaultValueFormatterBuilders in sync with WikibaseClient singleton resetting
 * - Bump composer process-timeout to 600 to match quibble
 * - Improve 'Must be no more than x characters long' error message
 * - Allow installation with Geo 3.x
 * - Allow haswbstatement without value
 * - Use an own SiteStore instance in Wikibase API tests
 * - Don't use deprecated MagicWord static methods
 * - Add proper text for haswbstament error
 * - New wbstatementquantity keyword
 * - [elastic] Add support for elasticsearch 6 fixtures
 * - EntityInfoBuilder: do not use id and type key in entity info
 * - Added ADR doc template
 * - Added README to ADR docs directory
 * - Remove optional dependency on Wikibase local vendor directory

WikibaseLexeme

 * - EditEntity: form statements not supported
 * - Remove ; from return type in param doc
 * - Get rid of Reflection hack used to override factory member
 * - Wire diffing and patching of senses
 * - Fix LexemeDiff constructor and isEmpty and add tests
 * - Prevent empty sense glosses in front-end
 * - phpunit: avoid fake assertion after hamcrest
 * - Fix typo
 * - phpunit tests: do not persist in providers
 * - Fix typos in LexemeDiffVisualizerIntegrationTest
 * - Remove unused comments from getType in DiffOps
 * - Revert "Create a dummy item before running the first browser test."
 * - Add SensePatcher
 * - Add SenseDiffView
 * - Add SenseDiffer
 * - Introduce SenseDiff and its implementations
 * - Mark tables used in multiple tests
 * - Implements RDF mapping of senses including stubs
 * - database test: do not redundantly list tables
 * - Create a dummy item before running the first browser test.
 * - Prevent empty form representations in front-end

WikibaseQuality

 * - Configure phan-taint-check-plugin

WikibaseQualityConstraints

 * - Add support for form and sense entity types
 * - Configure phan-taint-check-plugin
 * - Use HamcrestPHPUnitIntegration

WikidataPageBanner

 * - Configure phan-taint-check-plugin
 * - build: Updating mediawiki/mediawiki-codesniffer to 21.0.0

WikimediaBadges

 * - build: Updating mediawiki/mediawiki-codesniffer to 21.0.0
 * - Configure phan-taint-check-plugin

WikimediaEvents

 * - Configure phan-taint-check-plugin
 * - build: Update eslint and eslint-config-wikimedia
 * - all: Remove $.isFunction and Boolean calls
 * - Do not track clicks when there's no real choice

WikimediaMessages

 * - Configure phan-taint-check-plugin
 * - Configure phan-taint-check-plugin
 * - Update Foundation Contact links

XAnalytics

 * - Configure phan-taint-check-plugin

ZeroBanner

 * - Add @var for class fields in PageRendering.php

ZeroPortal

 * - Configure phan-taint-check-plugin

cldr

 * - Configure phan-taint-check-plugin

intersection

 * - Use secure https protocol

wikihiero

 * - Configure phan-taint-check-plugin

MinervaNeue

 * - QA: Issues should be run on integration test
 * - Set flex-direction for thumbnails to avoid overflow issues
 * - Fix: hide new page issues links on focus and tap
 * - Restore page issues

Modern

 * - Prevent content stuff from overlapping over nav stuff

MonoBook

 * - Amend `border-radius` to conform to Apex theme standard

Timeless

 * - Stop some of the pointless overflows in three-column mode
 * - Prevent content stuff from overlapping over nav stuff
 * - Make afterContent stuff appear correctly after content in all view
 * - Fix positioning of content in desktop-small view
 * - Remove brackets around new toctoggle