MediaWiki 1.22/wmf16/Changelog

Core changes

 * - Updated Zero ext
 * - Updating MobileFrontend to production
 * - Adding support for query string params to mw.util.wikiGetlink
 * - Updated Zero ext
 * - Updating Zero ext
 * - Update Wikibase and DataValues
 * - Add CleanChanges extension for Ib873d079d
 * - Update Wikibase
 * - Improved search backend fallback in Special:Search
 * - 6
 * - 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

 * - Re-do edge login when JS login check succeeds

CentralNotice

 * - Cache Banner Message Field Definitions
 * - Bugfix where variable wasnt defined for translation groups
 * - Clean up CentralNotice Translation Metadata

CheckUser

 * - Require token for CheckUser API module

CirrusSearch

 * - Defense around not getting parser output.

Cite

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

CleanChanges

 * ** Newly deployed extension

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

 * - allow precision to be null in globe coordinate
 * - 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

 * - Archive page and overlay should respect ?uselang=xxx
 * - Remove outdated translations
 * - Adding Echo jobs to deferred update along with master wait
 * - 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
 * - Improve footer separator
 * - Make items on notifications flyout behave like links
 * - ext.echo.special: Cross-skin adjustments

EducationProgram

 * - Can't override a public constructor with a protected one further down

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

MobileFrontend

 * - Fix: Make section edit A/B test work
 * - Un-hardcode footer license message
 * - Regression: Show human readable nearby error message
 * - Ensure sections in stubs really look like open sections
 * - Fix blockquote styling
 * - Regression: Make sure all edit buttons are styled as edit buttons
 * - Update README
 * - Regression: Fix edit button in page actions
 * - Restore logging, now on steroids
 * - Regression: make image viewer full screen again
 * - Migrating all use of M.pageApi.getPageUrl to mw.util.wikiGetlink
 * - Override Skin::doEditSectionLink
 * - Hygiene: Cleanup navigation.js
 * - Reverting change I6deb26c1 since the core change hadn't been merged
 * - Assert mobile mode in media viewer
 * - Migrating all use of M.pageApi.getPageUrl to mw.util.wikiGetlink
 * - Replace logging with a simple throw
 * - Move fancy image removal from HtmlFormatter to MobileFormatter
 * - Alpha: Enable page creation
 * - Alpha: Temporarily remove Firefox from supported browser for history api
 * - Final normalisation of WAP detection
 * - Hygiene: Improve HTML output to avoid validation errors
 * - Hygiene: Change image viewer route
 * - Regression: Fix PageApi for non-existent pages
 * - : Don't show new pages editor for newly created pages
 * - Move red link removal to MobileFormatter
 * - Bug: Fix stupid edit section cta bug
 * - Introduce header-loaded event
 * - Make navigation.js load at the top
 * - Hygiene: Remove obsolete code from mf-toggle-dynamic.js
 * - Hygiene: Don't add styles in two places
 * - Hygiene: Remove unused code
 * - Alpha: Remove inline style scrubbing
 * - Hide nav boxes on small displays
 * - : Take away History.js dependency
 * - Hygiene: Use our own custom reset file
 * - Don't show newbie tutorials after logging out
 * - Hygiene: Add comma.. been bugging me for some time
 * - Hygiene: Complete merging of special nearby code with nearby pages code
 * - Story 1096: Beta section editing tutorial a/b test
 * - Always output license footer in content language
 * - Update pre-commit hook to use optipng+advdef not pngcrush
 * - Remove unused ID whitelists
 * - Do a PST during preview
 * - Add media viewer [alpha]
 * - Provide information about LQT status of a page
 * - No need for raw resources now
 * - Hide NagOverlay after checkboxes are checked
 * - Add M.tapEvent (temporarily)

MoodBar

 * - PHP Catchable fatal error: Argument 1 passed to SpamBlacklist::filter must

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

 * - Test gzdecode in TemplateDataBlob::newFromDatabase
 * - Add fallback for gzdecode (only exists in PHP &gt;= 5.4.0)
 * - Store compressed JSON since size is limited
 * - Fix phpcs errors

Thanks

 * - Add thanks log to $wgFilterLogTypes

TimedMediaHandler

 * - by removing z-index on menu

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

 * - Move text style tools out of experimental
 * - Fix merge conflict breaking localised bold/italic icons
 * - 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

 * - Fix message dependencies for jquery.wikibase.snaklistview
 * - Support coordinate and entityidvalue in autossummaries
 * - Allow serializers to use upper and/or lower case ids, as needed.
 * - Force entity IDs to be lower case in wb_changes.
 * - ensure correct navigation ids in client for all site groups
 * - ensure both sites and titles for GetEntities lookup by site link
 * - Fix Undo Selenium test that broke due to badges support
 * - Fix selenium test for Special:EntitiesWithoutLabel
 * - 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

ZeroRatedMobileAccess

 * - Cleanup - in preparation for ESI
 * - Added &quot;Accept&quot; i18n string
 * - Minor zero cleanup
 * - Zero URLs are leaking in non-zero mobile sites
 * - Use MobileContext for mobile view detection
 * - Handle MobileFrontendBeforeDOM hook instead of double parsing
 * - Added py script to check for overlapping IP ranges on META