MediaWiki 1.31/wmf.4/Changelog

Core changes

 * - Updating native language name for Northern Sami
 * - Add primary keys to site_stats
 * - Remove mention of IE9 support
 * - Convert GitInfo to the new shell framework
 * - Shell\Command: Better walltime fallback
 * - RevisionUnitTest for fetchFromConds
 * - RevisionUnitTest for various getters and setters
 * - RevisionUnittest for select*Fields methods
 * - RevisionUnitTest for userJoinCond and pageJoinCond
 * - RevisionIntegrationTest for loadFromTimestamp
 * - RevisionIntegrationTest for loadFromTitle
 * - RevisionIntegrationTest for loadFromId & loadFromPageId
 * - RevisionIntegrationTest for newFromArchiveRow with ContentHandlerUseDB
 * - RevisionIntegrationTest for newFromPageId
 * - Hard deprecate wfRunHooks
 * - Fix changes list misaligned arrow
 * - Cleanup page creation in RevisionIntegrationTest
 * - Remove mw.page
 * - Add lowercase variants to the autoloader for legacy history blob classes
 * - Fix tabindex applied twice on RC top section
 * - Remove strong tag from "Other review tools"
 * - Improve wording in Saved Filter Menu
 * - RCFilters: Use mixins and variables in LESS files
 * - Add option to hide missing pages while searching
 * - Parser: Disable commafy for magic variables for month and day
 * - Fix escaping of i18n message shared-repo-from
 * - Fix covers __constructor -> __construct
 * - Replace HTTP by HTTPS in docs
 * - Fix letter-case of several namespace and class names
 * - SpecialRunJobs: Use MediaWiki's built-in async/post-send mode
 * - RCFilters: Fix RC jumpiness due to expanded/collapsed community links
 * - deferred: Introduce TransactionRoundDefiningUpdate
 * - Fix margin of #jump-to-nav
 * - Simplify OutputPage constructor
 * - Split sql fulltext index creation into two statements
 * - Split Revision tests into Unit & Integration classes
 * - Add missing retrun in getSummaryInputOOUI
 * - Remove maintenance/checkSyntax.php
 * - Hard deprecate wfBaseConvert
 * - Remove old workaround for HHVM
 * - RCFilters: Use GroupWidget for grouping buttons and aggregating events
 * - ApiQueryLinks: Avoid MySQL order-by bug
 * - Move wfCountDown into Maintenance class
 * - Update PsySh from 0.8.5 to 0.8.11
 * - mw.rcfilters.Controller: Avoid ES6 method String#endsWith
 * - Update OOjs UI to v0.23.5
 * - Update email mute copy on preferences page
 * - shell: Deduplicate code in Command.php by combining else paths
 * - deferred: Improve DeferredUpdates test coverage
 * - Follow-up d25a944635: fix PHP notice
 * - Remove useless commit calls in JobRunner
 * - SpecialRunJobs: Remove unused JSON response
 * - API: Handle pltitles/tltemplates/clcategories/imimages with only invalid titles
 * - Drop call of deprecated IE8-support method
 * - Return stderr from Shell\Command
 * - Delete RevisionStorageTestContentHandlerUseDB
 * - RevisionStorageTest: use MediaWikiTestCase methods for setting globals
 * - RevisionStorageTest: Add tests for Revision::newFromTitle
 * - Fix PostgreSQL patch-add-3d.sql by replacing it
 * - Hard deprecate wfShellExecDisabled
 * - Revision split __construct method
 * - Revision: test and fix __construct exceptions
 * - RCFilters: Don't reload when removing highlighted item
 * - RevisionStorageTest: code style fixes
 * - RevisionTest: refactor test dataProviders
 * - Deprecate $wgEnableAPI and $wgEnableWriteAPI
 * - Fix inconsistent i18n escaping in category paging links.
 * - phpcs.xml: Remove missing functions from PrefixedGlobalFunctions 'ignoreList'
 * - Make $mText an explicit member variable in TextContent
 * - Fix unblocking autoblocks
 * - RevisionTest code style fixes & file split
 * - Have CommentStore limit the maximum character length of comments
 * - RCFilters: Store invert as a standard filter/parameter
 * - Skin: Make skins aware of their registered skin name
 * - Align diff context colors to WikimediaUI color palette

Vendor

 * - Newer composer works fine too...
 * - Add psy/psysh 0.8.11
 * - Update OOjs UI to v0.23.5
 * - Revert "Update OOjs UI to v0.23.4"
 * - Update OOjs UI to v0.23.4

AbuseFilter

 * - Add slow filters debug data to the logs.

AdvancedSearch

 * - Remove dead placeholder code

AntiSpoof

 * - primary -> preauth
 * - Remove pre-authmanager code

ApiFeatureUsage

 * - Setting alias of special page name for Urdu language

ArticlePlaceholder

 * - Update Wikibase CodeSniffer rule set to 0.2.0
 * - Short-circuit in ItemNotabilityFilter if list of item ids is empty

Babel

 * - Improve some parameter docs

BetaFeatures

 * - Setting alias of special page name for Urdu language

Calendar

 * - Improve some parameter docs

Campaigns

 * - primary -> secondary
 * - Remove pre-authmanager code

CategoryTree

 * - Setting alias of magic word for Urdu language
 * - Improve some parameter docs

CentralAuth

 * - Don't use deprecated wfCountDown
 * - Remove pre-authmanager hooks

CheckUser

 * - Restore checkuser-userlinks when exist
 * - Changing $wgCheckUserCIDRLimit['IPv6'] from 32 to 19

Cite

 * - T177134: Nulls passed to preg_match in Cite

CiteThisPage

 * - Suppress wrapping around our tags

CodeEditor

 * - Remove deprecated methods
 * - Improve some parameter docs

CodeMirror

 * - Reorder functions to avoid forward references
 * - Remove call codeMirror.save

Collection

 * - Fix table of contents font-size
 * - Add tests for the fixTemplateData method
 * - Hygiene: One single master template simplifies rendering
 * - Deal with extreme of an empty book
 * - Stop using wgNamespace and wgTitle globals

ConfirmEdit

 * - Setting aliases of some special page names for Urdu language
 * - Remove pre-authmanager code

ContactPage

 * - Improve some parameter docs

ContentTranslation

 * - I18n for 'Number of languages'
 * - Change DB_SLAVE in comments
 * - Make translated titles less prominent in dashboard
 * - Fix page selection error
 * - UI message for API error when publishing: invalidtitle
 * - Remove ContentTranslationBrowserBlacklist
 * - Use OOUI TextInputWidget for target title in dialog
 * - Add document options menu to toolbar
 * - Ensure target#pageName is updated when targetTitle is changed
 * - Convert publishSettings widget to a toolbar group
 * - Use OOUI message dialog for deletion confirmation

CreditsSource

 * - Improve some parameter docs

Disambiguator

 * - Setting aliases of some special page names for Urdu language

DonationInterface

 * - Batch mode: don't look for country in session
 * - Add apihelp-logPaymentsFormError-summary to en.json/qqq.json
 * - Fix test + bug for orphan slayer
 * - PayPal: map Netherlands Antilles to Netherlands
 * - Handle payment not initiated
 * - Add an off switch for client-side error logging
 * - Fixes to client-side error logging

DoubleWiki

 * - Improve some parameter docs

Echo

 * - build: Update eslint and other linters
 * - Fix CrossWiki-/BundleGroup layout
 * - ContainmentSet: Use strict comparison for array_search
 * - Setting aliases of some special page names for Urdu language
 * - Remove PHP entry point
 * - Remove pre-authmanager code
 * - Align popup message color to toast message in MinervaNeue

ElectronPdfService

 * - Setting aliases of some special page names for Urdu language

EventBus

 * - Improve some parameter docs

FeaturedFeeds

 * - Setting alias of special page name for Urdu language

Flow

 * - Change DB_SLAVE in comments

GWToolset

 * - Unwrap types in function docs from {}

GeoData

 * - Change DB_SLAVE in comments

GettingStarted

 * - Use standard close icon

GlobalBlocking

 * - Setting aliases of some special page names for Urdu language

GlobalUsage

 * - Setting alias of special page name for Urdu language

GuidedTour

 * - Use standard close icon

ImageMap

 * - Use LIBXML_NOEMPTYTAG to avoid creating self-closing  tag

JsonConfig

 * - Remove more spurious warnings about config content

LdapAuthentication

 * - Remove pre-authmanager code

LiquidThreads

 * - Remove wgWikiEditorIconVersion

LoginNotify

 * - Remove support for per-group preference defaults

MassMessage

 * - Fix letter-case of class name

MobileApp

 * - Improve some parameter docs
 * - Add autoincremented numbering for links without display text

MobileFrontend

 * - Update for deprecation of selectFields methods
 * - Setting aliases of some special pages for Urdu language
 * - Delete PHP entry point
 * - Remove pre-authmanager code
 * - Load mobile.init module for all mobile skins
 * - M.getCurrentPage and skin should be initialised by MobileFrontend
 * - Tablet modules no longer managed by MobileFrontend
 * - Page is optional for Toggler constructor

NavigationTiming

 * - Fix asian country check

Newsletter

 * - Reword wiki main page form input box description

OAuth

 * - Setting alias of special page name for Urdu language

ORES

 * - Update CheckModelVersions to really parse the results
 * - Use the v3 API for fetching scores.
 * - Make getWikiID static, cos it's useful
 * - Revert "WLFilters: Temporarily stop respecting hideNonDamaging on WL with beta feature"
 * - Choose more magical magic
 * - Don't use STRAIGHT_JOIN for Watchlist queries
 * - Draftquality model work only on main namespace
 * - Temporarily use the v1 API for fetching scores.
 * - Fallback to old thresholds API as necessary (take 2)
 * - Support new thresholds API (take 2)

OpenStackManager

 * - Remove pre-authmanager code

PageAssessments

 * - Fix class name letter-case

Popups

 * - Optimize SVGs and align colors to WikimediaUI palette
 * - Use https for browser test environment
 * - Do not include @nomin instruction in dist build
 * - Delete unimplemented browser tests

PropertySuggester

 * - Update Wikibase CodeSniffer rule set to 0.2.0

SecurePoll

 * - Improve some parameter docs

SpamBlacklist

 * - Remove pre-authmanager code

Thanks

 * - Setting alias of special page name for Urdu language

TitleBlacklist

 * - Re-instate "Remove pre-authmanager code"
 * - Revert "Remove pre-authmanager code"
 * - Remove orphaned TitleBlacklistHooks::acceptNewUserName
 * - Remove pre-authmanager code

Translate

 * - Setting alias of magic word for Urdu language
 * - Fix return of PageTranslationHooks::onDeleteTranslationUnit
 * - MediaWikiMessageChecker::pagenameMessagesCheck, incorrectly applied to translatable pages
 * - Work around core's lack of new line normalization
 * - Ensure that showMessage works for optional messages

TwoColConflict

 * - Set a defaut page title for all edit conflict simulation steps
 * - Provide usable default value for some wikis

UniversalLanguageSelector

 * - Remove the 20 edits threshold from ULSCompactLinksDisablePref.php
 * - Update from upstream

UploadWizard

 * - Fix letter-case of class name
 * - Replace flickr disclaimer background with WikimediaUI palette color

VisualEditor

 * - init.mw.DesktopArticleTarget: properly set up section links
 * - Convert mobile overrides to LESS
 * - Fix button alignment in MW mobile
 * - Update VE core submodule to master (ea5179857)
 * - Make diffLoader module available on mobile
 * - Efficiency improvement for MWLanguageVariantNode#hasRendering
 * - Setting aliases of some special page names for Urdu language
 * - Update VE core submodule to master (df62df432)
 * - MWParameterPage: Use MultilineTextInputWidget instead of config
 * - Remove duplication from browser whitelist
 * - Update VE core submodule to master (33e74b92f)
 * - Show visual diffs in wikitext mode
 * - Fix WikiEditor mode switcher widget
 * - Update VE core submodule to master (e8188bac8)

WikiEditor

 * - Improve some parameter docs
 * - Remove rest of partially-removed IE hack
 * - Align close colors to conform to WCAG level AA

Wikibase

 * - Introduce DispatchingEntityDiffVisualizer and EntityDiffVisualizerFactory
 * - Introduce 'entity-diff-visualizer-callback' in entity type definitions
 * - Make Item… and PropertyFieldDefinitions accept arrays
 * - Remove rare @package tags
 * - Fix broken @covers tag in EntitySearchElasticTest
 * - Fix letter-case of XML
 * - Do not interrupt combined change when only badge is changed
 * - Setting alias of special page name for Urdu language
 * - Use MessageLocalizer instead of IContextSource
 * - Consistently use propertyLabelOrId instead of …IdOrLabel
 * - EasyRdf was replaced by purtle
 * - API classes require permissions defined by ChangeOps they use
 * - Optimize StatementsField for performance and readability
 * - Fix minor control flow and doc issues in EntityChangeFactory and related
 * - Update ValueView dependency to 0.21.0
 * - Only wait for the client wiki's DB in InjectRCRecordsJob
 * - Fix minor documentation and whitespace issues
 * - Bring @license and @inheritDoc PHPDoc tags in standard form
 * - Remove unused imports
 * - Add script to search entities from command line
 * - Add test for EntityHandler::getAutosummary

WikibaseQuality

 * - Update Wikibase CodeSniffer to version 0.2.0

WikibaseQualityConstraints

 * - Update Wikibase CodeSniffer ruleset to 0.2.0
 * - Add missing class documentation comments
 * - Use assertEmpty instead of assertCount( 0, … )
 * - Remove misplaced "@group Wikibase"
 * - Add new icons for constraint violations
 * - Change deprecated @type to @var
 * - Add high-specificity copy of .wbqc-reports-button

WikimediaBadges

 * - Update Wikibase CodeSniffer rule set to 0.2.0

WikimediaEvents

 * - Remove onBeforeInitializeWMDECampaign
 * - [cirrus] Turn on recall A/B test on enwiki

WikimediaIncubator

 * - Remove $stdlogo references
 * - primary -> secondary
 * - Remove pre-authmanager code

WikimediaMaintenance

 * - Don't use deprecated wfCountDown
 * - Remove migrateWlmUploads.php

MinervaNeue

 * - Render add discussion button in PHP not JS
 * - Standardise on MinervaNeue's skin name (minerva)
 * - Hygiene: Minerva uses skin instance defined by MobileFrontend
 * - Minerva is responsible for loading tablet modules in tablet mode

Timeless

 * - Remove legacy PHP entry point, not needed nor wanted anymore

Vector

 * - Print logo should use an absolute URI