MediaWiki 1.22/wmf14/Changelog

Core changes

 * - Add help message to prefershttps
 * - Update CentralNotice
 * - wpUndidRevision should be passed along during 'preview' and 'diff'
 * - Make it slightly easier for extensions to hook into page protection.
 * - Update Wikibase, fix issue with property parser function
 * - Update DataValues, fix handling of precision and non-earth coordinates
 * - Update Wikibase with fix for get entities api module
 * - Update Wikibase and DataValues
 * - Update Wikibase (to enable url datatype for test.wikidata)
 * - Setup cookies security based on user preference
 * - Only show prefershttps if IP can use HTTPS
 * - Core support for disabling HTTPS based on GeoIP
 * - Default is not necessary for toggle fields
 * - Fatal error: Call to a member function formatDuration on a
 * - Update VisualEditor with cherry-pick for wmf14 branch
 * - Re-add OAuth as it wasn't added to make-wmf-branch
 * - Commit of various wmf-branch live hacks
 * - Be stricter for file types where we don't know canonical extension
 * - Force a space between password label and reset link.
 * - Try to improve the wording of gender option
 * - Post-edit confirmation: ensure consistent font-size across skins
 * - Add new HTMLForm::addHiddenFields methods
 * - The &quot;masterPos&quot; field in refreshLinks can be false so check for that
 * - Tweaked location of profiling in query to split out the implicit BEGIN
 * - Follow-up db51c53b8f. Fix already used variable name.
 * - New hook, UserRequiresHTTPS
 * - $wgHooks: add closure docs &amp; admonition to register handlers early
 * - Update Chechen language namespace names from translatewiki
 * - Add diff-multi to classes with explicit direction
 * - Fix super long line
 * - Add some logging for weird redirected POSTs
 * - Remove padlock icon from login link
 * - Change secure login to use a user preference
 * - Add tests for API action=edit&amp;section=new
 * - Fatal error: Using $this when not in object context in SpecialUpload.php on line 686
 * - Clean up Parser::doQuotes.
 * - Purge upstream caches when deleting file assets.
 * - Fix comments for grep
 * - Adjust two new date formats for Polish (pl)
 * - Show message when user successfully changed password.
 * - Do not parse param of newsectionsummary on new section preview
 * - Commenting and doc fixes around the spam regexes
 * - Make msg method of DerivativeContext work properly.
 * - Set modes back to 0644 to ImagePage.php and Resources.php
 * - In login-throttled, specify how long you have to wait before logging in
 * - Fix help for --only: override doesn't work with CamelCase
 * - Sync up with Parsoid parserTests.
 * - Add parserTests for the interaction of italics and possessives.
 * - Add a parserTest documenting interaction of tabs and preformatted text.
 * - Give grep a chance to find the usages
 * - Convert underscores to spaces in
 * - Allow more than one variant set in user preferences.
 * - Rename 'backend' param to 'srbackend' to match API
 * - Return values from finalSetup aren't evaluated
 * - Follow-up I33462. Some stupid issues with gallery patch
 * - Add a function that returns a list of categories the page is a member of
 * - action=edit API with section=new would fail if page didn't exist
 * - Followup Ifb005e7c: some cleanup in comments.
 * - EditPage: Wrap the pipe between &quot;Cancel&quot; and &quot;Editing help&quot; links in a &lt;span&gt;
 * - Accessibility: Add aria-labelledby to the navigation landmarks
 * - Eliminate confusing redundancy in accmailtext
 * - mediawiki.action.edit: Add styles for edit form's footer
 * - Avoid &quot;Transaction already in progress&quot; errors in SiteStatsUpdate::doUpdate
 * - Avoid &quot;Transaction already in progress&quot; errors in SiteStatsUpdate::doUpdate

CirrusSearch

 * - Fetch title before updating it.
 * - Always use our text sanitization when rebuilding.
 * - Disable a test until an upstream bug is fixed.
 * - Test remove parts of rendered page from search.
 * - Reorganize.
 * - Stop tests from poisoning subsequent runs.
 * - Merge redirect updates with title updates.
 * - Stop double counting redirects.
 * - Fix typo in document update tests.
 * - Test updating linked pages.
 * - Update the search index for linked pages.
 * - Test to verify page weight considers redirects.
 * - Consider links from redirects in boosts.
 * - Remove parts of rendered page from search.

Cite

 * - Mention potentially missing &lt;/ref&gt; tag in Cite error message

ConfirmEdit

 * - Use Special:ListAdmins as assistance link in explanation message

DataValues

 * - allow precision to be null in globe coordinate
 * - allow lat/lon values from -360 to 360, possible for non-earth globes
 * - globe param cannot be null, update exception message
 * - Added GlobeCoordinateFormatter
 * - Added testSerializeCompatibility test
 * - Add compatibility test for GlobeCoordinateValue serialization
 * - Split function with boolean flag into two
 * - Get rid of manual autoloading and pointless test runner
 * - Update GlobeCoordinateValue
 * - Introduced GlobeCoordinateParser
 * - Add Danwe and Henning to DataValues authors list
 * - Add Danwe and Henning as author
 * - Added LatLongValue
 * - Minor cleanup
 * - Optimize imports
 * - Deprecate global variable
 * - Get rid of verbose gpl headers
 * - Register StringFormatter
 * - valueview experts have a clear definition of destroy now
 * - Improved jQuery.ui.inputextender/jQuery.ui.listrotator destroy implementations
 * - valueview expert test setups won't create instances anymore
 * - Remove incorrect documentation
 * - Remove verbose gpl headers
 * - Fixed adaptlettercase QUnit test
 * - ValueFormatter for Time DataValue
 * - ValueFormatter for Time DataValue&quot;
 * - Updated adaptlettercase utility function documentation
 * - ValueFormatter for Time DataValue
 * - only register ValueView experts for values of data type if data type available
 * -, ) validate time format.
 * - Handle bad values using UnDeserializableValue.
 * - (hotfix) fix call to adaptLetterCase method
 * - Split off adaptLetterCase and autocompleteString from suggester
 * - dv.util.inherit changed so __proto__ of related objects displays a proper name
 * - Fix instantiation issue in DataValueFactory and add deprecation notice
 * - Make class non-fonal so it can be mocked
 * - valueview Expert for handling values for URL data type
 * - Revert &quot;Move out DataTypes to its own repo&quot;
 * - Move out DataTypes to its own repo
 * - jQuery.ui.suggester: Proper event handler management

Diff

 * - Simplify entry point
 * - Update ListDiffer and CallbackListDiffer to make use of new ArrayComparer classes
 * - Add dependency status badge to readme
 * - Implemented StrategicArrayComparer
 * - Throw Merger section out of readme and add TODO for ArrayComparer
 * - Fix error in readme file
 * - Change release notes to markdown
 * - Remove obsolete INSTALL file
 * - Removed unused imports
 * - Remove dead code
 * - Update composer.json
 * - Removed obsolete tests/phpunit.php test runner
 * - Update some remaining wikitext to markdown
 * - Add PHP coveralls to the TravisCI build
 * - Added usage docs and examples to README file
 * - Move source files into src directory
 * - Make MapPatcher add new keys when all operations are additions
 * - Added extra tests for MapDiffer to clarify behaviour for wikibase sitelink like structures

EducationProgram

 * - Fix course page history SQL error

FlaggedRevs

 * - Fire Echo event when revision is rejected

LiquidThreads

 * - Prompt the user to confirm a page change while an LQT edit form is open

OAuth

 * - Do not show grant change form if the user cannot submit it.
 * - Mention required key format
 * - Minor updates to parameter documentation, return types and exceptions thrown
 * - Validate RSA key input
 * - Fixed description validation regex
 * - Capitalise Manage like is done for other messages on Special:Preferences
 * - parse_str returns void. Swap $_POST for 2nd parameter
 * - Fix mixed indenting - tabs to spaces

Parsoid

 * - : Percent-encode fragment identifiers too
 * - Clean up the WikiConfig mess
 * - Couple more tweaks to the minimizeInlineTags code.
 * - The autoInsertedEnd flags need to go on the open tag (not the close tag).
 * -, 44498: Handle templates straddling cell attributes &amp; content
 * - .jshintignore js/contrib/node_modules
 * - Tweak QuoteTransformer to more closely match PHP doQuotes.
 * - Tweaks to minimizeInlineTags to work with current HTML libs in Parsoid
 * - Improved handling of '=' char in tpl-param values
 * - Ignore cpp/contrib and js/contrib
 * - Bugs 50603, 50589: Handle nested templates as well
 * - Minor fixes to documentation comments.
 * - Tweaks to td-fixup code
 * - Fix crasher introduced by cee6e738
 * - Fix crasher introduced in commit 89057946294cc.
 * - Update html5 package from upstream.
 * -, 50589: Handle |
 * - Eliminated recursion in minimizeInlineTags.split_into_disjoint_sublists
 * - Sync parserTests with core.
 * - Code cleanup: Split DOM processors into individual files
 * - Fix expected output of parser test added in commit 51b12086.
 * - Tweak RDFa markup of page metadata in &lt;head&gt;.
 * - : Don't require a newline when round-tripping existing tables
 * - Make sure data-parsoid is set on document.body
 * - Add docs to BehaviorSwitchHandler
 * - More bug fixes and cleanup in roundtrip-test.js diffing code
 * - Apply the same fix in 5ff4ad75 for /_rt/ endpoint
 * - Fix bugs in + make improvements to tpl-param serialization

SemanticForms

 * - Undid change that made &quot;too many/too few&quot; messages &quot;smarter&quot;
 * - Added PageSchemas extension handling for page sections

UniversalLanguageSelector

 * - Update jquery.ime from upstream
 * - README Updates
 * - Use the old way of checking browser support for MW &lt; 1.22
 * - Use mw.hook for notifying cancel of settings window to modules
 * - Provide mw.hook when not provided by older MediaWikis
 * - Add Nazli as a serif font for Persian Script

UploadWizard

 * - Use $ instead of $j
 * - Surface upload libraries as RL modules

VisualEditor

 * - Moved VisualEditor Selenium tests from browsertests repository
 * - Fix typo (was comma instead of semicolon)
 * - Check clipboardData exists before accessing it
 * - Add support for single scripts, styles and debugScripts
 * - Disable inserting/changing references when surface widget is empty
 * - Detect outdated pending post KeyPress handler
 * - Actually use GeneratedContentNode in AlienNode
 * - Don't render &lt;meta&gt;/&lt;link&gt;/&lt;style&gt; tags in GeneratedContentNode
 * - Make ve.dm.Surface.{start,stop}HistoryTracking idempotent.
 * - Avoid crash after ve.dm.Surface.purgeHistory.
 * - Give document real focus after cut
 * - Copy-paste data fixes
 * - doc: Restore and clean up documentation for Platform subclasses
 * - Language Inspector Default Fix
 * - Reverse the progress image for RTL
 * - Modify regex to allow section links as valid titles
 * - Fix copy and paste of backwards selction
 * - Spruce up VisualEditor's README file.
 * - getAnnotationsFromRange should only ignore non-content data

Wikibase

 * - Fix call to non-existing method in error case.
 * - Hide errors from the property parser func for now.
 * - Revert &quot;Allow for both ids and sites/titles to be set for wbgetentities&quot;
 * - fix exception message in ChangeOpReference
 * - Add further example to wbcreateclaim
 * - Allow for both ids and sites/titles to be set for wbgetentities
 * - move url data type builder out of experimental
 * - remove wfLogWarning for property not found in ReferencedUrlFinder
 * - Reduce NPath complexity in ReferencedUrlFinder
 * - Some cleanup in ReferencedUrlFinder related code
 * - get site group from sites table
 * - handle local interwiki links as appropriate for site group
 * - dismissing copyright warning no longer bound to interface language
 * - Fix test group
 * - pass bot flag to claim saver in wbsetclaim
 * - Match GlobeCoordinateValue chanes in DataValues
 * - Cleaned up Ruby gems and files that are not used
 * - Whitespace cleanup of Cucumber feature file
 * - Mac OS needs different Ruby gems than Windows
 * - Fix typo in cucumber config
 * - Generate report XML for selenium tests
 * - Mark tests as passed on success on saucelabs
 * - Run selenium tests on saucelabs if correct environment vars are set
 * - Change config file to work with cloudbees
 * - Use WikibaseAPI to create new entities for selenium tests
 * - Extending the label cucumber test
 * - Selenium: use composition instead of inheritance
 * - Use cucumber for selenium tests
 * - Style fix
 * - Adjusted site selector widget to site groups
 * - Do not use deprecated method
 * - Make use of Time data value formatter in EntityView
 * - Implemented MwTimeIsoFormatter in Wikibase
 * - Add flag 'D' for wikidata edits on old watchlist/recentchanges
 * - Pass back siteid for conflicting links
 * - Add basic tests for EntitiesWithout* special pages
 * - Special page for entities without description
 * - Fix alias right in i18n
 * - Reduce NPath complexity and improve readability
 * - Filter and sort $wgBabelCategoryNames correctly for Babel extraction
 * - Optimized entityselector auto-completion mechanism
 * - Remove regex in special page test assertions
 * - Get rid of deprecated method in WikiPageEntityLookupTest
 * - Added missing messages for property auto-comments
 * - Fix error in RemoveClaimsTest
 * - Refactor applyPermission out of the Test
 * - Add basic inputfield tests for Set* Specialpages
 * - Refactor EditEntity Api Test
 * - Cleanup incorrect params in wbeditentity
 * - Refactor SetSiteLinkTest
 * - Move queryExceptionTest to ApiTestBase
 * - Refactor LinkTitlestest
 * - Minor style fixes
 * - Add setalias test which used to add empty aliases
 * - Refactor SetAliasesTest
 * - Add details for no-external-page
 * - Potential fix for travis
 * - Refactor LangAttribute Api Test Cases
 * - Limit when we log in for Api Tests
 * - Refactor BotEditTest
 * - Followup to fix error with 'Empty' sitelinks
 * - Toolbarcontroller throws some meaningful errors now
 * - Minor code restructuring of toolbarcontroller widget
 * - Followup to fix error with 'Empty' sitelinks
 * - Fix an example in wbeditentity...
 * - Move logic to get claim to ClaimModificationHelper
 * - Cleaned up QUnit test files
 * - Add basic tests for special pages missing them
 * - Fix undefined offset when loading special page
 * - Fix incorrect class in SpecialSetEntity page
 * - Make and use a method for asserting html elements
 * - Get rid of deprecated method in GetEntities
 * - Get rid of deprecated method in ItemByTitleHelper
 * - Get rid of deprecated method
 * - Refactor EntityTestBase
 * - Use ChangeOps for SetStatementRank
 * - broken autocomments for &quot;0&quot; values
 * - Get rid of deprecated method usage
 * - Clarify that the sitelink is in use on another item
 * - Add full-stops to error messages
 * - Remove profileOuts that dont have a mathing IN
 * - Prevent destroying edittoolbar error tooltip if destroyed already
 * - Fix error in Special:SetSiteLink
 * - Remove unused Autocomment class
 * - Move getEntityContent to ModifyClaim
 * - Fix edit-links to Special:SetSiteLink
 * - Get rid of depreacted method usage
 * - Get rid of deprecated method usage in SpecialNewProperty
 * - Cleanup in PropertyView
 * - Get rid of deperacted method usage in PropertySerializer
 * - Performance improvement for jQuery.wikibase.entityview edit toolbars handling
 * - Add Abraham to TravisCI build failure email list
 * - Use Summary class and ChangeOps for SpecialPages
 * - Revert &quot;Remove parts of tests which are handled by parents&quot;
 * - Revert &quot;General further tidy up of the test base&quot;
 * - Revert &quot;Remove unneeded setupComplete stuff from api base&quot;
 * - Revert &quot;TestBase now uses parent doLogin correctly&quot;
 * - Revert &quot;Add basic method to base for use in Refactoring&quot;
 * - Revert &quot;We only want to insert the site into the db once&quot;
 * - Use ChangeOps for reference modules
 * - We only want to insert the site into the db once
 * - Add basic method to base for use in Refactoring
 * - Remove notices that have been there for 8 months, being totally not helpfull
 * - Get rid of getPrefixedId in ChangeHandlerTest
 * - Fixes to qualifiers changeops and api module
 * - TestBase now uses parent doLogin correctly
 * - Avoid lego in wikibase-anonymouseditwarning
 * - provideEntityHandels into the class that uses it
 * - General further tidy up of the test base
 * - Remove unneeded setupComplete stuff from api base
 * - Remove parts of tests which are handled by parents
 * - Fix API tests to not write into the main DB anymore
 * - Allow us to get different types of tokens
 * - Remove logins that are not needed
 * - Always log in on api test setup
 * - Also get our tokens from ApiTestCase
 * - Use ApiTestCase Login instead of our own
 * - Refactor some assertions in ModifyEntityTestBase
 * - Put common params into modifyClaim and add bot-edit flag
 * - Throw ChangeOpException on error in ChangeOps
 * - All tests now use the base
 * - ModifyEntityTestBase should look like ApiTestCase
 * - Use ChangeOps for qualifier modules
 * - Tidy up api tests involving exceptions
 * - Create a base way to do requests with token
 * - Move snakValidation to ClaimModificationHelper
 * - Rename ChangeOpClaim to ChangeOpMainSnak
 * - Get rid of settings in ModifyClaim
 * - Get rid of getPrefixedId in ExternalChangesLine
 * - Get rid of getPrefixedId in Scribunto_LuaWikibaseLibrary
 * - Get rid of getPrefixedId in RepoLinker
 * - Get rid of getPrefixedId in EntityIdPropertyUpdater
 * - don't display multiple anon bubbles at once
 * - Get rid of unused Autocomment code
 * - Improve some API tests
 * - Do not use deprecated interface
 * - Remove unused imports
 * - Set expire time for cookies for dismissed copyright notice.
 * - Adding tests for ClaimModificationHelper
 * - Move initialization of ClaimModificationHelper to ModifyClaim
 * - Refactoring of wbremoveclaims API module
 * - Move claimGuidValidator into ClaimModificationHelper
 * - Use ChangeOps for wbsetclaimvalue and wbcreateclaim
 * - Added new ChangeOp for claim operations
 * - Fix incorrect test group
 * - Fix handling of '0' value in API response
 * - Do not install satooshi/php-coveralls for now, since we are not using coveralls for this repo yet
 * - Converted wikibase.ui.Tooltip to jQuery widget
 * - jQuery.wikibase.entityselector: Reposition menu when refreshing
 * - Cloning toolbar edit group
 * - Removed toolbarlabel's set/removeFocus
 * - Removed toolbarlabel's get/setContent method
 * - Limiting number of registered event handlers in toolbar button widget
 * - Implemented toolbar and toolbareditgroup jQuery widgets
 * - remove enforcement of Wikibase client / repo load order
 * - Make SnakValidator fail on bad values.
 * - Use closures for dynamic defaults.
 * - Adding easyrdf to .gitignore to prevent noise from checkout
 * - Catching errors on rebuilding
 * - Handle UnDeserializableValue gracefully.
 * - Fix: &quot;sitelinks/urls&quot; property in wbgetentities
 * - LanguageFallbackChain: Avoid one more unneeded Language construction
 * - Add information about summary's length limit to API documentation
 * - Fix: Edit summaries have a double space
 * - Make LanguageFallbackChainFactory work with $wgDisabledVariants
 * - Removed failing test for illegal time value
 * - Normalize item ids before trying to remove doubles
 * - Introducing EntityTitleLookup
 * - Support for custom edit summaries
 * - Treat not set parameter 'linktitle' as request to remove sitelink
 * - Add getDataValueFactory to top level factory
 * - Slightly more meaningful autocomment for wbsetsitelink
 * - Use ChangeOps to generate edit summaries in API modules
 * - Implement EntityHandler::getUndoContent
 * - Add more tests to for bad diffs.
 * - Introducing ReferencedUrlFinder
 * - Improve tests for EntityView.
 * - Make ReferencedEntityFinder use Entity::getAllSnaks
 * - InMemoryDataTypeLookup should throw PropertyNotFoundException
 * - fix site link section link for site group and use sites table for this
 * -, hotfix) ensure interwiki links render correctly in sidebar
 * - enable link item widget to work with any site group
 * - remove code that assumes site links from only one site group
 * - add render function to Template class
 * - Change return value of LanguageFallbackChain::extractPreferredValue
 * - apply length constraints to properties too
 * - Make WikibaseRepo non-final so it can be mocked
 * - Split off adaptLetterCase and autocompleteString from suggester
 * - Add getEntityIdFormatter to top level factory.
 * - Remove coveralls build for now as more effort is needed to make it work
 * - Attempt to fix coveralls invocation
 * - Add debug into to Travis build to find out why coveralls is not getting invoked
 * - Add debug into to Travis build to find out why coveralls is not getting invoked
 * - Attempt to fix coveralls build
 * - Attempt to fix coveralls build
 * - Fix path to vendor/bin
 * - Add PHP coveralls to TravisCI build
 * - More infomative errors in wbeditentity
 * - Only resetEntities once in GetEntitiesTest
 * - New LanguageFallbackChainFactory functions
 * - Revert &quot;Revert &quot;Revert &quot;Revert &quot;Automatically register repo tests.&quot;&quot;&quot;&quot;
 * - Properly reset group permissions in EntityContentTest
 * -, ) handle exception in the langlinkhander
 * - Revert &quot;Revert &quot;Revert &quot;Automatically register repo tests.&quot;&quot;&quot;
 * - Use clear in the wbeditentity call in ModifyEntityTestBase
 * - Revert &quot;Revert &quot;Automatically register repo tests.&quot;&quot;
 * - Revert &quot;Automatically register repo tests.&quot;
 * - Attempt fix for ModifyEntityTestBase::resetEntities
 * - Respect error-bubble animation in Selenium tests
 * - Adjustment to Selenium test due to language-fallback already in place
 * - Fixing data item link Selenium test
 * - Implemented wikibase toolbarlabel and toolbarbutton widget
 * - Preventing template strings from getting parsed in Diff view headings
 * - Leave data in a consistent state within API unit tests
 * - Change DOUBLE to FLOAT for wb_term.term_weight
 * - Revert &quot;Update TravisCI build config to no longer exclude ChangeHandler tests&quot;
 * - Reset output buffers after each test.
 * - Fix broken type hints/imports in Wikibase.hooks.php
 * - move term setting to lib
 * - Update TravisCI build config to no longer exclude ChangeHandler tests
 * - Automatically register repo tests.
 * - Removing some old entries from autoloader.
 * - RepoApi.getClaims added
 * - Add data-types as dependency in composer.json
 * - Fix example in api wbsetclaim
 * - Clone Change objects returned by TestChanges.
 * - (hotfix) Fixed use of $wgDBname in the example settings
 * - Introduction of $.wikibase.claimgrouplabelscroll
 * - introducing URL data type
 * - SiteLinksEditTool: Improved siteId column width detection
 * - Update magical loading code so it keeps working after DataValues split

WikibaseDataModel

 * - Use original DV type when serializing bad values.
 * - Remove deprecated method now unused
 * - Remove verbose gpl headers
 * - Remove deprecated and unused methods
 * - Adding tests for claims to ItemTest.
 * - Get rid of some obsolete TODOs
 * - Handle UnDeserializableValue gracefully.
 * - Do not store empty aliases in the datamodel
 * - Added test for Entity and fixes inconsistency in id field handling
 * - Stop depending on global state for toString.
 * - Add .coveralls.yml since source code is in non-standard directory
 * - Require coveralls in TravisCI build rather then composer.json
 * - Add PHP coveralls to the TravisCI build and update README
 * - Make sure that badges array does not have gaps