MediaWiki 1.28/wmf.5/Changelog

Core changes

 * - LinksDeletionUpdate: Fix typos in column names
 * - Avoid contention in updateLinksTimestamp
 * - Fix Status::getMessage for the multiple errors, $shortContext only case
 * - Fix Message::newFromSpecifier for nested RawMessage
 * - Change invalid password reset form language
 * - Reject authentication data change when there are warnings
 * - i18n: Use https: scheme for HSTS external links
 * - Call ChangeAuthenticationDataAudit from the API
 * - Map dummy language codes in sites
 * - Remove getOptions checks from getStashKey entirely
 * - Make edit stash keys less preference sensitive
 * - InfoAction: Don't pass non-dbkeys to LinkBatch
 * - jsduck: Update paths to OOjs UI files in eg-iframe.html
 * - Avoid rollback and bot flagged edits in edit stash stats
 * - resourceloader: Add support for variables in WikiModule
 * - Follow-up c81ab8ae5f: add forgotten dependency on mediawiki.language
 * - Avoid exceptions for empty titles in addResultToCache for sanity
 * - Password change request should be optional on soft reset
 * - HTMLForm: Properly support 'flatlist' in OOUI mode
 * - revisiondelete: Fix $oldBits/$newBits usage in setVisibility
 * - Avoid DBPerformance warnings in Category::initialize
 * - logging: Simplify DeleteLogFormatter b/c check
 * - Clean up setVisibility log type logic
 * - Sync up with Parsoid parserTests.
 * - Don't override action in UI and REDIRECT responses
 * - Fix float of search input on Special:Search
 * - Add column alias support in BatchRowIterator
 * - HTMLForm: Don't add a type=reset to links
 * - Don't lose namespace when searching via api
 * - Improve HTMLForm (and Special:ChangeCredentials) cancel button
 * - AuthManager::setDefaultUserOptions and LoginForm::initUser shouldn't invalidate CA tokens
 * - mediawiki.jqueryMsg: Add @since to parseDom
 * - Rethink diff limits
 * - Fix Special:PrefixIndex paging links
 * - LinkBatch: Cast array keys to string when constructing TitleValue
 * - Make AuthManager::getAuthenticationProvider public
 * - Clean-up of MediaWikiTestCase::checkHasGzip
 * - Check that file is executable in Installer::locateExecutable
 * - AuthManager: Ensure neededRequests have action and username set properly
 * - Parser: Pass Title onto Linker::makeExternalLink
 * - Fix key prefix comment after 0a38dbc809c8
 * - Add a parser test for $wgNoFollowDomainExceptions functionality
 * - Remove a test case from PHPSessionHandlerTest::testSessionHandling
 * - Make $url parameter to Parser::getExternalLinkAttribs required
 * - User: Simplify process cache by using WANObjectCache::getWithSetCallback
 * - Simplify mediawiki.raggett.css
 * - HTMLMultiSelectField: Use CheckboxMultiselectInputWidget
 * - mw.Title: Correct order of file URL regexes in newFromImg
 * - Update OOjs UI to v0.17.4
 * - Reset all tokens on login
 * - resourceloader: Strip leading BOM when concatenating files
 * - Do not redirect to HTTPS when it's not supported
 * - Avoid passing integers to mw.RegExp.escape
 * - Expose SearchEngine specific profiles
 * - HTMLRadioField: Only add 'mw-ui' classes when needed
 * - objectcache: Support key versioning in WANObjectCache
 * - Make LinksDeletionUpdate use query batching
 * - populateRevisionLength: Read from slaves when possible
 * - Show ParserOutput warning instead of on the actual page output for ignored display titles

AbuseFilter

 * - Update for AuthManager
 * - Change some globals to work better with extension registration
 * - Add extension.json, empty php entry point
 * - Revert extension registration and following changes
 * - Set doesWrites for SpecialAbuseLog

CentralAuth

 * - Prefetch $wgCentralAuthLoginWiki DNS
 * - Add missing calls to CentralAuthPrimaryAuthenticationProvider::setPasswordResetFlag
 * - Do redirect for Special:CreateAccount as well
 * - Fix auto-creation
 * - Make sure mAttachedArray is loaded in CentralAuthUser::attachedOn

CheckUser

 * - Fix Special:Checkuser for log entries when cuc_title = ''

CirrusSearch

 * - Fix popqual score for very small wikis
 * - Expose cirrus profiles to SearchEngine
 * - Completion suggester honor hard limit in all cases
 * - browsertests: Only run setup once when parallelized
 * - Cache phrase suggest settings
 * - Remove duplicated and unnecessary code
 * - Fail and log error if page was not properly indexed
 * - output relative paths from run-phan.sh

ContentTranslation

 * - Fetch and remember the template namespace alias for target language
 * - Remove click handler for target language selector in Special:CX
 * - Correct the wt value of adapted templates
 * - Do not warn users about AbuseFilter rules that do not affect publishing

DonationInterface

 * - More cleanup around GatewayPage constructor
 * - Use 'noform' error when appropriate
 * - Move GatewayPage fun into the execute method
 * - Add some logging
 * - Clear out expensive js landmine
 * - Test setValidationAction
 * - FIXMEs
 * - Remove FormDir and filename for Mustache forms
 * - Handle error-default form in Mustache
 * - JS module fixes
 * - Use Mustache for legacy PayPal adapter
 * - Render error forms with Mustache
 * - Use DefaultAppeal config setting
 * - Correct typo in Adyen form chooser settings
 * - Add comments explaining gc.iframe module
 * - restore GC iframe stylesheet
 * - Fill missing antifraud message order_id
 * - Make custom filters singleton method public
 * - Simplify antifraud message logic
 * - Stop sending item category
 * - PayPal Express Checkout: recurring
 * - Const and better name for initial ip velocity flag
 * - Rationalize accesibility of fns and methods for Extras
 * - Skip ffname logic for Mustache-rendered forms
 * - Don't rely on uselang for Adyen

Echo

 * - backfillReadBundles.php: Use sub-select to target rows to update
 * - backfillUnreadBundles.php: Use the correct database
 * - Listen to 'mark as read' secondary link in xwiki bundles
 * - Mark bundled notifications as read
 * - Maintenance: Backfill read timestamp on bundled notifications
 * - Fix notification pager
 * - Cleanup DiscussionParser
 * - Display a message if there are no notifications in Special:Notifications
 * - Clean up the pagination in Special:Notifications
 * - Darken the dates in the Special:Notifications groups
 * - Adjust styling for Special:Notification items
 * - Unread pages API

Flow

 * - Revert "Use the standard VE toolbar in Flow as much as possible"
 * - Dry run: Read content properly when doing consistency check
 * - HACK: Hide reply form for locked topics
 * - Use the standard VE toolbar in Flow as much as possible

GWToolset

 * - Use SpecialPage::getTitleFor

GeoData

 * - Add query to debug info
 * - Fix comment typo in GeoData.body.php
 * - Specify nested_path in geo distance sort

JsonConfig

 * - Lua function to access data namespace
 * - JCApi action=reload/reset fixes

Kartographer

 * - rm getDefaultAttributes, remove mw-kartographer css
 * - Remove inline styling
 * - Remove Kartographer.php
 * - Flip $wgKartographerUseMarkerStyle to false by default
 * - Add class parameter to
 * - Fix color extraction
 * - Wrap JSON errors in a clarifyng message
 * - Fix map overlapping on mobile
 * - Fix full screen maps broken on mobile.
 * - Match the style of maplink numbered boxes
 * - Added resource loading test

Math

 * - Add alt tag for SVG image
 * - Add tracking category for math errors
 * - Send a no-cache content request on mathpurge=true
 * - Fix: Update png fallback
 * - Use img instead of meta tags for SVGs

MobileFrontend

 * - Don't check namespace twice
 * - Update account creation error browser test for AuthManager
 * - Make Wikidata descriptions only show up on main namespace
 * - Add parser cache hash key for $wgMFStripResponsiveImages state
 * - Show sister site boxes again

OATHAuth

 * - Avoid DB connections on OATHUserRepository construction

ORES

 * - Remove a done TODO
 * - Use ores.wikimedia.org instead of ores.wmflabs.org

Popups

 * - Remove the need for global `mw.popups.triggers`
 * - Do not show Hovercards when NavPopups gadget is enabled on huwiki
 * - Correctly log the 'dismissed' action when hovering over another link
 * - Drop support for non-SVG browsers

SemanticForms

 * - Fix for closing popup form on save - fix for 8a9048b ?
 * - Fix for d448b00

Thanks

 * - Set doesWrites for SpecialThanks

Translate

 * - Use index health status instead of active shard count
 * - Remove unnecessary check in PageTranslationHooks::translationPageHeader
 * - Use Linker::linkKnown instead of link when linking to special pages
 * - Fix (hopefully) last use of the old button class
 * - Fix broken CSS referring to removed button class
 * - Fix ttmserver-export for MediaWiki 1.28
 * - Remove padding that is always overriden
 * - Do not show null as message group description
 * - Automatically collapse navigation bar on small screens

TranslationNotifications

 * - Avoid FOUC in Special:NotifyTranslators
 * - Add intro text on Special:NotifyTranslators.
 * - Use $wgLocalInterwikis instead of $wgLocalInterwiki in otherwiki notifications
 * - Update login token fetching
 * - Update csrf token handling to use modern API

UniversalLanguageSelector

 * - Add license files for upstream jquery-* libs
 * - Update jquery libs
 * - Have the background for input settings not run to the edge of the dialog
 * - Give language selection buttons more space

UploadWizard

 * - mw.FirefoggHandler: Bail on non-ASCII filenames
 * - mw.DestinationChecker: Avoid exception when a file page without extension is returned
 * - mw.UploadWizardDetails: Don't assume that a description is required
 * - mw.FormDataTransport: Don't attempt to retry aborted uploads
 * - mw.FormDataTransport: Avoid exceptions when a chunked upload is aborted
 * - uw.CopyMetadataWidget: Make the 'Copy' button disabled if there's nothing to copy
 * - uw.CopyMetadataWidget: Use CheckboxMultiSelectWidget

UrlShortener

 * - urldecode provided input before storing it

VisualEditor

 * - i18n: Update reference to the switch button being in a dropdown
 * - Update VE core submodule to master (a7ee120)
 * - Fix config of mobile surfaces
 * - Update VE core submodule to master (7fe81f3)
 * - Move $editableContent computation into overridable method
 * - Simplify teardown of toolbar save button
 * - Fix loading bar opacity
 * - Follow-up If67bab93: Try to unbreak content model checking more
 * - Fix fatal error in our SkinTemplateNavigation handler
 * - Allow extensions to support extra namespaces and content models
 * - ve.init.MWWelcomeDialog: Don't mess with the actions dynamically
 * - ve.init.MWWelcomeDialog: Fix keyboard focus on dialog actions

WikimediaEvents

 * - Fix broken remoteBasePath (extensions, not skins)

ZeroPortal

 * - Renamed var names for consistency
 * - Handle missing revisions field in api response

Vector

 * - Update mediawiki/mediawiki-codesniffer to 0.7.2