MediaWiki 1.22/wmf6/Changelog

Core changes

 * - Update WikiData related extensions for 1.22wmf6
 * - Commit of various wmf-branch live hacks
 * - Refactored WikiPage::updateCategoryCounts to use upsert.
 * - The language used to render SVGs should be definable
 * - Doc fix for MediaHandler::getThumbType
 * - Follow up I6e64a missing global deceleration for $wgHTTPConnectTimeout
 * - Shorten our in-comment urls to the whatwg HTML spec.
 * - RefreshLinks on imagelinks on new uploads to kill tracking cat.
 * - jquery.client: Fix profile of some UAs and add exactMatchOnly param
 * - [LockManager] Made it easier to get both SH and EX locks at once.
 * - Allow setting of connection timeouts for HTTP requests using cURL
 * - Remove unused global
 * - Follow-up 05077dc3740
 * - Remove the $wgHandheldForIPhone config variable entirely
 * - More cleanup when removing accounts with removeUnusedAccounts.php
 * - Added tests for new DatabaseBase::upsert
 * - Introducing ContentGetParserOutput hook.
 * - mediawiki.icon: Move arrow icons to a separate module
 * - User: Clean up coding style and documentation
 * - [Database] Added an upsert function to perform/emulate ON DUPLICATE KEY UPDATE.
 * - Add a script to remove deleted files from storage
 * - remove invalid comment from SkinVector::setupSkinUserCss
 * - invalidparammix/missingparam get the module prefix twice
 * - mediawiki.legacy.ajax: Wrap Sajax methods in mw.log.deprecate
 * - Make headers in FauxRequest case insensitive
 * - Remove occurence of $wgOut in HTMLForm::displayForm's documentation
 * - Cologne Blue: add missing 'undeletethispage' message
 * - Fix api.post call in mediawiki.api.edit.js
 * - Fix edit patrolling in multi Diffs
 * - mediawiki.legacy.ajax: Pass JSHint
 * - doc: doxygen expands tabs to 4 spaces instead of 8
 * - Update messages.inc and rebuild MessagesEn.php.
 * - test: inject autoloader in Maintenance class
 * - LinkCache singleton can now be altered
 * - Throw an exception in ScopedCallback for invalid callbacks.
 * - Cleaned up some Article comments.
 * - remove leftover @embed directive
 * - Migrate Extension:PostEdit interface to core
 * - Do not show empty parenthesis on log entry with no block flags
 * - Fixed trailing slash removal code.
 * - Fixed EZConnect string regex in OracleInstaller class.
 * - Update Parsoid-only tests to reflect shortened typeof
 * - Delete RELEASE-NOTES-1.21
 * - WebRequest::getIP cleanups.
 * - Tooltips for HTMLCheckMatrix
 * - Micro optimization when fetching a magic from cache
 * - tests: resources tests were not being run
 * - Add setting wgLogAutopatrol to toggle logging of autopatrol actions
 * - Update linktrails for Hindi and Odia
 * - Darker labels in new login and create acct forms
 * - Add new parameter $patrolFooterShown to hook ArticleViewFooter
 * - Fixed OracleUpdater::doPageRestrictionsPKUKFix prefix
 * - Oracle: DRCP and persistent connections support
 * - API: Fix chunk upload async mode
 * - Renaming files to follow name conventions
 * - overhaul maintenance/mwdocgen.php
 * - wfIniGetBool: reduce strtolower calls
 * - Allow patrolling page creations from Special:RecentChanges
 * - revert last 'ru' l10n update
 * - Merge 'passwordreset-pretext' and 'passwordreset-text' messages
 * - benefits icon part of background, not float
 * - Check if API enabled before loading dependent JS modules
 * - wikibits: Pass JSHint
 * - wikibits: Wrap jsMsg in mw.log.deprecate
 * - wikibits: Replace checkboxShiftClick globals with dummies
 * - wikibits: Wrap UA and accesskey globals in mw.log.deprecate
 * - Allow setting the ID of the main table in HTMLForm
 * - Give skin more control of OutputPage modules
 * - ApiHelp: Avoid header for example, when there no examples
 * - Customise linktrail for Gujarati (gu)
 * - mediawiki.searchSuggest: Use mw.Api instead of jQuery.ajax
 * - ResourceLoader: Prevent prefixless modules from overwriting others
 * - Add autocreate to addNewUserLogEntry docs.
 * - Newlines should be converted to spaces for IRC feed
 * - RecentChange: deprecate newFromCurRow and loadFromCurRow
 * - Add TitleQuickPermissions hook to Title::checkQuickPermissions
 * - De-duplicate refreshLinks2 base jobs on insert.
 * - Compress PNGs used in new forms
 * - new Create account contributors icon
 * - Avoid changing the global on special pages
 * - Update referenced PHP version in 'normal' README.
 * - tests: group structures tests in their own directory
 * - doc: various updates
 * - Make 'subnet' feature of $wgRateLimits work with IPv6

CentralAuth

 * - Normalized token TTLs and memcached calls.
 * - Add &quot;centralauthtoken&quot; to API

DataValues

 * - trim incoming string values
 * - Stopgap to avoid excessively long string values (backport)
 * - [coordinate.js] Removed GlobeCoordinate's &quot;isValid&quot; function
 * - Implemented time.js parser constructor
 * - Removed globeCoordinate's unused increase/decreasePrecision methods
 * - Removed time.Time's isValid function
 * - Revert &quot;Revert &quot;Revert &quot;Temporary break the phpunit bootstrap file to see if travis reacts correctly to this&quot;&quot;&quot;
 * - Revert &quot;Revert &quot;Temporary break the phpunit bootstrap file to see if travis reacts correctly to this&quot;&quot;
 * - Revert &quot;Temporary break the phpunit bootstrap file to see if travis reacts correctly to this&quot;
 * - Temporary break the phpunit bootstrap file to see if travis reacts correctly to this
 * - Added build failure notifications for #wikimedia-wikidata IRC and my email account
 * - [coordinate.js] Optimized precision handling
 * - Made DataValue::getType static, added tests for both static/instance usage
 * - Revert &quot;Moves wgValueFormatters global definition in MW specific initialization file&quot;
 * - Updated GeoCoordinate's serialize/unserialize methods
 * - Changed globe coordinate type label to &quot;Geographic coordinate&quot;
 * - Renamed &quot;geo coordinate&quot; to &quot;globe coordinate&quot;
 * - Coordinate values of backend and frontend can now exchange precision
 * - Properly implemented JS GlobeCoordinateValue::toJSON and newFromJSON
 * - Added some TODOs and cleanup to globeCoordinate.parser
 * - Moves wgValueFormatters global definition in MW specific initialization file
 * - Properly set globeCoordinate.GlobeCoordinate.prototype.constructor
 * - Minor improvements to DataTypeFactory
 * - [coordinate.js] Renamed coordinate to globeCoordinate
 * - [coordinate.js] Implemented list rotator to set precision
 * - [coordinate.js] Refactored precision handling
 * - [coordinate.js] Correctly assigning coordinate variable
 * - [coordinate.js] Implemented coordinate expert widgets
 * - [coordinate.js] Implemented &quot;coordinateinput&quot; widget
 * - Removed unnecessary usage of QUnit.newMwEnvironment in QUnit tests
 * - proper usage of global &quot;time&quot; in timeexperts.TimeInput.tests.js
 * - [coordinate.js] Implemented coordinate value parser
 * - [coordinate.js] Implemented coordinate data value
 * - [coordinate.js] Implemented equals function in Coordinate prototype
 * - [coordinate.js] Implemented iso6709 function in Coordinate prototype
 * - [coordinate.js] Implemented isValid function in Coordinate prototype
 * - [coordinate.js] Basic Coordinate object QUnit tests
 * - [coordinate.js] Basic parser QUnit tests
 * - [coordinate.js] Added QUnit tests for basic coordinate.js methods
 * - [coordinate.js] Refactored precision texts handling and added tests
 * - [coordinate.js] Added documentation
 * - [coordinate.js] Formatted files according to coding style guidelines
 * - [coordinate.js] Import of coordinate.js
 * - Refactored valueview preview into its own widget
 * - Minor cleanup of time.js
 * - Fixed paths in test suite config
 * - Added README in the repo root
 * - Updated travis config file to run the tests of all components in this git repo
 * - Added phpunit.xml file for all projects in the repo
 * - Added missing dependency of TimeInput expert
 * - Added Travis CI config file
 * - Basic toggler widget tests
 * - Input extender: Listening to &quot;animationstep&quot; event
 * - Always resize StringValue expert input element
 * - List rotator widget: Assigning position absolute to menu
 * - Input extender widget: Removed obsolete stopPropagation

Diff

 * - Added build failure notifications for #wikimedia-wikidata IRC and my email account
 * - Added @throws docs
 * - Added ArrayComparer interface
 * - Added testErrorOnUnknownDiffOpType to MapPatcherTest
 * - Removed impossible to test else case, only there for legacy reasons, from Diff
 * - Remove ListDiff::newEmpty
 * - Added FIXME to broken code
 * - Added ThrowingPatcherTest to test throwErrors and ignoreErrors
 * - Added testPatchMapRaisesError to ListPatcherTest
 * - Added test for line 135 of MapPatcher
 * - Updated build status to point to auto updated travis project
 * - Ignore class autoloading in entry point in unit test coverage report
 * - Added and fixed patcher tests and two uncovered bugs
 * - Added @covers tags for AtomicDiffOp
 * - Added @covers tags for ThrowingPatcher
 * - Got rid of DiffOpTestDummy
 * - Added tests for Diff getAddedValues and getRemovedValues

DonationInterface

 * - Allowing the OrderID for Adyen to be Resurrected
 * - Changes for SmashPig/Adyen!
 * - Fixing minor issues with testing code
 * - Fixing RTBT Methods that were two step

Echo

 * - Link to any heading not just a main heading

FlaggedRevs

 * - Respect content model for viewing stable versions.

GettingStarted

 * - Clarify setrawcookie comment.
 * - Show toolbar after post-edit is done, if applicable.

GuidedTour

 * - Remove template parse operation on every page view
 * - Fix QUnit issues, such as an incorrect use of assert.ok.
 * - Refactor and add support for multiple tours and sticky tours.
 * - Bump for change to Guiders default animation duration.

Math

 * - Set menuSettings.locale
 * - MathJax Localization: Remove language menu
 * - MathJax: Support localizations of MathJax
 * - Calculate HTTP POST data in separate method for debugging

OpenStackManager

 * - Remove duplicate cores quota display
 * - Add Display Quotas action to Special:NovaProject
 * - Fix a bug with trimming 'local-' from the requested service group name.

PageTriage

 * - Undoing temporary revert of new PageTriage code for deployment
 * - Temporary revert of PageTriage for wmf deployment

Parsoid

 * ** Newly deployed extension

RelatedSites

 * - Correct the id for related sites sidebar

Score

 * - Pass length of ogg file to TimedMediaTransformOutput

TemplateData

 * - ApiTemplateData: Expose root description property

TimedMediaHandler

 * - set last error if job fails
 * - Mark active transcodes running for to long as failed
 * - Pop up videos set the autoplay attribute to true
 * - Fix format detection for for video only files
 * - Allow registered users to reset transcodes

Translate

 * - Do not commit upates to the index immediately
 * - Break long line
 * - Get rid of some ugly globals
 * - Get rid of some ugly globals
 * - Get rid of some ugly globals
 * - Filter group from Special:LanguageStats when group is not a priority language
 * - Update formatting
 * - Remove list of message groups from api documentation

UniversalLanguageSelector

 * - Fix: Uncaught TypeError: Cannot read property 'shown' of undefined
 * - Json mimetype is application/json
 * - Hide ULS trigger from unsupported browsers
 * - Introduce Api for loading jquery.i18n json files
 * - Huge icons in language settings
 * - Keyboard icon misaligned in Firefox
 * - 4
 * - Properly save back-up preferences for repeated canceling
 * - Make &quot;Cancel&quot; reset preferences and &quot;Apply&quot; save and close
 * - Clicking on the 'Apply Settings' does not close the ULS panel
 * - Blacklist old browsers
 * - Position the language settings in RTL with interlanguage position
 * - Remove lot of scroll to view related code
 * - Update jquery.uls from upstream
 * - Avoid setting inline style for the element when reset applied
 * - Update jquery.ime from upstream
 * - Make sure languages section is visible when adding ULS cog icon
 * - Exclude does not apply if the editfont preference is default
 * - Update jquery.webfonts from upstream
 * - Do not use &quot;System&quot; as a font
 * - Don't show anonymous users tipsy with setlang
 * - Clarify labels for input methods
 * - Allow ULS language settings accessed from user preference screen.
 * - Fix cancel behaviour of display settings
 * - Refactor interface integration code
 * - Show input methods for selected language correctly
 * - Access i18n json files from same domain for IE8 and IE9
 * - Get the saved font using the fontSelector defined in mw.webfonts.setup
 * - Remove document from anon cover function
 * - Remove webfonts enabling checkbox and associated preference
 * - Reduce use of globals
 * - Update formatting
 * - Fix some incorrect hook annotations
 * - Remove unused resources
 * - Update jquery.uls from upstream
 * - Reset the dirty bit after preferences are saved.
 * - Display notification when disabling input methods from keyboard icon menu
 * - Hide the ULS trigger for users who disabled JS
 * - Do not show ULS in weird positions
 * - Revert &quot;Remove redundant focus handler&quot;
 * - Update webfonts test page
 * - Optimize images
 * - Provide disable input tools option in IME menu
 * - Remove redundant focus handler
 * - Add fonts for Syriac Armaic languages
 * - Update jquery.ime from upstream
 * - Revert &quot;Add a MediaWiki preference for enabling ULS IME&quot;
 * - Better way to fix jslint warnings
 * - Remove a redundant CSS rule
 * - Fix all jshint errors
 * - Scroll the window to show language settings if necessary
 * - Update jquery.ime from upstream
 * - Cog icon can be used to close the language settings panel
 * - Simplify the language settings display
 * - Set the position of display settings to match ULS
 * - Avoid setting a fixed height for font selectors
 * - Revert &quot;Avoid duplicate languagesettings dialog in page source&quot;
 * - Scroll language settings on all changes
 * - Avoid duplicate languagesettings dialog in page source
 * - Replace id uls-more-languages with class
 * - Put the cog icon in the middle of the section title
 * - Add a MediaWiki preference for enabling ULS IME

Vector

 * - Fix JSHint warnings:

VisualEditor

 * - Code style fixes: 'function(' =&gt; 'function ('
 * - Fix API request for language links
 * - Give users a read-only view of language links
 * - Fix deactivate
 * - Really fix notices sometimes not being an array
 * - Tolerate JSON stringify screwing up
 * - mw.ViewPageTarget: Make tabLayout configurable server-side
 * - 'typeof' for templates changed in Parsoid, it is 'Transclusion' now and used to be 'Object/Template'
 * - Update reference lists and inline numberings automatically.
 * - Make the mwMeta dialog trigger a toolbar action, not a button
 * - ve.dm.Converter: Fix too-much-ascending bug in Converter.
 * - Consistency
 * - Fixes to permaturely merged browser compatibility checks
 * - Message documentation for visualeditor-browserwarning.
 * - Fix double width border between toolbar and surface in dialog.
 * - Unit tests for browser compatibility list
 * - Implement new browser compatibility checks
 * - ve.ce.Document: Introduce getRelativeRange method
 * - makeStaticLoader: Incorporate hardcoded changes and re-sync
 * - Implement Grunt support (grunt jshint,csslint,qunit,watch)
 * - Add .csslintrc file and fix remaining warnings
 * - jshint: Fix trailing comma
 * - Proper support for frame images (do not display magnify icon).
 * - Store DM nodes in InternalList
 * - Make it clear in the labels that this is for sorting
 * - ve.ui.MWTemplateDialog: Implement inferring of template data
 * - Unwrap excess &lt;p&gt;s in inline template rendering
 * - Use grapheme clusters in unicodeJS.TextString
 * - ve.debug: Document why we use global Function#apply+Function#call instead of method.apply
 * - Now we've got PHPCS switched on, kill long lines
 * - JS and PHP code style fixes
 * - Fix demo to convert annotation indexes to actual annotations
 * - Convert GeneratedContentNode into a mixing (instead of an abstract class).
 * - Add icon option to ve.ui.TextInputWidget
 * - Add search icons
 * - Template dialog cleanup
 * - Add support for editing multi-template nodes
 * - Compare objects/arrays fix
 * - Add class mw-figcaption to figcaption tag inside mwimage
 * - Adjust coverter getDomSubtreeFromData method call inside ve.dm.MWBlockImageNode to pass correct arguments (there was an API change).
 * - Fix internal node weirdness
 * - Add tests for ve.dm.InternalLists
 * - Use config object for ve.ui.PagedDialog.addPage optional args
 * - A fix for arrow movements in RTL wikis.
 * - Fix resizable nodes
 * - Naming typo and mw content in demo
 * - Cleanup internalList method names and data stores
 * - Make menus render on the very top of everything
 * - Treat acronyms like words in camel case names
 * - Consistent use of mw in HTML classes, and data element and annotation types

Wikibase

 * - parse the copyright message in EntityView
 * - handle exception for unknown data type when formatting PropertyValueSnak
 * - Split EntityPerPage rebuilder code into separate class
 * - Change EntityId::getType to be static
 * - Take globe coordinate data type support out of experimental mode
 * - Renamed &quot;geo coordinate&quot; to &quot;globe coordinate&quot;
 * - Make the intro and rights message consistent in special pages
 * - Use correct plural form
 * - Corrected string and text description
 * - Correct message so it is using plural parser function
 * - Remove query message
 * - Move code for injecting the edit/add links link into class and add tests
 * - add permission, block and read only checks for Special:ModifyEntity
 * - Moving entity operations into separate ChangeOps
 * - Add .jshintrc for Wikibase and make it pass
 * - do null check for invalid site, instead of false
 * - Basic EntityView PHPUnit test
 * - show correct diff revision id in diff view
 * - new Special:SetSiteLink
 * - EntityView::getHtmlForClaims separation into getHtmlForClaim
 * - Inject value formatters into EntityView instead of using global in EntityView
 * - Proper formatting of values in EntityView
 * - Selenium tests for setSitelink special page
 * - This API action is wbcreateclaim but examples were saying action=createclaim
 * - Trigger redirect based on content negot.
 * - Added exception that is thrown when getting an invalid property id
 * - Added InternalEntityIdInterpreter
 * - Fix test which is broken when running Wikibase without ULS
 * - Remove some dead prototyping code
 * - Fix action=purge for Special:EntityData
 * - Removed unused import
 * - remove hardcoded &quot;ERROR: TODO: ...&quot; output from TypedValueFormatter
 * - Allow wikipedia subdomains in Special:ItemByTitle.
 * - Added EntityUpdater
 * - Hooked up EntityRemover to lower level components
 * - Fix incorrect code after merge
 * - Register ALL of the tests in the MW test runner hook
 * - Added EntityRemover
 * - json decode value for addQualifier in SetQualifier api module
 * - Move Set and RemoveQualifier api modules out of experimental
 * - Implemented ValuelessSnakStore-&gt;removeSnaksOfSubject
 * - Implemented ValueSnakStore-&gt;removeSnaksOfSubject
 * - Fix fetching of a TableBuilder after it got moved about
 * - Fixed callback usage in ClaimDiffer and added tests
 * - Fixed testPatch in EntityTest
 * - Added test config and bootstrap for the DataModel component
 * - Remove reference to old config file from travis.yml
 * - Use phpunit config file to work around phpunit bug in the travis build
 * - Added Travis CI config file
 * - getInternalIdForEntity now takes an EntityId rather than its components
 * - Added SnakRemover
 * - Remove useless information from the client SiteModule
 * - Remove EntityTable from EntityInserter
 * - Removed unused import in EntityInserterTest
 * - Fixed some docs in EntityInserter
 * - Removed unused import in EntityInserter
 * - Remove not needed code from evil MW loader
 * - Added @covers tags to unit tests of the QueryEngine component
 * - Checking for valid qualifiers in claimview
 * - Unset language specific aliases set when removing the last alias
 * - Adds a link to corresponding Wikibase Item to action=info
 * - Triggering &quot;animationstep&quot; event in snakview value variation
 * - Dismiss copyright warning in Selenium tests
 * - Added additional sleep on RC load in Selenium tests
 * - Fixed failure in Selenium test due to bubble animation
 * - Use dbKey in query of Special:UnconnectedPage
 * - hide the view source tab for item and property pages
 * - Added evilMediaWikiBootstrap.php so the WikibaseDatabase test runner can also run the MW dependent tests
 * - Take care of TableBuilder TODO in QueryEngine component
 * - Have insert in QueryInterface throw an exception rather then returning a boolean
 * - Added InsertFailedException
 * - Deprecated and removed some getPrefixedId usage in the DataModel component
 * - update and delete methods in QueryInterface now throw exceptions rather then retruning a boolean
 * - Added DeleteFailedException
 * - Added UpdateFailedException
 * - Change EditEntity status failure from session-failure to sessionfailure
 * - Add @throws to QueryInterface interface
 * - Updated depenedencies in composer.json

cldr

 * - Parsing and using currency-related data in cldr that we hadn't previously touched.