MediaWiki 1.22/wmf16/Changelog

Core changes

 * - Update AFTv5 to wmf/1.22wmf16 branch which includes live hack to fix fatal
 * - Commit of various wmf-branch live hacks
 * - Give grep a chance to find the usages
 * - Call $wgContLang-&gt;findVariantLink in
 * - vector/screen.css: Remove some unnecessary rules
 * - Allow registration of Actions using a callback that returns an Action instance
 * - jquery.suggestions: Add some comments
 * - No spaces after (casts)
 * - Add a deferrable update class for callback/closure udpates
 * - Removed &quot;requires JavaScript&quot; from preference texts
 * - Fix typo in property name
 * - SECURITY: Fix extension detection with 2 .'s
 * - SECURITY: Prevent tokens in jsonp mode
 * - SECURITY: Prevent FPD on exceptions in load.php
 * - Improve wfEscapeWikiText
 * - Hide server IP addresses from DB error pages
 * - Make mwCustomEditButtons a no-op and mark it as deprecated
 * - Make morenotlisted more grammar-friendly
 * - Add email recipient username as a parameter to emailuser confirmation
 * - Use login-throttled properly everywhere
 * - Add missing bug number for I458fb688
 * - No spaces within (casts)
 * - Delete docs/upload.txt
 * - docs/scripts.txt: Remove docs about deleted files
 * - Add/update comments for grep
 * - Remove dead code
 * - Also redirect if prefixed https cookie is preset
 * - Use canonical class name, remove unused globals.
 * - Support search update for MySQL search engine
 * - Normalize IPv6 addresses in XFF chains
 * - Remove prefix from forceHTTPS cookie
 * - Fill in defaults for omitted parameters to RecentChange::sendToUDP
 * - doc: Remove repetitive &quot;Give grep a chance&quot; phrase from comments
 * - SpecialPrefixindex formatting methods are now protected
 * - Parse limitation warnings as 'text' and in user language
 * - Add converted namespace names as aliases to avoid confusion.

AbuseFilter

 * - Push counter updates to transaction end to avoid contention

ApiSandbox

 * - Cleaning up unused variables in the global space

ArticleFeedbackv5

 * - Live hack for fatal bug
 * - Protection disables feedback even if nothing is touched

CentralAuth

 * - (SECURITY) Fix user caching and login checks
 * - Use array_merge
 * - Remove prefix from forceHTTPS cookie

CheckUser

 * - Require token for CheckUser API module

Cite

 * - Use mw.hook( 'wikipage.content' ) for citation popup JS
 * - Add extra accessibility labels to jump to citation (↑) links

DataTypes

 * - Fix JavaScript resources path and moves resources file
 * - Fix casing in test registration
 * - Update description in readme and composer.json
 * - Add files with no coverage at all to the coverage report as well
 * - Update readme file
 * - Improve autoloading and namespace consistency
 * - Add Henning as author

DataValues

 * - Fix path for value parser resources
 * - Reorganize to new component structure.
 * - Remove obsolete and unhelpfull boilerplate docs
 * - Remove DataTypes as its now in its own git repo
 * - Refactoring of globeCoordinate.js
 * - Update documentation after change that just changed the code
 * - allow lat/lon values from -360 to 360, possible for non-earth globes
 * - globe param cannot be null, update exception message
 * - Revert &quot;Remove additions to deprecated global ...&quot;
 * - Remove additions to deprecated global variable that are not in use anyway
 * - Remove result object which was no longer loaded anyway

Diff

 * - Added @var doc
 * - 0.8 release
 * - Add files with no coverage at all to the coverage report as well

Echo

 * - Updating eventlogging schema revision number for mobile data
 * - Set returnto when linking anon to signup or login
 * - Fixing More... button so it doesn't always skip a notification
 * - Preventing empty payloads from being created when using summary
 * - ext.echo.badge: Remove defunct CSS rule
 * - Updating headers in Echo.php
 * - ext.echo.special: Cross-skin adjustments

LiquidThreads

 * - SECURITY: Escape thread subject on history page
 * - Add revert link to thread move logs and success page
 * - Add full-stops to messages
 * - Don't show edit form open warning when saving thread summary
 * - Only show search form if LuceneSearch is detected
 * - Use srbackend=LuceneSearch on search form
 * - Add JS hook for user scripts to add buttons to all LQT textareas as they are created
 * - Show entire link (including wgServer and protocol) in summary Link To box

OAuth

 * - Fix comments for grep
 * - Make use of field-specific HTMLForm errors
 * - Removed duplicate tests and easier to use TestOAuthConsumer script
 * - Show authorize page on all wikis
 * - Added some extra rights checks to access controllers
 * - Allow for non-web-based consumers
 * - Make sure the consumer is applicable to this wiki

Parsoid

 * - : Handle about-less images better
 * - : Don't use \b to match (^|$|\s)
 * - Trivial code change to force code update in rt testing
 * - Don't block parsoid-inserted attrs in sanitizer
 * - Updated tests + code to not strip data-mw in parsoid mode
 * - Remove html5 fork.
 * - : Don't double-decode titles from the request parameters
 * - : Only skip about siblings if about is actually set
 * - Don't strip trailing newlines and space on tokens from sub-pipelines
 * - ParserTests: set page name for all tests (since env is reused)
 * - Use DOM4 naming convention for tokens.

Scribunto

 * - Improve mw.text.nowiki
 * - Scribunto should error out sooner if lua isn't executable
 * - Update ignores for some emacs tmp files

SemanticForms

 * - Un-commented $wgParser-&gt;clearState call - necessary in some circumstances.
 * - Modify the input to SFForm::create in the Special:CreateClass page
 * - Added regex for locating page sections

SpamBlacklist

 * - Update README to note that the current version will work up to 1.21
 * - Remove duplicated blocked parts reported by SpamBlacklist.

TemplateData

 * - Store compressed JSON since size is limited
 * - Fix phpcs errors

TimedMediaHandler

 * - by removing z-index on menu

Translate

 * - Remove two unused messages
 * - Incorrect plural flattening in RubyYamlFFS
 * - Fix translation checks when using non-primary message groups

UniversalLanguageSelector

 * - Regression: Using [...] to change language does not activate apply button
 * - Update jquery.ime from upstream
 * - Make the cancel and apply button applicable for all modules
 * - Cleanup and add documentation for tags
 * - Use correct name for wiki content language
 * - New scenario: Discarding a live preview of a font keeps the previous font
 * - Add test for language live preview cancellation
 * - Fix more tests for phantomjs
 * - Assert that the login succeeded for more helpful error messages
 * - Make tests pass in phantomjs
 * - More refactoring of tests per feature

UploadWizard

 * - Refactor out the path of the campaign in the API result
 * - Give grep a chance to find the usages
 * - Use appropriate method to make Special Subpage URL
 * - Add totalUploads &amp; totalContributions to the API
 * - Add tracking category to UploadCampaign API call
 * - Use Campaigns to measure effectiveness of CTA in Campaigns
 * - Add qqq for new campaign related messages
 * - Clarify wording on anon CTA
 * - Add a 'kill switch' to kill all expensive stats computation
 * - Style the 'view all uploads' link better
 * - Show anons a 'Create account to upload button'
 * - Show campaign info + last updated images + cta in Campaign: page
 * - Using protocol-relative URL for Flickr API
 * - Stop using mw.msg

VisualEditor

 * - Fix getOffsetFrom(Element|Text)Node for annotated aliens
 * - Add test for getOffsetFrom(Element|Text)Node
 * - Exclude tools from catch-all menu in media and reference edit dialogs
 * - Internal lists render nothing in the CE
 * - Improve welcome dialog support for large fonts
 * - Quickfix Language Tool
 * - Fix context menu position for small inline nodes
 * - Merge undefineds into undefined rather than []
 * - in comment
 * - ve.EventSequencer: Post-event listening
 * - mw.ViewPageTarget.init: Don't add class ve-available when unavailable
 * - Cleanups for ve.dm.Transaction
 * - Add keyboard shortcuts for formatting tools
 * - Insert images after selection, not in place of it
 * - Make tools generic and add fancy tool groups
 * - Collapse metadata on any removal.
 * - ce: Use a better transparent pixel image
 * - Round trip alien extensions correctly when edited
 * - Include param label in search index
 * - Offer the typed text as a link suggestion if the page is valid
 * - Allow phantoms and focus areas to be overridden
 * - Re-build reference search index so they can be used mid-edit
 * - use regexp anchors to prevent false matches
 * - VisualEditor: RTL entries don't receive dir=&quot;rtl&quot; in Page settings / Languages
 * - Expose version information in the client
 * - data: Rename MessagesModule to DataModule
 * - Cursor fix after link insertion
 * - Add David to author lists
 * - Set contentEditable using jQuery#prop
 * - Always give references names. Ignore if used once.
 * - When pasting, try to use original range

Wikibase

 * - Add missing dependency 'wikibase.dataTypes' &gt; 'dataTypes'
 * - Support coordinate and entityidvalue when generating claim autosummary
 * - don't break diff when dataValue could not be formatted
 * - Fix B/C mode of SiteLinkCommentCreator.
 * - Get rid of old EntityId Usage
 * - Make ExternalChangeLine more robust.
 * - Fix badges getting
 * - Cucumber: simplify css selectors for labels and descriptions
 * - make change handler compatible with site link badges
 * - Add additional css classes to toolbarbuttons
 * - Add sort example to wbgetentities
 * - Extend api to support getting badges
 * - ChangeOpClaim now uses the claim guids
 * - Remove old EntityId usage from api/getentities
 * - Cucumber: set cookies for licence &amp; anonymousediting messages
 * - Use RestClient to communicate with saucelabs API
 * - Remove old EntityId usage from api/ModifyEntity
 * - Clean up the rest of the api uses
 * - Remove old EntityId usage from api/ModifyClaim
 * - Remove old EntityId usage from api/linktitles
 * - Remove old EntityId usage from api/ItemByTitleHelp
 * - Remove old EntityId usage from api/getclaims
 * - Improvements to GUID generation code
 * - Uppercase Api Examples
 * - add missing wikibase-comment-add message
 * - GENDER support in MediaWiki:wikibase-mylanguagefallbackchain-babel
 * - Updated test configuration to the latest version
 * - Bump versions of lib, client and repo to 0.5 alpha
 * - skip change handler test, until it is fixed
 * - LanguageWithConversion has a new reverseTranslate function.
 * - Improvements to ByPropertyListUnserializerTest
 * - Remove OPT_PREFIX_MAP from EntityIdFormatter
 * - Remove OPT_PREFIX_MAP from EntityIdParser
 * - Improvements to PropertyParserFunctionTest
 * - Fix WikiPageEntityLookupTest.
 * - Move SnakFactory from DataModel to lib
 * - Enable URL data type per default.
 * - validators for url schemes.
 * - Add various missing htmlspecialchars calls to EntityView.
 * - Fix incorrect construction of item id
 * - Match EntityId changes in DataModel.
 * - Remove verbose headers and fix minor comment
 * - Create ChangeOpClaim
 * - Config for site group to use for langlinks.
 * - Fix change op exception messages
 * - Fix call to non-existing method in error case.
 * - Introduced 'qualifiers-order' parameter in ClaimSerializer
 * - extend ValueFormatterBase for MwIsoTimeFormatter
 * - Show snak type in summary for novalue and somevalue snaks
 * - fix exception message in ChangeOpReference
 * - Use SQL comment style
 * - Run cucumber tests in different OS/browser combinations
 * - Revert &quot;Refactor GetEntities Test&quot;
 * - Inject access to entities into EntityView.
 * - Add further example to wbcreateclaim
 * - Add success marker to claim API modules
 * - Refactor GetEntities Test
 * - Optimized copyright warning message output
 * - Allow for both ids and sites/titles to be set for wbgetentities
 * - fix where we get the EntityIdParser from.
 * - move url data type builder out of experimental
 * - Style fixes in LanguageFallbackChain
 * - Remove wfLogWarning calls and update comment
 * - Re-evaluated listview and snaklistview module dependencies
 * - Clean SpecialListDatatypes
 * - Reduce NPath complexity in ReferencedUrlFinder
 * - Some cleanup in ReferencedUrlFinder related code
 * - Cleanup in some formatting related classes
 * - Throw exceptions instead of giving null data
 * - Added cucumber tests for entity descriptions
 * - Rename steps directory to be standard conform
 * - Selenium: add tags to tests

WikibaseDataModel

 * - Badges should be optional when creating SiteLink with newFromArray
 * - Cleanup in SimpleSiteLink
 * - Add extra tests for EntityId
 * - Added extra tests for EntityIdValue
 * - Fix coverage tags for Entity
 * - Up rel notes
 * - Remove unused imports
 * - Improvements to StatementTest
 * - Update PropertyValueSnak to use PropertyId
 * - Add badges support to Item
 * - SimpleSiteLink: make badges point to Items
 * - Fix @return doc
 * - Move SnakFactory to lib
 * - Improvements to PropertyValueSnakTest
 * - Update release notes
 * - Use LegacyIdInterpreter in EntityId to get rid of duplication
 * - Improve EntityIdTest
 * - EntityId rewrite
 * - Use original DV type when serializing bad values.
 * - Deprecate badly designed methods that inherently use global state
 * - Improve snak testToArrayRoundtrip test.
 * - Add files with no coverage at all to the coverage report as well
 * - Add @covers tags
 * - Move ObjectComparer to internal NS and add PSR-0 based loader
 * - Have the entry point make sure the dependencies are loaded

WikimediaMessages

 * - Fix license name &quot;CC BY-SA&quot;
 * - Fix be-tarask prepositional case