MediaWiki 1.31/wmf.3/Changelog

Core changes

 * - Setting Urdu translations of some magic words and special pages
 * - mw.action.edit.styles: Remove max-width on edit summary field's label too
 * - Change Tagged edits help icon
 * - Fix SVG href error message to be more accurate and useful
 * - Add test cases for digit grouping (commafy) in Polish
 * - Remove outdated code comments in MessagesXx.php files
 * - Unwrap types in function docs from {}
 * - Define MEDIAWIKI_JOB_RUNNER in runJobs.php
 * - SearchInputWidget: Actually connect to change event
 * - SearchInputWidget: Pass through description data
 * - Suppress error in MediaWiki\Shell\Command
 * - Remove setting of SearchInputWidget configs to already-default values
 * - Special:UserLogin: Remove unnecessarily specificity from selectors
 * - Special:UserLogin: Set easier readable `line-height` on form
 * - Special:UserLogin: Align text to WikimediaUI color palette
 * - Ensure only strings are passed to mysql_real_escape_string
 * - JSONContent: Align to WikimediaUI color palette
 * - Align jQuery.suggestions colors to WikimediaUI palette
 * - Fix typo in 'language'
 * - HTMLForms: Reduce `padding` on top as heading `line-height provides
 * - Get rid of $IP in Command
 * - installer: Reuse $db->makeList rather than reinventing the wheel
 * - HTMLForm: Mangle excessive whitespace
 * - docs/uidesign/monospace.html: Add textareas to the demo
 * - resourceloader: Clarify operator precedence
 * - HTMLForm: Rename file to `ooui.styles.less` and use LESS notation
 * - installer: Add comments to purgeCache
 * - SearchInputWidget: Don't show images
 * - Clarify purgeExpiredUserrights maintenance script
 * - RCFilters UI: In the highlight code, use .data the way it was meant to be used
 * - jquery.ui: Fix various jQuery Migrate warnings
 * - jquery-migrate: Disable console.trace call by default
 * - jquery-migrate: Remove redundant PATCH note for Deferred bug
 * - Add maintenance script: Clean up expired userrights
 * - Revert "Remove some remaining mentions of unstubbing from core"
 * - RCFilters: Load default saved query if it exists
 * - Revert "Stop stubbing StubUserLang"
 * - Use Special:PageData as the canonical capitalization
 * - Refactor global function wfBCP47 to static function LanguageCode::bcp47
 * - Hard deprecate wfInitShellLocale
 * - mediawiki.notification: Move offset computation to next frame
 * - mediawiki.notification: Refactor $.ready handler and init
 * - RCFilters: Allows specifying default highlights from the server
 * - mediawiki.notification: Use css instead of slow show/hide
 * - Make Database::rollback also suppress callback errors
 * - CLI: Make sure we don't exit with 0 when an exception is encountered
 * - RCFilters: Avoid adding raw filter and group objects to js vars
 * - Fix inability of fetching message object
 * - Remove some old mysql 4 messages from installer i18n files
 * - Inject dependencies into Shell\Command
 * - Update OOjs UI to v0.23.3
 * - Support uploads with UTF-8 names on Windows
 * - Remove some remaining mentions of unstubbing from core
 * - Stop stubbing StubUserLang
 * - RCFilters: Init highlight button based on model state
 * - Add SECURITY
 * - TitleWidget: Perform diacritic-insensitive highlighting
 * - mediawiki.searchSuggest: Add support for search namespace preferences
 * - OutputPage: Turn html5shiv into a raw ResourceLoader module
 * - resourceloader: Add unit test for ClientHtml::makeLoad sync=>true
 * - TitleWidget: Only apply padding fix to withImages mode
 * - TitleOptionWidget: Don't show an icon when showImages=false
 * - mw.widgets.SearchInputWidget: Avoid overriding getOptionWidgetData
 * - Allow duplicate articles in parser tests with same content
 * - RCFilters: Convert saved queries from filters to parameters
 * - Assert that blocks were inserted successfully in UserTest
 * - HTMLMultiSelectField: Support sections in OOUI mode
 * - Remove perf tracking code that was moved to WikimediaEvents in Ib300af5c
 * - Remove 'Browser default' editfont option

Vendor

 * - Update OOjs UI to v0.23.3
 * - Upgrade Elastica to 5.3.0

3D

 * - Improve some parameter docs

AbuseFilter

 * - Improve some parameter docs
 * - Add ccnorm_contains_any function

ActiveAbstract

 * - Improve some parameter docs

AdvancedSearch

 * - Clear input field when choosing a namespace from the menu
 * - Extract new code into dedicated method
 * - Use variable already in scope
 * - Disable menu items when adding tags
 * - RTL support for form elements
 * - Support dimensions for images and videos

AntiSpoof

 * - Improve some parameter docs

Babel

 * - Some design fixes and improvements:

BetaFeatures

 * - Improve some parameter docs
 * - Replace outdated colors with WikimediaUI palette ones

Capiunto

 * - Improve some parameter docs

CentralAuth

 * - Setting aliases of some special pages related to CentralAuth extension for Urdu language
 * - Replace deprecated call in Special:GlobalGroupPermissions

CheckUser

 * - CheckUser "contributions" link should be a red link for non-existent accounts

CirrusSearch

 * - Remove Messaging Fallback Languages as Language Analysis Fallbacks
 * - Fix typo in $wgLanguageCode
 * - InterwikiLookup::fetch is documented to return Interwiki|null|bool
 * - BaseInterwikiResolver::loadConfigFromApi already returns array
 * - Fix errors from secondary language detection
 * - Improve some parameter docs
 * - Add additional metadata for detecting automated/bot requests to search logs
 * - Reclassify jobs as cli in request logging
 * - Refactor analysis config builder to make it reusable
 * - Allow controllig min_should_match in the filter clause
 * - Add support for Elastica 5.3.0
 * - Add support for 'super_detect_noop' script language

Cite

 * - Improve some parameter docs
 * - Sync up with Parsoid citeParserTests.txt
 * - Use HTML5 id attributes; remove use of deprecated Sanitizer::escapeId

CiteThisPage

 * - Improve some parameter docs

CleanChanges

 * - Improve some parameter docs

CodeMirror

 * - Disable spellchecking for Firefox users on non-Mac systems
 * - Turn on native CodeMirror spellcheck feature
 * - Remove reference to editfont-default

CollaborationKit

 * - Improve some parameter docs
 * - Making multi-column lists visually similar to single-column lists.
 * - Avoid messing with native skin styles in actual content

Collection

 * - Restore table of content generation tests
 * - Register PHPUnit tests via UnitTestsList hook
 * - Don't request render if renderer not configured
 * - Stop testing render side effects
 * - Update test mock to return license info
 * - Update test HTML hierarchy
 * - Deal with cases where contributors and images are not defined
 * - Avoid notices on large articles
 * - Hygiene: Render functions should contain no logic
 * - Add license info
 * - Add images section

ContentTranslation

 * - Use OOUI buttons for discard/continue translation
 * - Fix typo in transition property (en-GB -> en-US)
 * - Fix return of Hooks::newArticleCampaign
 * - Truncate long suggestions descriptions
 * - Fix several minor styling issues
 * - Fix typo in 'language'
 * - Use upstream icon for ellipsis
 * - Message widget fixes
 * - Adjustments for mobile UI
 * - Improve some parameter docs
 * - Add Recent edited pages to New translation
 * - Embed New translation search results
 * - Remove unnecessary 'ease' value
 * - Only use 1s transitions for movement
 * - Fix typos
 * - Use clearfix on sections
 * - Rename mw.cx.ui.TranslationView to ve.init.mw.CXTarget
 * - CX2: Restore the saved translation

Disambiguator

 * - Improve some parameter docs

DismissableSiteNotice

 * - Improve some parameter docs

DonationInterface

 * - Pass contact_id and contact_hash when both given
 * - Log client-side errors on payments forms

DynamicSidebar

 * - Improve some parameter docs

Echo

 * - updatePerUserBlacklist wfWaitForSlaves
 * - Replace subtle greys with WikimediaUI color palette ones
 * - Replace vendor prefixed `box-shadow` with central mixin
 * - Always return false on EchoUserNotificationGateway::markRead
 * - Use main Database Connection for Maintenance Script
 * - Remove unstub logic
 * - Use User Ids instead of User Names for Echo Mute

EducationProgram

 * - Improve some parameter docs

Elastica

 * - Revert "Revert "Upgrade to Elastica 5.3.0""

EventLogging

 * - build: Remove unsupported --use-mirrors from pip command

ExtensionDistributor

 * - Improve some parameter docs

Flow

 * - Setting aliases of some special page names for Urdu language
 * - Improve some parameter docs
 * - Replace validation colors with WikimediaUI palette ones
 * - Revert "Remove references to StubUserLang, it's going away"
 * - Revert "Remove mentions of StubObject, just for typehinting"
 * - Remove mentions of StubObject, just for typehinting
 * - Remove references to StubUserLang, it's going away

FundraisingTranslateWorkflow

 * - Improve some parameter docs

GWToolset

 * - Improve some parameter docs

Gadgets

 * - Setting special page alias for Urdu language
 * - Remove nested foreach references

GeoCrumbs

 * - Improve some parameter docs

GettingStarted

 * - Align colors to WikimediaUI palette ones

GlobalBlocking

 * - Show global block notice on Special:Contributions for IP ranges
 * - Replace wfGetLB with MediaWikiServices::getDBLoadBalancerFactory

GlobalCssJs

 * - Improve some parameter docs

GlobalUserPage

 * - Fix class name after it was renamed
 * - Set canonical URL of remote pages to central page

Graph

 * - Setting special page alias for Urdu language
 * - Improve some parameter docs

GuidedTour

 * - Optimize SVGs & replace colors with WikimediaUI palette ones
 * - Improve some parameter docs
 * - Replace remaining values with WikimediaUI Style Guide ones

ImageMap

 * - Improve some parameter docs

Insider

 * - Improve some parameter docs

Interwiki

 * - Improve some parameter docs

Josa

 * - Improve some parameter docs

JsonConfig

 * - Revert "Remove references to StubUserLang, it's going away"
 * - Remove references to StubUserLang, it's going away

Kartographer

 * - Improve some parameter docs

LabeledSectionTransclusion

 * - Improve some parameter docs
 * - Don't transclude content within tags

LandingCheck

 * - Improve some parameter docs

LdapAuthentication

 * - Improve some parameter docs

Linter

 * - Parse linter-category-{name}-desc messages

LiquidThreads

 * - Improve some parameter docs
 * - Use on instead of deprecated bind
 * - Remove call to non-existant $wgOut->_unstub

MapSources

 * - Improve some parameter docs

MassMessage

 * - Setting aliases of Special:MassMessage, CreateMassMessageList, EditMassMessageList & magic word 'target' for Urdu Language

Math

 * - Setting alias of Special:MathStatus for Urdu language

MultimediaViewer

 * - Improve some parameter docs
 * - Allow https in test regex

Nuke

 * - Setting alias of special:nuke for Urdu language
 * - Ask for confirmation when nuking

ORES

 * - Revert "Support new thresholds API"
 * - Revert "Fallback to old thresholds API as necessary"
 * - Fallback to old thresholds API as necessary
 * - Support new thresholds API
 * - RCFilters: default highlight according to preference
 * - WLFilters: Temporarily stop respecting hideNonDamaging on WL with beta feature
 * - RCFilters: highlight damaging levels

OpenStackManager

 * - Improve some parameter docs

PageTriage

 * - Change use of deprecated jQuery.fn.hover to on

PageViewInfo

 * - Improve some parameter docs

ParserFunctions

 * - Revert "Language objects aren't stubbed anymore"
 * - Adding Urdu translations of magic words related to Parser function extension.
 * - Language objects aren't stubbed anymore

Popups

 * - build: Update eslint and other linters
 * - Remove old jscs file
 * - Align colors to WikimediaUI Style Guide and palette

ProofreadPage

 * - Improve some parameter docs

RelatedArticles

 * - build: Update eslint and stylelint
 * - build: Cleanup eslint config

RelatedSites

 * - Improve some parameter docs

SandboxLink

 * - Improve some parameter docs

Score

 * - Improve some parameter docs

Scribunto

 * - Make Scribunto_LuaSandboxTests::testArgumentParsingTime more robust

SecurePoll

 * - Setting alias of Special:SecurePoll for Urdu language

SiteMatrix

 * - Improve some parameter docs

SpamBlacklist

 * - Improve some parameter docs

SyntaxHighlight_GeSHi

 * - Improve some parameter docs
 * - Don't use deprecated function wfShellExecDisabled

TemplateSandbox

 * - build: Update linters

TemplateStyles

 * - build: Update eslint

TextExtracts

 * - build: Upgrade linters
 * - Improve some parameter docs

TimedMediaHandler

 * - Setting aliases of some special page names & magic words for Urdu language
 * - Use prop(, false) instead of removeAttr to change properties
 * - Fix jQuery.fn.bind call in mw.MediaWikiPlayer.loader.js
 * - Retain some WebM metadata for processing purposes

Translate

 * - Align near colors to WCAG conforming ones
 * - Correct casing of core class name
 * - Replace main text color with overhauled color palette one.
 * - Revert "[tech-debt] Remove usage of FuzzyLikeThis in favor of simple fuzzy match"
 * - Replace callout border color with one everywhere else
 * - Fix a reported PHP 7.1 incompatibility
 * - Add lang attribute to languages in
 * - Revert "Use Language type hint in hooks"
 * - Fix editor shortcuts not showing up

TwoColConflict

 * - Show a message when simulate page loaded while BF disabled
 * - Remove Main Page as default value and add hint
 * - Revert "Dont register simulate page when not enabled as a BF"
 * - New beta feature description text
 * - Dont run onSpecialPage_initList if MW_NO_SESSION defined
 * - onSpecialPage_initList get user from context & check type
 * - Fix phpcs warning
 * - Fix SimulateTwoColEditConflict when using a page with ns
 * - Dont register simulate page when not enabled as a BF

UniversalLanguageSelector

 * - Show the same tooltips on compact language links
 * - Update timestamp in CLL preferences script to 20170101
 * - Use WCAG level AA conforming WikimediaUI color
 * - Replace color with normal text color
 * - Improve some parameter docs

UploadWizard

 * - Replace remaining subtle colors with WikimediaUI palette ones
 * - Improve some parameter docs
 * - Add ULS for language dropdown in file description

UploadsLink

 * - Improve some parameter docs

UrlShortener

 * - Improve some parameter docs

UserMerge

 * - i18n: Set Urdu alias for Special:UserMerge

VipsScaler

 * - Improve some parameter docs

VisualEditor

 * - init.mw.Target: make getSurfaceConfig aware of modes
 * - Update VE core submodule to master (c5c5123)
 * - Update VE core submodule to master (4e29d197d)
 * - DesktopArticleTarget.init: Load 'mediawiki.action.view.postEdit' via loader
 * - Target teardown refactor
 * - Update VE core submodule to master (0c062b9b2)
 * - Use destroy event to teardown new section inputs
 * - Use parent #clearSurfaces method to clear surfaces
 * - Move 'parentheses' message to MWSaveDialog's modules
 * - Make sure content is set
 * - ApiVisualEditor: avoid some unset variable notices
 * - Abort loading when 'escape' is pressed
 * - Strip RESTBase IDs from historical diffs
 * - Remove reference to editfont-default

WikiEditor

 * - Show invalidreason from API response on invalid title

WikiLove

 * - Improve some parameter docs

Wikibase

 * - Add tracking for fallout from fix for T177707
 * - Quick fix for flooding of the RC table
 * - Fix "Wrapper for …" comments in Scribunto_LuaWikibaseLibrary
 * - Docs: Discourage use of mw.wikibase.getLabelByLang for getting in user lang
 * - Fix: focus is not in value field after selecting a property
 * - Introduce mw.wikibase.getLabelByLang
 * - Enable indexing statements on items
 * - Make tests QUnit 2 compatible
 * - Refactor PropertyRdfBuilder logic for readability
 * - Decouple DiffView and RequestContext
 * - Disable email notifications for wikibase changes in client wikis
 * - Re-instate $wgWBClientSettings['injectRecentChanges']
 * - Add external identifier prop+stmt to RDF tests
 * - Fix writing normalized property predicates
 * - RDF mapping for external identifiers
 * - Drop wb_entity_per_page table if it exists
 * - Rename domain-specific "allow…" variables to "trackUsagesInAllLanguages"
 * - Track all label/description languages as used on multilingual wikis
 * - Remove a ton of unused code from MockEntityIdPager
 * - Cleanups and minor fixes for mw.wikibase.sitelink Lua function
 * - Setting aliases of Special:Unconnectedpages, EntityUsage & PageWithBadges for Urdu language
 * - Split Echo hook handlers based on services needed
 * - Allow getting the sitelink to an arbitrary site with mw.wikibase.sitelink
 * - Minor fixups to UsageTrackingLanguageFallbackLabelDescriptionLookup
 * - Update documentation of getBestStatements/getAllStatements in Lua
 * - Add tests for mw.wikibase.get*Statements with no arbitrary access
 * - Drop EntityPerPage
 * - Track descriptions accessed via Lua
 * - Add missing class level documentation comment blocks

WikibaseQualityConstraints

 * - Remove unused imports
 * - Use correct namespace for UnitConverter
 * - Clarify that entity units need full concept URIs
 * - Add support for “year” ranges
 * - Check “unique value” constraint on qualifiers and references
 * - Use WikiPage to insert pages in tests
 * - Add “used as reference” constraint type
 * - Update steps to add a new constraint type in README
 * - Add UsedForValuesOnly to DelegatingConstraintCheckerTest
 * - Update method names in ValueOnlyCheckerTest
 * - Drop oojs-ui.styles.icons-interactions dependency
 * - Don’t skip “type” constraints on non-statement contexts
 * - Convert quantities to standard units

WikidataPageBanner

 * - Improve some parameter docs

WikimediaEvents

 * - Removing logging of PageContentSaveComplete
 * - Include save timing sub-metrics for better diagnostics
 * - Turn off Cirrus MLR test for 18 language wikipedias
 * - WMDE: update $campaignStartTimestamp
 * - Move RCFilters performance logging to WikimediaEvents and also log performance for old UI

WikimediaIncubator

 * - Improve some parameter docs

WikimediaMaintenance

 * - In addWiki, add "IF NOT EXISTS" to CREATE DATABASE statement.

WikimediaMessages

 * - Improve some parameter docs
 * - Document Wikimedia Armenia project name

ZeroBanner

 * - Improve some parameter docs

ZeroPortal

 * - Improve some parameter docs

wikihiero

 * - Setting special page alias for Urdu language

CologneBlue

 * - Improve some parameter docs

MinervaNeue

 * - Hlist tweaks (size and color)
 * - Revert "Don't run diff test on beta cluster"
 * - Avoid clashes with MediaWiki:Common.css for hlist rules
 * - Improve some parameter docs
 * - Correct feature phone threshold detection

Vector

 * - simpleSearch: Reduce selector specificity & clean up
 * - Align simpleSearch `border` with inputs elsewhere
 * - Replace footer text color with WikimediaUI color palette one
 * - Remove fallback color from tabs
 * - Do not special-case ULS and "Not logged in" in RTL in personal bar
 * - Fix applying of focus styles to .vectorMenu handle