MediaWiki 1.28/wmf.22/Changelog

Core changes

 * - Tweak fullscreen styles for API sandbox
 * - Use  instead of  for JavaScript click events
 * - SECURITY: quote booleans as string (not integer) in DatabaseMysqlBase
 * - mediawiki.UI: Document explicitly about deprecated .mw-ui-constructive
 * - TemplatesOnThisPage: The second paramter in rawElement is attributes, not content
 * - mediawiki.UI: Align .mw-ui-input appearance to design spec/OOjs UI
 * - objectcache: Fix test coverage
 * - Ignore defineProperty failures in mw.log.deprecate
 * - resourceloader: Don't cache stale responses in mw.loader.store
 * - Fix the name of the Livvi-Karelian to fully Latin alphabet
 * - Livvi-Karelian MediaWiki core messages to release notes.
 * - Disable reportDupes for unit tests
 * - Do not normalise external links to special pages
 * - Revert noindex-category change from change I233ce58fd82a1dbc57b3ab58ce669b23a5781b57
 * - Fix merging of class attribute on edit page textbox
 * - mw.widgets.DateTimeInputWidget: Simplify code for hiding reused $input when infusing
 * - Fix syntax in doc/hooks.txt
 * - LoadMonitor: Avoid "host not replicating?" log messages by checking "is static"
 * - Convert WatchedItemQueryService to using getConnectionRef
 * - Documentation link changes
 * - Fix some LBFactory return type docs
 * - API: Remove deprecated response values from action=login
 * - API: Add hooks for ApiQueryBase's query and row-processing
 * - Minor LoadBalancer cleanups
 * - Replace false for null in sourceFile call
 * - Deprecation of 2 more ContentHandler hooks
 * - Make more ContentHandler replaced hooks emit deprecation warnings
 * - Add 'pmid' to the default interwiki list, and update 'rfc'
 * - Make ShowRawCssJs hook emit deprecated warnings
 * - Make WikiPage::prepareTextForEdit emit deprecation warnings
 * - Add @deprecated to Article::prepareTextForEdit
 * - Revision->insertOn: Set READ_LATEST flag
 * - use Wikimedia\ScopedCallback in WatchedItemStore
 * - Ignore reuseConnection errors after LoadBalancer/LBFactory destruction
 * - Use getConnectionRef in ForeignDBViaLBRepo
 * - Mark 3 hooks deprecated by ContentHandler as such
 * - Fix numerous FileRepo IDEA warnings
 * - Sync up with Parsoid parserTests.
 * - Add more information to reuseConnection exceptions
 * - ObjectCache::newFromParams fix SqlBagOStuff backcompat
 * - API: Add assertuser parameter
 * - Make LoadMonitor use $serverIndexes in the cache key
 * - Use a parameterized log for sub-optimal transaction logging
 * - ApiSandbox: Ungrey the field label before disabling field label greying
 * - objectcache: add WANObjectCache::getMultiWithSetCallback
 * - Setting flexible width on Special:Search results
 * - Add a continuation button to ApiSandbox
 * - Pass Job success status to teardown callbacks
 * - Make Revision::getText emit deprecation warnings.
 * - Make DatabaseMysqlBase use connLogger for connection errors
 * - page: Remove unused WikiPage::doQuickEditContent
 * - Add version to LoadMonitor::getCacheKey
 * - mw.ForeignStructuredUpload.BookletLayout: Check upload filename for local duplicates
 * - mw.loader: Don't unset 'require' after execution in debug mode
 * - Clean up some ObjectCache factory callers
 * - Add the main stash, WAN, and server caches to MediaWikiServices
 * - Password reset link is shown when no reset options are available
 * - Improve @covers tags for ComposerJson and ComposerLock tests
 * - Preserve font size in ApiSandbox when going fullscreen
 * - Add an option to the title widget to exclude the current page
 * - ApiBase: Remove deprecated getResultData
 * - Make Special:MIMESearch non-expensive, again
 * - parserTests: Do not check for DjVu support
 * - ApiHelp: Add directionality to various things that are likely English-like

AbuseFilter

 * - Replace ArticleSaveComplete hook usage
 * - Replace Article::prepareTextForEdit

CentralAuth

 * - Follow up core rename of DatabaseBase to Database
 * - Set failed rename queue status on late errors
 * - Add ignorestatus option for fixing stuck renames

CheckUser

 * - Documentation fixups

CirrusSearch

 * - Don't change globally scoped variables in tests
 * - Map modifier letter apostrophes to straight quotes for French
 * - Add tests for Russian folding
 * - Squash Stress Accents and Fold Ё to Е for Russian Wikis
 * - Add BM25 profiles to cirrus
 * - Remove the default chinese analyzer
 * - Add relforge settings with wp10 and defaultsort
 * - Add relforge profiles for autocomplete with subphrase

Collection

 * - Replace Article::getContent
 * - Avoid call to isSpecialPage on a non-object (null)

ConfirmEdit

 * - Fixing unexcepted HTML escaping in QuestyCaptcha.
 * - Just saw "wench" in a captcha

ContentTranslation

 * - Avoid 301 with recommend tool API
 * - Links: Keep original and redirect resolved source title in linkpair cache

DonationInterface

 * - Disable Amex for IN while we fix our account config
 * - Enable Adyen for credit cards in GB

DynamicSidebar

 * - Replace Article::getContent
 * - Replace PHP entry point

Echo

 * - Fix mw.org link for PageContentSaveComplete link
 * - Replace ArticleSaveComplete hook usage
 * - Add some typehints & phpdoc
 * - build: Extend stylelint to further rules
 * - Introduce stylelint
 * - Use colors for pressed/selected options in the Special:Notifications sidebar
 * - Replace Revision::getText
 * - Reintroduce `highlighted` and `selected` background colors in the Special:Notifications sidebar
 * - Make notifications top toolbar controls sticky
 * - Don't show pages and counts related to disabled notification types on Special:Notifications
 * - ToggleReadCircleButtonWidget: Make circle perfectly round and align color

EducationProgram

 * - Replace Revision::getText

EventBus

 * - Produce the page-properties-change event.
 * - Send a resource_change event on page_image property change

EventLogging

 * - Use EditFilterMergedContent hook instead of EditFilterMerged
 * - Get rid of JsonUtil::uiMessage, pass code to exception directly

FeaturedFeeds

 * - Replace ArticleSaveComplete hook usage
 * - Replace Revision::getText

FlaggedRevs

 * - Replace ArticleSaveComplete hook usage
 * - Replace ArticleSaveComplete in FlaggedRevs

Flow

 * - Remove unused imports
 * - Make more types of exceptions loggable
 * - Recompile templates
 * - Make mw.ui.tooltip work in RTL
 * - Make the tooltip when watching a topic appear again in Chrome

Gadgets

 * - Add Persian translation of "Special:GadgetUsage"
 * - Replace ArticleSaveComplete hook usage

GeoData

 * - Set PARAM_DFLT to 500 for radius

GlobalBlocking

 * - Do not query if the target is not an IP address in SpecialContributionsBeforeMainOutput

GuidedTour

 * - Replace deprecated .mw-ui-constructive class with .mw-ui-progressive

Kartographer

 * - Fixed wrong var names
 * - Normalize ExternalData
 * - Refactor data loader into a separate lib
 * - Remove extraneous numbers from filenames

LabeledSectionTransclusion

 * - Remove a parser test which relies on subst inside !!article

LiquidThreads

 * - Fix regression throwing exceptions
 * - Replace Article::getContent
 * - Fix calling signature of new MailAddress
 * - Replace ArticleSaveComplete hook usage

MobileFrontend

 * - MobilePage: Avoid uncached query for Last modified timestamp
 * - Get rid of footer margin collapsing on Special:MobileDiff
 * - Footer version 2 is now default
 * - Blank user pages should be editable (attempt #2)
 * - Replace Revision::getText
 * - Move versioning to bottom of HTML
 * - Make mobile.drawers depend on mobile-frontend-overlay-close
 * - Ignore bundle when linting

MoodBar

 * - Don't call MailAddress with a user parameter

OATHAuth

 * - Add a query meta api option to check for OATH

OAuth

 * - Fix gender in Echo messages

ORES

 * - Make HooksTest actually work, fix and add one test
 * - Fixup maintenance/CleanDuplicateScores.php

OpenStackManager

 * - Remove i18n shim
 * - Update 'cssclass' => 'mw-chosen' to 'dropdown' => true
 * - Fix undefined $user in OpenStackNovaProject::deleteMember
 * - Replace Article::getContent

PageTriage

 * - Replace ArticleSaveComplete hook usage
 * - Re-enable noindexing of pages under certain conditions
 * - Replace ArticleInsertComplete hook usage

PagedTiffHandler

 * - Convert PagedTiffHandler to extension registration

PdfHandler

 * - Add page dimension caching and avoid metadata tree loading use in doTransform

ProofreadPage

 * - Replace ArticleSaveComplete hook usage
 * - Avoid wfMessage
 * - Reduce main edit box height when editin in vertical mode
 * - Don't use NS_IMAGE
 * - Replace Revision::getText
 * - Removes duplicates articles creation in parser tests

RevisionSlider

 * - Always apply data-pos attribute to pointers as well
 * - Refactor help browsertest
 * - Refactor expand browsertests
 * - Refactor autoexpand browsertests
 * - Only load when revisions are from the same title

Scribunto

 * - Fix pure-Lua ustring and empty patterns
 * - Add handling for PCRE errors in ustringGsub

SecurePoll

 * - Replace Article::getContent
 * - Replace Revison::getText

SemanticForms

 * - Replace wgWikiEditorEnabledModules with mw.config.get('wgWikiEditorEnabledModules')
 * - Fix for handling of unnamed params
 * - Removed MW 1.19 support
 * - Switch language code "no" to "nb"
 * - openlayers input now initialized even if Semantic Maps is installed
 * - Avoid using long-deprecated ApiBase::getResultData

SpamBlacklist

 * - Replace Revision::getText

TimedMediaHandler

 * - Rewrite discovery of TimedText tracks
 * - Add a TimedText namespace tab for video files
 * - Replace Article::getContent
 * - Fix volume resetting to 100% when starting playback
 * - Regression fix: don't load TMH JS modules when not needed
 * - Optional BetaFeatures integration for video.js mode
 * - Revert "Rewrite discovery of TimedText tracks"
 * - Fix empty property references
 * - Fix FOUC and no-js on iframe embed for video
 * - Select default resolution in videojs playback

TitleBlacklist

 * - Article -> PageContent in hook function documentation
 * - Replace Article::getContent
 * - Replace ArticleSaveComplete hook usage

Translate

 * - Support for CLDR plural keywords in JSON file format
 * - TranslateSandbox: do not send email confirmation emails twice
 * - TranslateSandbox: Avoid deprecation warnings about MailAddress
 * - Fix typo in a comment

TrustedXFF

 * - Update array -> []

UniversalLanguageSelector

 * - Update jquery.uls to 0a2f79d0

UploadWizard

 * - Don't show warning confirmation dialog when there are no warnings
 * - Make displaying next button configurable/conditional
 * - Only paint the elements once we move into a step, instead of on construct
 * - Use same 'next' button classes in upload & details step
 * - Inject the  button in a less hacky way
 * - Replace EditFilterMerged hook usage
 * - uw.controller.Details: Correct conditions for metadata copier and upload removal
 * - Allow cancelling an upload on the "Details" step
 * - Remove pointless options from style-only modules

UserMerge

 * - Fix fatal in Special:UserMerge

VisualEditor

 * - Fix detection of headings in NWE format menu
 * - Fix getlanglinks response to deal with no links
 * - i18n: Native digits on 'visualeditor-editnotices-tool'
 * - Add big/small support to NWE
 * - Follow-up I173d82a7: Add dependency for mediawiki.Uri
 * - Hid category links in source edit mode
 * - Move editfont class down to surface view, so it doesn't break DebugBar
 * - Use createTextNode in wikitext converter
 * - Use safer batchPush in converter
 * - Use a streamlined 'converter' in wikitext mode
 * - Use a proper error message when VE fails to load due to not being able to connect
 * - Pull through CommentNode change, adding new CSS file to extension.json
 * - Allow users who haven't enabled NWE in their preferences to use veaction=editsource
 * - Detect format in wikitext
 * - Update VE core submodule to master (b7767d0)
 * - Disable switch-to-VE button in NWE if VE is unavailable, don't hide it
 * - Allow NWE on non-VE namespaces
 * - New wikitext editor: unwrap lists when changing style
 * - Fix styling of categories now they are editable
 * - Pass excludeCurrentPage option to TitleSearchWidget in link inspector

WikimediaMaintenance

 * - createExtensionTables: Use x1 for Echo
 * - Replace false with null for sourceFile call

WikimediaMessages

 * - Override acct_creation_throttle_hit in WikimediaMessages to advise how
 * - WikimediaMessages initial configuration for olo.wikipedia.org
 * - Wikimedia messages for new 'engineer' group for ruwiki
 * - Replace Achinese with Acehnese
 * - Add ec.wikimedia Wikimedistas de Ecuador site

ZeroBanner

 * - Convert ZeroBanner to extension registration

ZeroPortal

 * - Convert ZeroPortal to extension registration