MediaWiki 1.31/wmf.11/Changelog

Core changes

 * - Update git submodules
 * - Revert replacing textarea in Special:Undelete with OOUI
 * - Disable cpPosTime injection to LBFactory in Setup.php for now
 * - Update git submodules
 * - Update git submodules
 * - Update git submodules
 * - Update git submodules
 * - Update git submodules
 * - Update git submodules
 * - Update git submodules
 * - Update git submodules
 * - Update git submodules
 * - WLFilters: Correctly check if RCFilters should be enabled on WL
 * - RCLFilters: Make 'target' and 'to/from' sticky
 * - Update git submodules
 * - Update git submodules
 * - Update git submodules
 * - Tests for WikiPage::insertOn
 * - Tests for WikiPage::updateIfNewerOn
 * - Tests for WikiPage::updateRevisionOn
 * - Test for WikiPge::insertProtectNullRevision
 * - Tests for WikiPage::newFromID
 * - Test for WikiPage::newFromRow
 * - Improve phpdoc of 'OldRestrictions' in Title
 * - RCLFilters: Show images and descriptions with page suggestions
 * - Tests for WikiPage::insertRedirectEntry
 * - ImagePage: Make metadata table's initial collapse CSS-only
 * - ImagePage: Clean up metadata.js collapsing
 * - RCFilters: Update invert URL param when toggled
 * - RCLFilters: convert related changes tool to new UX
 * - API: Account for PHP 7.2 change
 * - Replace some Special:Undelete button with OOUI ones
 * - RCFilters: Clarify 'hidden' and 'sticky' filters
 * - Absolutely position "legend" on grouped results
 * - Test for WikiPage::updateRedirectOn
 * - Remove unuseful debug messages
 * - Add test for WikiPage::updateCategoryCounts
 * - Refactor test for WikiPage::doRollback
 * - WikiPage tests @covers for doDeleteArticleReal & commitRollback
 * - Split WikiPageTest into ContentHandler & NoContentHandler tests
 * - Fix phpdoc for WikiPage::updateRedirectOn $redirectTitle param
 * - A few doc comment fixups
 * - Show protection log on every use of moveddeleted-notice
 * - .gitignore: Exclude Extension:Score generated files
 * - Lower DatabaseMysqlBase::lock logging to INFO
 * - xmp: Lower severity of XMP parse failure log events
 * - Revert "Special:Preferences: Use OOjs UI" and follow-ups
 * - Only send statsd data for WAN cache in non-CLI mode
 * - Add GENDER where strings could differ
 * - Fix double escaping for 'userlogin-createanother', 'userlogin-joinproject'
 * - Try to avoid bogus JobTest failures for PHP 7
 * - objectcache: various cleanups to WANObjectCache
 * - objectcache: add example use case to WANObjectCache::getMultiCheckKeyTime
 * - objectcache: add WANObjectCache::getMultiCheckKeyTime method
 * - build: Add PHP 7.1 to Travis CI test matrix
 * - objectcache: Fix HashBagOStuffTest test in PHP 7.1
 * - Changes for Mirandese (mwl)
 * - RCFilters: Make 'days' and 'limit' sticky
 * - objectcache: Run preemptive WAN cache refreshes post-send
 * - objectcache: fix a few documentation mistakes
 * - RCFilters: Ignore 'invert' model if there are no namespaces in saved queries
 * - objectcache: Make WANObjectCache interim caching not interfere with ChronologyProtector
 * - objectcache: Add @ingroup to RedisBagOStuff
 * - Remove @defgroup from DefaultSettings.php
 * - Remove some dumb headers with my name in it
 * - Title: Use a more proper way of detecting whether interwikis are local
 * - resourceloader: Remove deprecated minifier config vars
 * - Make ChronologyProtector actually use cpPosTime cookies
 * - Add missing @throw tags to IDatabase/Database
 * - Use parent function in mysql DB class in getWeightScale
 * - jobs: Remove ClearUserWatchlistJob 'batchSize' option
 * - Use ParserOutput stateless transforms
 * - ParserOutput: Add stateless transforms to getText
 * - Cleanup WikiPageTest
 * - RCFilters: Followup I75cfb2b56a: Fix function declaration
 * - Add new core tags
 * - Fix phpdoc for Category::newFromName
 * - Warn for uploads with new name but same content as local file
 * - HTMLMultiSelectField: Allow formatting in section headings in OOUI mode
 * - WatchedItemStoreUnitTest return strings in db mocks
 * - Fix timestamps in ImportTest
 * - Convert timestamp from DB in RevisionDbTestBase::testInsertOn
 * - Avoid DB rows with usable names but ID = 0 by introducing "interwiki" usernames
 * - Added new success message when CLI Installer completes its work succesfuly.
 * - s/Latn/latn/
 * - WebStart: Remove use of realpath for $IP
 * - Disallow setting DBO_IGNORE in Database for sanity
 * - Add ip_changes to postgres/tables.sql
 * - Database: Fix degenerate parenthesized joins
 * - Shell: skip null parameters
 * - Remove moment.js bump from 1.31 release notes
 * - Remove DEFAULT '' from postgres ip_changes.ipc_rev_timestamp
 * - resources: Bump moment.js from 2.15.0 to 2.19.3
 * - Add wfWaitForSlaves to maintenance/migrateComments.php
 * - Allow disabling exact input query in results in mw.widget.TitleWidget
 * - mw.debug: Avoid overlap between debug toolbar and OOUI dropdowns
 * - mw.notifiction: Bring in some rules from Vector
 * - objectcache: use INTERIM_KEY_TTL constant in WANObjectCache for readability
 * - Increase Opera minimum for Grades A and C to 15
 * - Add SQL for postgres, and fail gracefully in populateIpChanges
 * - Fix undefined $db
 * - Revert "Hide empty OOUI FieldsetLayout headers"
 * - Update OOjs UI to v0.24.3
 * - objectcache: only give current format keys getWithSetCallback callbacks
 * - Combine changes limit and time period selectors
 * - objectcache: add more comments to WANObjectCache
 * - Small change to "Other review tools" link
 * - Introduce ClearUserWatchlistJob
 * - Clean up formatting of SwiftFileBackend::sanitizeHdrsStrict
 * - Align other review tools and saved filters buttons
 * - Use time forcing methods to avoid WANObjectCacheTest flakeiness
 * - Add wfDeprecated call to MimeMagic::singleton
 * - Swap german alias order for img_thumbnail and img_manualthumb
 * - mediawiki.special.apisandbox.js: Apply JavaScript coding conventions

Vendor

 * - Update pear/mail_mime from v1.10.1 to v1.10.2
 * - Update OOjs UI to v0.24.3

3D

 * - Increase far plane
 * - Improve camera rotation & initial position

AbuseFilter

 * - Format filter IDs as numbers

AdvancedSearch

 * - ui.ExpandablePane: Just use a real button
 * - Fix UI namespace selection on Monobook skin
 * - Add config switch for betafeature mode
 * - Force search profile advanced
 * - ui.SearchPreview: Simplify label display
 * - Use wikitext instead of HTML
 * - Use Array.isArray and RegExp.test instead
 * - Various minor fixes
 * - ui.ImageDimensionInput: Fix CSS class to match stylesheet
 * - Remove unused CSS
 * - ui.ArbitraryWordInput: Use util.arrayEquals instead of a duplicate
 * - Handle 'config' parameters like in OOjs UI
 * - Avoid parsing HTML when building DOM objects, and other jQuery conventions
 * - Use 'oojs-ui-widgets' only instead of entire 'oojs-ui'

ArticlePlaceholder

 * - Refactor ItemNotabilityFilter to avoid ItemId::newFromNumber

Babel

 * - Update devDependencies in package.json

BetaFeatures

 * - Compatible with php7.2
 * - BetaFeatures SVGs: Merge logo and title path

CentralAuth

 * - Update RuboCop Ruby gem
 * - Add local groups to meta=globaluserinfo output
 * - Update for core interwiki user handling change
 * - Various fixes to WikiSet caching logic

CirrusSearch

 * - Simple hack to override mlr model from query string
 * - Process nodejs jobs in chunks
 * - Port smoke.feature to nodejs
 * - Update RuboCop Ruby gem
 * - Swap Maintenance::error for fatalError
 * - Disable statsd collection instead of replacing statsd
 * - Port russian_folding.feature to nodejs
 * - Port more_like_this_options.feature to nodejs
 * - Copy geosearch.feature to nodejs
 * - Port full_text_browser.feature to nodejs
 * - Port per-language indexing code from Wikibase to CirrusSearch
 * - Port full_text_advanced.feature to node
 * - Fix full_text_advanced.feature with ruby
 * - Port create_new_page.feature to nodejs

CiteThisPage

 * - Use ParserOutput stateless transforms

CodeMirror

 * - Update comment text color CSS
 * - Rename CodeMirror.hooks.php to CodeMirrorHooks.php
 * - Unify BetaFeatures SVG screenshot markup
 * - Remove php entry point
 * - Set required MW to 1.25.0 in extension.json
 * - Fix typo in name of non-webkit hide class
 * - Remove eslint-disable-next-line no-use-before-define

Collection

 * - Remove ancient back-compat for MW < 1.25
 * - Expand alias translations for Spanish (es)
 * - Add Mirandese (mwl) translations for Collection

CommonsMetadata

 * - Check all license metadata blocks for nonfree flag

ContentTranslation

 * - Remove deprecated dieUsage methods
 * - Group related message keys
 * - Set default languages after fetching valid languages
 * - Some RTL improvements to the page selector
 * - Allow more space for language filter
 * - Remove duplicate suggestions in search results
 * - Post refactor cleanup
 * - Fix null reference error on discard translation
 * - CX2: Use cxserver v2 api

Echo

 * - Update RuboCop Ruby gem
 * - Add left padding to PageNotificationsOptionWidget
 * - Use ParserOutput stateless transforms

EducationProgram

 * - Add Mirandese (mwl) namespace translations

EventBus

 * - Don't attempt sending revision-visibility events if empty

FeaturedFeeds

 * - Use ParserOutput stateless transforms when available

FlaggedRevs

 * - Use ParserOutput stateless transforms

Flow

 * - build: Bump Ruby cruft to avoid security warnings for old rubocop
 * - Use some simpler assert functions in tests
 * - Delete Ruby Selenium tests
 * - Unify BetaFeatures SVG screenshot markup
 * - Use ParserOutput stateless transforms
 * - Flow Nuke: Include hidden topics in Nuke overview
 * - Fix padding on smaller screen sizes

GWToolset

 * - Use ParserOutput stateless transforms when available
 * - Append \ to fix many object namespace issues

GettingStarted

 * - Update RuboCop Ruby gem

Graph

 * - build: Update linters

Linter

 * - Add Korean translation for Special pages
 * - Replace deprecated usage of ApiBase::dieUsage

MassMessage

 * - Use ParserOutput stateless transforms

Math

 * - Update RuboCop Ruby gem

MobileFrontend

 * - Docs: Update documentation for MFMobileFormatterNamespaceBlacklist
 * - Don't run MobileFormatter in Template namespace
 * - Use ParserOutput stateless transforms when available

Newsletter

 * - Fix inconsistent descriptions in interface for creating and unsubscribing

OAuth

 * - Move links from i18n to software

ORES

 * - Unify BetaFeatures SVG screenshot markup
 * - Revert "Use ORES preference on Related Changes page"
 * - Use ORES preference on Related Changes page
 * - Split WL and RC prefs for ORES
 * - Protect Special:Contributions code from missing threshold
 * - Introduce ModelLookup interface and its SQL implementation
 * - Cache anti-stampede improvements
 * - Rate limit thresholds failures to once per (minute x model x wiki)
 * - Make it a bit easier to figure out that Range::combineWith is used

PageTriage

 * - Update RuboCop Ruby gem
 * - Use ParserOutput stateless transforms

ParserMigration

 * - Use ParserOutput stateless transforms

PoolCounter

 * - Update RuboCop Ruby gem

Popups

 * - Schema: convert timestamp into integer
 * - BetaFeatures logo: Merge logo and title path

ProofreadPage

 * - RepoGroup::findFile can and will return false
 * - Make PageContentHander::getAutosummary compatible with its parents
 * - build: Update linters
 * - Use ParserOutput stateless transforms

QuickSurveys

 * - Update RuboCop Ruby gem

ReadingLists

 * - Unbreak query APIs
 * - Limit paging size
 * - Improve query plan for getListsByPage
 * - Use lazy connection references
 * - Increase rl_title length to account for namespace
 * - Discard unused metadata from schema
 * - Fix schema change patch
 * - Sort lists and entries by name and last updated timestamp
 * - Deduplicate projects into their own table

RevisionSlider

 * - Update RuboCop Ruby gem

Score

 * - Remove useless argument
 * - Correct couple typos
 * - Add `override_midi` to README
 * - Clean up this extension
 * - Enable shell restrictions for all binaries
 * - build: Update linters
 * - Remove integration with archived OggHandler extension
 * - Pass 'statusWrapper' to FSFileBackend

Scribunto

 * - Avoid passing null to count

ShortUrl

 * - Update maintenance scipts to use $this->requireExtension

SiteMatrix

 * - Improve comments
 * - Inline sort helper
 * - Improve file organization

SyntaxHighlight_GeSHi

 * - build: Update linters

TemplateSandbox

 * - Use ParserOutput stateless transforms

TextExtracts

 * - Re-enable MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic sniff
 * - Re-enable MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment sniff
 * - Re-enable MediaWiki.Commenting.FunctionComment.MissingParamComment sniff
 * - Re-enable MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName sniff
 * - Don't repeat the default in test setup

TimedMediaHandler

 * - Enable MP3 upload ingestion by default
 * - Desktop native MP3 at higher priority than ogv.js Ogg

TocTree

 * - Rename TocTree.hooks.php to TocTreeHooks.php

Translate

 * - Remove MediawikiExtensionFFS
 * - Don't call EditPage::isOouiEnabled on MW 1.30 or newer
 * - Add a script that expands message group spec
 * - Migrate to BaseTemplateToolbox hook
 * - Drop `-webkit-linear-gradient` image CSS fallback
 * - Handle ParserOutput stateless transforms

TwoColConflict

 * - Update RuboCop Ruby gem
 * - Unify BetaFeatures SVG screenshot markup
 * - Use ParserOutput stateless transforms

UniversalLanguageSelector

 * - Remove non-default Saab font for Punjabi
 * - Move “Language settings” dialog headline up
 * - LanguageNameSearch: Optimize levenshteinDistance
 * - build: Update linters
 * - Update jquery.uls to 98fff1b
 * - BetaFeatures SVGs: Merge logo and title path
 * - Improve ULS language search api

UploadWizard

 * - Work around inconsistent $.when resolving
 * - Increase limit of amount of uploads to 500 for certain user groups
 * - Use ParserOutput stateless transforms when available

VisualEditor

 * - Update VE core submodule to 1.31.0-wmf.11 HEAD (56fe63b62)
 * - MWTable: Cleanup events and prevent fire after teardown
 * - Update VE core submodule to master (789451511)
 * - ui.MWSaveDialog: consistent handling of preview category links
 * - Update VE core submodule to master (49b182123)
 * - DesktopArticleTarget: enable spellcheck on sectionTitle
 * - build: Bump Ruby cruft to avoid security warnings for old rubocop
 * - Update VE core submodule to master (56cfb5d6f)

WikiEditor

 * - Add "requires": { "MediaWiki": ">= 1.28.0" }

WikiLove

 * - Update RuboCop Ruby gem

Wikibase

 * - dispatch: track how long client selecting takes
 * - Tracking within ChangeDispatcher::getPendingChanges
 * - Force a content language in SpecialListDatatypesTest
 * - Introduce EntityByTitleLookup for use by EntityByTitleHelper and EntityLoadingHelper.
 * - build: Bump CI development dependencies
 * - Test for HTML anchors on Special:ListDatatypes
 * - Add anchors to Special:ListDatatypes
 * - Let cirrus knows that the field is empty
 * - Skip AnalysisConfigBuilder tests when no CirrusSearch enabled
 * - Skip fewer tests in ViewEntityActionTest
 * - Skip the diff in Wikibase tests for now
 * - Add Spanish namespace translations to Wikibase
 * - Add Korean translation for Wikibase Respository
 * - Tests for serialize and unserialize of compact diff in EntityChange
 * - Use statement usage tracking to find affected pages
 * - Make EntityHandler::getAutosummary compatible with its parents
 * - Unserialize compact diff when it's string not array
 * - Transmit compact diff instead of suppressed diff
 * - All the backward compatibility needed for compact diff representation
 * - Use ParserOutputPostCacheTransform hook to avoid splitting cache on 'editsection'
 * - Fix typo in the word "strategie"
 * - Change Wikibase View authors to "The Wikidata team"
 * - Stop using EnqueueJob for AddUsagesForPageJob
 * - Move most of the config building to CirrusSearch
 * - Fix insufficient type hint in LanguageFallbackLabelDescriptionLookupFactory
 * - Fix NewStatement generating invalid statement GUIDs
 * - Adding .luachecrc with a minimum configuration
 * - Remove unused "lock-grace-interval" option from dispatchChanges.php
 * - Remove unused $batchSize in SqlUsageTracker

WikibaseQualityConstraints

 * - Remove leftover constructor argument in test
 * - Only schedule job if constraint statements were edited

Wikidata

 * - README say that this is no legacy / not used
 * - New Wikidata Build - 2017-11-30T10:00:01+0000
 * - New Wikidata Build - 2017-11-29T10:00:01+0000

WikidataPageBanner

 * - ParserOutput::setRawText isn't a function
 * - Don't use ParserOutput::setTOCEnabled to try to hide the toc

WikimediaMaintenance

 * - Update for Maintenance::error( $err, $die ) deprecation
 * - Maintenance script for sending bulk emails

WikimediaMessages

 * - Remove unneeded MP3 uploaders group (replaced by extended uploaders)
 * - Adding "Extended uploaders" group for Commons

wikihiero

 * - build: Update linters

MinervaNeue

 * - Use png as fallback for svg on non-supported browsers
 * - Replace unique color with standard subtle print color
 * - Disable download button in all namespaces except main
 * - Fix broken QUnit test

Timeless

 * - No need for background color on the outside of thumbnails
 * - Do not overwrite all background attributes with a color
 * - Only add border to the primary thumb image

Vector

 * - Fix dysfunctional collapseCondition when right-most tab is the star
 * - mw.notify: Remove rules duplicated from core