MediaWiki 1.25/wmf22/Changelog

Core changes

 * - Update Wikidata - Revert change dispatcher patches
 * - Update RestBaseUpdateJobs extension to current master
 * - Fix WikiGrok bug
 * - Bump WikiGrok
 * - Update Wikidata (test.wikidata)
 * - Updating ContentTranslation and ULS submodules to latest wmf22
 * - Bump flow submodule in 1.25wmf22
 * - Update CentralAuth to 1.25wmf22 HEAD
 * - Update RestBaseUpdateJobs to master
 * - Update VisualEditor and WikiEditor submodules
 * - Update Echo
 * - TemplateParser: Don't fatal on cache misses
 * - EditPage: Implement 'editnotice-notext' message
 * - build: Declare grunt-cli dependency
 * - build: Increase qunit browserNoActivityTimeout from 10s to 60s
 * - Bump Flow for delete link revert and FlowUpdateRevisionContentLength perf improvement
 * - Update Renameuser to 1.25wmf22 HEAD
 * - Update CentralAuth to 1.25wmf22 HEAD
 * - Updated ContentTranslation to b460064
 * - Update WikiEditor for Ibe6beae9
 * - Update VisualEditor, TitleBlacklist and WikimediaEvents for cherry-picks
 * - Update Citoid to master
 * - Update CentralAuth to 1.25wmf22 HEAD
 * - Force LocalFile::purgeMetadataCache use the master DB
 * - Drop outdated &quot;documentation reviewed&quot; tags
 * - Fix and make PHPDoc tags in FileBackend more specific
 * - Drop not needed @dataProvider doc tags from MediaWikiTitleCodecTest
 * - Don't log HttpErrors in the exception log, use MWLogger
 * - Add framework for file warnings
 * - Fix exit code from rebuildLocalisationCache.php
 * - Fix &quot;Bad value 1 for attribute autofocus&quot; on special pages
 * - Migrate import log to new log system
 * - Add help link to three other &quot;minor&quot; special pages
 * - Emergency remove .mw-headline-anchor
 * - Sync up with Parsoid parserTests.
 * - New testing wrapper to circumvent object access
 * - Fixed timestamp comparison in fixUserRegistration
 * - Optimize order of styles and scripts
 * - API unittests, pass optional params to doApiRequest
 * - Regenerate autoload.php
 * - Fixed phpunit exception test
 * - Add batching support to fixUserRegistration.php
 * - JsonContent: Pass FormatJson::UTF8_OK when beautifying JSON
 * - Tidy up tidy usage
 * - Fix log message for blocks without duration
 * - Fix phpcs errors and warnings in includes/specials
 * - Ignore phpcs in autoload.php
 * - registration: Fix merging of $wgExtensionCredits
 * - ApiParse: Support previewing section=new
 * - Set main RequestContext title in api.php
 * - Fix phpcs errors and warnings in includes/specialpage
 * - API: Return parsedsummary on onlypst
 * - resourceloader: Add ResourceLoader::isModuleRegistered
 * - Fix phpcs errors and warnings in includes/site
 * - Fix phpcs errors and warnings in includes/exception
 * - Fix phpcs errors and warnings in includes/json
 * - Fix phpcs errors and warnings in includes/skins
 * - Fix phpcs errors and warnings in includes/filerepo
 * - Fix phpcs warning and errors in includes/resourceloader
 * - Fix IRC lines for blocks published with the old logging system
 * - phpcs fixups for line length
 * - Update code examples in docs/hooks.txt
 * - Update documentation for SpecialPage_initList
 * - Made getNewtalk use slaves instead of cache/master
 * - Html: Make addition of 'mw-ui-input' conditional on $wgUseMediaWikiUIEverywhere
 * - Fix comment typo in mediawiki.legacy/protect.js
 * - mediawiki.page.startup: Use document.documentElement instead of 'html'
 * - Add linkable anchor #L&lt;N&gt; to (original text) line number in diff
 * - Add support for HD versions of the wiki logo in MonoBook-like skins.
 * - Avoid certain useless dbperformance log entries
 * - Update OOjs UI to v0.9.2
 * - Updated Revision::newFromId callers to use READ_LATEST as needed
 * - qunit: Use default (~1-4ms) delay instead of 10ms or 150ms
 * - Clean up oldid argument to Content::prepareSave
 * - Return HTTP 500 not 200 from thumb.php when streaming fails
 * - mediawiki.action.edit.preview: Hide inserted div#wikiDiff by default
 * - Replacing generic Exception with Exception subclasses
 * - Title: Consider empty edit notices to not exist
 * - Title: Clean up getEditNotices
 * - Update OOjs UI to v0.9.1
 * - Pass if log entry is legacy to ApiQueryLogEvents::addLogParams
 * - Truncate null revision comment for whole multibyte characters
 * - Mark DoEditSectionLink hook as deprecated
 * - Refactor out 'infinity' variants
 * - Use underscores in help links
 * - resources: Move to library version of jquery.client
 * - Avoid excess master queries in getTimestampFromId
 * - OutputPage: Condition-wrap the &lt;script&gt; for 'user.groups'
 * - Mention metrics in IContextSource docs
 * - mediawiki.js: clean-ups
 * - Made JobQueueFederated no longer need &quot;checkDelay&quot; for delaying
 * - Made JobQueueFederated::supportsDelayedJobs check all the partition queues
 * - Removed newFromConds master fallback logic; obsoleted by $flags
 * - Clean up $wgSQLiteDataDir handling and removed standalone sqlite class
 * - Lower timeout of upload stash -&gt; image scaler requests
 * - Enable mw-ui-radio styles on Special:Preferences
 * - Re-introduce AvailableRightsTest for User::getAllRights completeness

Vendor

 * - Update OOjs UI to v0.9.1

BounceHandler

 * - Removed repititive un-subscribe action on a global user

CategoryTree

 * - Remove jscsrc since it's not so useful here
 * - Remove 'install.settings' file
 * - Add JSHint to CategoryTree

CheckUser

 * - Fix block flags in log for user blocks from Special:CheckUser

CirrusSearch

 * - Don't try to use the pool counter without a user
 * - Factor out insource fallthrough
 * - Add support for phrase_prefix match queries
 * - Make Cirrus work with $wgCirrusSearchAllFields['build'] === false
 * - Dump the query when 'cirrusDumpQuery' is requested

Cite

 * - Highlight target references

Collection

 * - Make JSHint pass
 * - Remove unused function 'count_articles'
 * - Add jshintrc file
 * - Remove lint from JavaScript files

DonationInterface

 * - Only override MWException if not in mediawiki
 * - Fix addData calls
 * - Fix syslog formatting
 * - Remove vendor submodule from dev branches
 * - Use PSR logging in GatewayPage classes
 * - Use common code for Adyen form handling
 * - Use PSR logging in gateway adapters
 * - Remove/fix/comment unused local variables
 * - Remove unused methods
 * - Use PSR logging for gateway extras
 * - Use PSR logging in DonationData
 * - Add Monolog handlers and processors
 * - Move remaining controller logic into GatewayAdapter::doPayment
 * - Fix locale fallback calculation in paypal adapter
 * - Wrap an empty payment method
 * - Make paymentmethod non-static
 * - Split staging from unstaging
 * - Don't senselessly repeat base class code
 * - Consolidate GatewayPage logic in the base class
 * - New PaymentResult class for passing user interaction hints
 * - Revert &quot;Move some logging functions into DonationLogger&quot;
 * - Revert &quot;Use DonationLogger in GatewayPage subclasses&quot;
 * - Revert &quot;Add push and pop fns to DonationLoggerContext&quot;
 * - Kill a couple obsolete @param tags
 * - Change name of composer package
 * - Use EDIT_TOKEN_SUFFIX constant instead of global define
 * - Add push and pop fns to DonationLoggerContext
 * - Use DonationLogger in GatewayPage subclasses
 * - Move some logging functions into DonationLogger

Echo

 * - Read revision from master when determining notifications to send
 * - Update mock wgEchoConfig to also run on Special:JavaScript/qunit/plain

EventLogging

 * - Make eventlogging-processor work with generic input and output uris
 * - Add support for kafka reader and writer, make eventlogging-forwarder use generic uri input
 * - Add size limit to event url
 * - Reducing batchsize of events
 * - Changes to batch events more efficiently

FlaggedRevs

 * - Made getTimestampFromId use READ_LATEST for anti-dependencies

Flow

 * - Connect TopicHistory listener to post storage
 * - Contact parsoid only when necessary for FlowUpdateRevisionContentLength
 * - Revert &quot;Allow delete link in menu&quot;
 * - Fix phpdoc classes
 * - Allow delete link in menu
 * - Fix mistakes in PHPDoc tags
 * - Allow parallel conversion of LQT to Flow
 * - Handle errors if compiled template can't be written
 * - Remove JS-only compiled templates
 * - Create Special:EnableFlow
 * - Handle LQT suppressed user
 * - Allow unexpected end tag to pass through createDOM
 * - Filter deleted revisions from LQT import
 * - Limit LQT import cache to 100 topics at a time
 * - Remove unused flow_block_topicsummary_lock.handlebars
 * - Fix/introduct summary single view &amp; diff
 * - Fix header &amp; summary diff view
 * - Don't fail to render history for bad actions
 * - Fix compile-lightncandy make-statement
 * - DisMantle Mantle
 * - Defer required module decision to FlowActions
 * - Fix i18n issues
 * - Rename Redlinker to WikiLinkFixer
 * - Remove unique constraints from flow_*_ref
 * - Fix base href for links not handled by Redlinker
 * - Put &quot;Edit&quot; under dropdown menu for posts
 * - Better error mesage when content is not available
 * - Handle multiple parts in TransclusionExtractor
 * - Fix Fatal error in recent changes
 * - Use grunt instead of jshint directly in pre-commit and Makefile
 * - Fix Reply button text
 * - Re-compile handlebars to fix discrepancy
 * - Make toolbar non-floatable
 * - This is the initial re-activation of VE
 * - GENDER takes user name, not user ID, also as documented in qqq
 * - Don't let JS convert content to wikitext
 * - Fix copy/paste mistake in API param documentation
 * - Reuse history templates
 * - Remove handlebars Makefile
 * - Reset container prior to running PurgeAction
 * - Let API accept content format
 * - Fix reply API example
 * - Allow text in more than just wikitext
 * - Pre-support for ApiSerializable interface
 * - Don't put serialized uuid's into the logging table
 * - Fix failures when no topics exist

GeoData

 * - LinksUpdate needs a ParserOutput object

GlobalUsage

 * - Add setBatchSize call for refreshGlobalimagelinks.php

GlobalUserPage

 * - Use ResourceLoader::isModuleRegistered

LocalisationUpdate

 * - Update github url for mediawiki/core.git
 * - Register unit tests via hook and fix tests to run
 * - Add code to handle core i18n locations

MassMessage

 * - Use WikiPage::doEditContent for ServerSideJob
 * - Fix strict standards warning in MassMessageServerSideJob

Math

 * - Fix PHPUnit provider name
 * - Code style cleanup
 * - New hook MathFormulaPostRender (replaces MathFormulaRendered)
 * - Remove U+FEFF before opening &lt;?php tag

MobileFrontend

 * - Alpha: Quickly lookup a brief info about a wiki page
 * - Avoid master queries on page view for block checks
 * - Make the tappable area of the reference drawer close button bigger
 * - Hygiene: Use ResourceLoader::isModuleRegistered
 * - Limit the new header to alpha only
 * - New-ish Special:MobileMenu page
 * - Fix styling regression in new editor tutorial
 * - PhotoUploadOverlay and Progress use View##event
 * - Fix closing the media viewer
 * - Alpha, Beta: Make reference dialog scrollable
 * - Restore anchor position
 * - Resolve router deferred on back

MultimediaViewer

 * - Differentiate placeholder and final image

OpenStackManager

 * - Don't bomb out if a VM uses an image that glance doesn't know about.

PagedTiffHandler

 * - Add missing context parameter

PdfHandler

 * - Add missing context parameter

Renameuser

 * - Move logging inside of RenameuserSQL

SandboxLink

 * Newly deployed extension

Scribunto

 * - Make mw.scribunto.edit not try to set undefined mw.scribunto
 * - Fix parser tests, YET AGAIN
 * - Use full &lt;?php instead of short &lt;? in ustring generation scripts
 * - Rewrite error handling to avoid OutputPage::addInlineScript
 * - Fix parser tests, again

TemplateData

 * - Use ResourceLoader::isModuleRegistered
 * - Prevent a dependent property from updating on infinite loops

TimedMediaHandler

 * - Protect against undefined transcode indexes
 * - Pass context to FormatMetadata class on ImagePage

TitleBlacklist

 * - Prevent unknown error from the API

Translate

 * - Improve appearance on RTL

UniversalLanguageSelector

 * - Add missing RL dependency ext.uls.init to test module ext.uls.tests

UploadWizard

 * - Fix comment incorrectly referencing bugzilla
 * - Fix flickr import button visibility
 * - Use promises for handlers and transports
 * - Update UploadWizardFlowEvent schema
 * - Move the rest of detailsSubmit to the controller
 * - Move detailsErrorCount to details step UI
 * - Rename browser test features

VisualEditor

 * - Update sub-module for cherry-pick to 8f9701a
 * - Handle TitleBlacklist errors
 * - Set action.saveFailure.message key in Edit schema
 * - Follow-up f620111b: pass parameters to fallback requestPageData call
 * - mw.ViewPageTarget: Grey-out body content as soon as edit is clicked
 * - Unbreak TargetLoader when ViewPageTarget.init isn't present
 * - Update VE core submodule to master (95d161f)
 * - [BrowserTest] update Cite test for new UI
 * - Insert a new references list immediately, rather than showing a dialog
 * - Ensure wikitext is treated as such in PST
 * - Fix action.abort.mechanism value in ViewPageTarget#onUnload
 * - Add general citations dialog
 * - Update VE core submodule to master (546dbc9)
 * - Send Parsoid API request immediately when user clicks edit
 * - Unset $wgVisualEditorResourceTemplate after usage, it's not a real global
 * - Use ResourceLoader::isModuleRegistered
 * - Load RL modules in one load.php request, rather than in two stages
 * - Move parseWikitext from ApiVisualEditor.php to ApiVisualEditorEdit.php
 * - Remove basetimestamp/starttimestamp from ApiVisualEditor
 * - Don't try to access x-parsoid-performance on restbase cache hits
 * - Update VE core submodule to master (792b450)
 * - Stringify and parse rendered references
 * - Update VE core submodule to master (89b0629)
 * - Remove MWTransclusionMetaNode
 * - Remove unused ve.ui.*Inspector.static.removable = false;
 * - ve.ui.MWLinkNodeInspector: Restore action buttons
 * - Fix &quot;Error /styles/widgets/images/broken-image.png 404 (Not Found)&quot;
 * - mw.ViewPageTarget: Hide ve-ui-surface during activation as well
 * - mw.ViewPageTarget: Hide ve-ui-surface instead of ve-ce-surface
 * - Handle undoing of reference group changes
 * - Test for class attribute duplication bug

WikiEditor

 * - Don't try to do event logging if we don't have a stats ID
 * - Try to prevent crazy EventLogging entries with no session ID etc.
 * - Only do client-side instrumentation on action=edit/action=submit
 * - Fix WebRequest::getVal calls for instrumentation
 * - Revert making installable via composer (and add composer test entry point)
 * - Insert link: trim whitespace from the external link
 * - Move hardcoded parsed thumbnail html from i18n to config
 * - Replace 104px by 102px for width of thumbnail div
 * - Reformat the license warning only if available
 * - Reuse variable profile instead of $.client.profile
 * - Style code
 * - Don't try to log a boolean for page.revid
 * - Fix name of editingSessionId
 * - Default user.editCount to 0 in the Edit schema

Wikidata

 * - Revert change dispatcher patches
 * - Update Wikidata

WikimediaEvents

 * - Update Edit schema

WikimediaMessages

 * - Add override for &quot;centralauth-uwbr-registration-nodate&quot;