- Using CommonJS modules instead of global namespaces for these files:
- ExpertExtender/ExpertExtender.LanguageSelector.js
- ExpertExtender/ExpertExtender.UnitSelector.js
- jquery.valueview.ViewState.js
- jquery.valueview.valueview.js
- experts/MonolingualText.js
- experts/GeoShape.js
- experts/TimeInput.js
- experts/GlobeCoordinateInput.js
- experts/TabularData.js
- experts/QuantityInput.js
- experts/CommonsMediaType.js
- experts/StringValue.js
- Updated i18n message translations.
- Re-render "globecoordinate" values for preview.
- Updated some deprecated
jQuery.exprstatements. - Updated i18n message translations.
- Updated i18n message translations.
- Fixed
jQuery.ui.commonssuggesternot always displaying all thumbnails.
jQuery.valueview.ExpertExtender.Listrotatorconstructor requires aMessageProvidernow.jQuery.ui.listrotatorrequires amessageProvideroption now.- Made the library a pure JavaScript library.
- Removed MediaWiki extension credits registration.
- Removed MediaWiki i18n message registration.
- Removed MediaWiki ResourceLoader module definitions.
- Removed
VALUEVIEW_VERSIONconstant. - Raised DataValues JavaScript library version requirement to 0.10.0.
- Removed
jQuery.valueview.ExpertExtender.CalendarHint. - Removed dependency on
globeCoordinate.Formatter. - Removed dependency on the Parameterize QUnit plugin.
- Fixed
jQuery.valueview.ExpertExtender.Preview.destroyfailing when called twice. - Fixed incomplete
jQuery.valueview.experts.GlobeCoordinateInput.destroy. - Fixed incomplete
jQuery.valueview.experts.TimeInput.destroy. - Made all tests compatible with QUnit 2.
- Fixed
jQuery.ui.suggesterandjQuery.animateWithEventtests.
- Removed
jQuery.valueview.ExpertExtender.Toggler.
- All relevant
jQuery.valueview.experts.…classes are now exported viamodule.exports. - Raised required PHP version from 5.3 to 5.5.9.
- Replaces JSCS and JSLint with ESLint.
- Added support for the
tabular-datadata type. - Adjusted
jQuery.ui.listrotatorto obey the Wikimedia color scheme.
- Major changes to
jQuery.ui.commonssuggester:- Now uses MediaWiki
searchAPI instead of OpenSearch. - Now searches all namespaces by default, instead of only the File namespace.
- Now shows thumbnails when searching the File namespace.
- Added required
apiUrloption. - Added optional
contentModeloption. - Added
ui-commonssuggester-listCSS class.
- Now uses MediaWiki
GeoShapeexpert now only suggests GeoJSON pages.- Changes to
jQuery.valueview.valueview:- Fixed a bug where certain consecutive changes were considered invalid.
getTextValueandgetFormattedValuenever return null any more, but empty strings when not up to date, and the formatter API failed or did not responded yet.
- Maximized developer dependency ranges.
- Tests do not use
CompletenessTestany more.
- Fixed
jQuery.ui.ooMenu'scustomItemsinitialization.
- Added support for
geo-shapedata type. - The close icon on inputextenders now follows MediaWiki standard.
- Fixed
jQuery.ui.ooMenu'scustomItemssharing state. - Fixed text overflow in listrotator dropdowns.
jQuery.ui.commonssuggesternow allows pasting full and partial Wikimedia Commons URLs.- Added support for
nullprecision toGlobeCoordinateInput.
- Handle null upstream values in
jQuery.valueview.ExpertExtender.LanguageSelector::onInitialShow. - Properly forward API error messages in
jquery.ui.unitsuggester.
- Fixed
jQuery.ui.suggesterfont size.
- Moved
valueviewchangeevent after actual changing the value. jQuery.ui.suggesternow also closes when tabbing out and reopens on click.jQuery.ui.togglernow uses the default MediaWiki link color.
- Fixed
jQuery.focusAtandjquery.valueview.ExpertExtender.ListrotatorQUnit tests.
GlobeCoordinateInputandTimeInputdo not usejQuery.valueview.ExpertExtender.Togglerany more.- Simplified
jQuery.ui.listrotatorwidget:- Removed
$prevand$nextelements as well asprev,nextandrotatemethods. - Replaced
$autoelement with "set manually" checkbox. - Removed all
animationoptions. - Removed
isRTLoption.
- Removed
- Improved
jQuery.ui.inputextenderstyles. - Made
jQuery.ui.inputextenderanimations faster.
- Fix quantities without unit in
QuantityInput
- Changed
ValueViewto take twoValueFormatterinstances instead of aValueFormatterStore - Changed
Expert::valueCharacteristicsdefinition so that it does not have to be statically callable anymore
- Correctly detect a changed language code when editing a
MonolingualTextValue.
- Added compatibility with DataValues JavaScript 0.8.0.
- Fixed
jQuery.valueview.experts.GlobeCoordinateInputfailing when precision is null.
- Addded optional
visibleoption tojQuery.ui.toggler. - Fixed
jQuery.ui.languagesuggesternot propagating updates. - Fixed
jQuery.ui.languagesuggester::getSelectedValueto returnnullwhen the user changed the input's value and not yet selected a value. - Fixed
jQuery.valueview.ExpertExtender.LanguageSelectorto fall back on the language code when there's no label available.
- Introduced
toggleandisCollapsedmethods onjQuery.ui.toggler.
- Fixed
jQuery.valueview.ExpertExtender.UnitSelectortest.
jQuery.valueview.experts.QuantityInputextracts an optional.wb-unitnode from the formatted value and passes it to the UnitSelector.- Both QuantityInput and UnitSelector use a different format in the
getUpstreamValuecallback. jQuery.ui.unitsuggesternow supports adefaultSelectedUrloption.
- Fixed
jQuery.valueview.experts.QuantityInputtest.
jQuery.valueview.expert.valueCharacteristicsgets the output format passed in.jQuery.valueview.experts.QuantityInputexplicitely asksQuantityFormatterto not apply rounding and units in plain text format.jQuery.valueview.valueviewpasses avocabularyLookupApiUrloption to all experts.jQuery.valueview.experts.QuantityInputandjQuery.valueview.ExpertExtender.UnitSelectornow pass avocabularyLookupApiUrloption tojQuery.ui.unitsuggester.jQuery.ui.unitsuggesteruses theconcepturifromwbsearchentitiesresults, if available.
jQuery.valueview.experts.QuantityInputalso submits theunitoption if it's null.
jQuery.ui.unitsuggesternow queries thewbsearchentitiesAPI for a specific language.- Fixed
jQuery.valueview.ExpertExtender.UnitSelector.destroy.
- Removed deprecated constant
ValueView_VERSION, useVALUEVIEW_VERSIONinstead. - Removed
jQuery.valueview.disable,jQuery.valueview.enableandjQuery.valueview.isDisabled. These function were used to mock nativejQuery.Widgetfunctionality while adding a fulldrawcycle on top.jQuery.valueview.drawdoes not consider the state anymore.
- Added
jQuery.valueview.experts.QuantityInputexpert. - Added
jQuery.valueview.ExpertExtender.UnitSelector. - Added
jQuery.ui.unitsuggester. jQuery.valueview.valueviewnow passes alanguageoption to all experts.- Refined
jQuery.ui.listrotatorstyle to have a more obvious active state. - Set
jQuery.ui.commonssuggesterto always use https.
- Fixed
jQuery.valueview.ExpertExtender.CalendarHinttest broken due to DataValues JavaScript dependency update.
- Added expert for
UnDeserializableValues. - Updated DataValues JavaScript dependency to version 0.7.
- Fix premature afterparse handling (e.g. save) of parsed values.
- Remove qunit dependency to make QUnit tests work in Karma
- Make QUnit tests pass in PhantomJS
- Removed
jQuery.NativeEventHandler.
jQuery.valueview.ExpertExtender.Listrotatorredraws on 0 value now.
- Turned
util.MessageProviderinto an interface - Introduced several implementations of
util.MessageProvider util.HashMessageProviderutil.CombiningMessageProviderutil.PrefixingMessageProvider- Replaced the
mwoption tovalueviewwith amessageProvideroption
- Removed internal dependency on Universal Language Selector (ULS)
- Introduced
utils.ContentLanguages
jQuery.valueview.ExpertExtender.LanguageSelectorconstructor requiresutils.ContentLanguagesnow.
jQuery.ui.toggler: Added parameter toanimationevent determining whether the toggler's subject will be visible or hidden.jQuery.ui.toggler: Addedrefreshfunction to be able to reflect visibility changes to the toggler's subject that have been applied externally.jQuery.ui.toggler: Changed_reflectVisibilityOnToggleIconto be private.- Dropped
javascript:void(0)placeholders from$.ui.toggler,$.ui.listrotatorand$.ui.CalendarHint.
$.fn.inputautoexpand: Fixed height expansion mechanism.- Use
wgULSLanguagesinstead ofjQuery.uls.data.languagesfor MonolingualTextValue. This reduces the number of available languages, but makes it match the list used by the Wikibase backend validators.
$.ui.suggester: Removedeventparameter fromsearch().
$.ui.suggester: AddedisSearching()function to determine whether searching is in progress.- Added
forceparameter to$.AutoInputExpand.prototype.expand().
util.highlightSubstring: ReplacedcaseInsensitiveoption withcaseSensitiveoption defaulting tofalse.$.ui.suggester: Moved protected_minTermLengthmember tooptions.
$.ui.suggester: Fixed input element being refocused when selecting a suggestion via keyboard input.
$.ui.ooMenu.CustomItem: AddedsetVisibility,setActionandsetCssClassfunctions. Visibility may be set to a static (boolean) value.$.valueview.draw($.valueview.valueview.draw),$.valueview.drawContent($.valueview.valueview.drawContent) and$.valueview.Expert.drawreturn jQuery promises.$.valueview.draw($.valueview.valueview.draw) triggersafterdrawevent.$.valueview.startEditing($.valueview.valueview.startEditing) triggersafterstarteditingevent.$.valueview.stopEditing($.valueview.valueview.stopEditing) triggersafterstopeditingevent.- Fixed precision auto-detection of
$.valueview.experts.GlobeCoordinateInput.
- $.ui.suggester: Hitting the backspace or delete key if the input is empty already does not trigger search anymore.
- $.ui.suggester: Refocus input element after selecting a suggestion via mouse click.
- $.ui.suggester: Added "confineMinWidthTo" option for specifying an element, the suggestion list's minimum width shall be confined to.
- Replaced $.util.highlightMatchingCharacters with util.highlightSubstring.
- $.valueview(.valueview) requires new "language" option to be set.
- Implemented jQuery.ui.languagesuggester.
- Input extender extension will not be hidden on mousedown event.
- Updated DataValues JavaScript dependency to version 0.6.
- Renamed jQuery.ui.suggestCommons to jQuery.ui.commonssuggester.
- When pressing ESC on a suggester enhanced input element while the suggester menu is visible, the key event's propagation is stopped.
- Fixed eachchange event: Cancel event after it got removed.
- Fixed calendar switch to Julian (Bug 65847).
- Fixed bug that broke the ListRotator after edit and cancel (Bug 70294).
- Remove ResourceLoader dependencies on jquery and mediawiki (bug 69468)
- $.ui.suggester updates "lang" and "dir" attribute of its menu whenever repositioning the menu.
- $.ui.suggester issues "error" event in case of an error.
- LanguageSelector allows typing the language code instead of the name.
- Only attempt to close a suggester if it's open
- Fix bug 68386, black colored text on blue background in jquery.ui.suggester when hovered via keydown.
- Mouse clicks other than simple left clicks don't trigger events any more in all ooMenus
- Suggester items default to black even if they are links
- Suggesters z-index is now dynamically calculated with it's position on screen
- Fixed the QUnit tests
- Don't underline ooMenu/ suggester items
- Various small bug fixes
- Changed MonolingualText option from "lang" to "valuelang".
- Added setLink() function to jQuery.ui.ooMenu.CustomItem prototype allowing dynamic updates of the link target.
- Removed default "javascript:void(0);" link target of jQuery.ui.ooMenu.CustomItem instances.
- Reordered GlobeCoordinate precisions.
- Added expert for MonolingualText values.
- Support editing arbitrary precisions for GlobeCoordinates.
- Added support for options in the ui.toggler widget.
- Fixed wrong valueview-valueview-... class names after jQuery update.
- Fixed RTL related bug in ui.suggester.
- Fixed a bug where the values of inputs with a suggester on were set to an older value sometimes.
- Make the minimal term length of the suggester configurable.
- Add resource loader dependencies for jquery.ui.suggester, fixing bug 66268 and bug 66257.
- Re-created jQuery.ui.suggester widget removing dependencies on jQuery.ui.autocomplete and jQuery.ui.menu.
- Implemented jQuery.util.highlightMatchingCharacters
- Implemented jQuery.ui.ooMenu
- Implemented jQuery.ui.suggestCommons
- Removed CommonsMediaType expert dependency on SuggestedStringValue expert.
- Prevent enter-key from adding newline character in String expert
- Fixed bug 64658 which caused the inputextender widget being invisible
- Refactored inputextender usage of experts
- Added addExtension method to jQuery.ValueView.Expert
- Change TimeInput::valueCharacteristics() to not returning precision or calendarmodel if set to auto.
- Change TimeInput::draw() to update the rotators' values if they are in auto mode
- Change GlobeCoordinateInput::draw() to update the precision rotator value if it is in auto mode
- Renamed jQuery.valueView.ExpertFactory to jQuery.valueView.ExpertStore.
- Renamed jQuery.valueView option "expertProvider" to "expertStore".
- Renamed jQuery.valueView.ExpertFactory to jQuery.valueView.ExpertStore.
- Renamed jQuery.valueView option "expertProvider" to "expertStore".
- Renamed jQuery.valueView option "valueFormatterProvider" to "formatterStore".
- Renamed jQuery valueView option "valueParserProvider" to "parserStore".
- Updated DataValues JavaScript dependency to version 0.5.
- Removed setting default formatter provider/store and parser provider/store of jQuery.valueView in mw.ext.valueView since no defaults are provided by DataValues JavaScript as of version 0.5.0.
- Removed mw.ext.valueView module.
- Fixed ValueView to again support setting value to null
- jQuery.valueview expects the rejected promise that may be returned by ValueParser's parse() and ValueFormatter's format() to feature a single parameter only.
- Use DOM children of the ValueView as formatted value on initialization
- Don't parse and format a value if it did not change
- Updated DataValues JavaScript dependency to version 0.4.
- Remove trimming from StringValue expert
- Use ViewState::getFormattedValue for GlobeCoordinate formatting
- Make some of the animations user definable
- Use ViewState formatting and parsing in TimeValue
- Make ValueView responsible for static mode and remove BifidExpert
- Don't redraw ValueView in {en,dis}able if nothing changed
- Fix inputextender for time values
- REVERTED Use ViewState::getFormattedValue for GlobeCoordinate formatting
- Added "isRtl" option to jQuery.ui.listrotator.
- Use ViewState::getFormattedValue for Url formatting
- Use ViewState::getFormattedValue for GlobeCoordinate formatting
- Removed dependency on the DataTypes library.
- ExpertFactory may be initialized with a default expert now.
- Changed ExpertFactory mechanisms to comply with ValueFormatterFactory and ValueParserFactory:
- Removed generic registerExpert() method. registerDataTypeExpert() and registerDataValueExpert() should be used to register experts.
- Removed additional unused and obsolete functions:
- getCoveredDataValueTypes()
- getCoveredDataTypes()
- hasExpertFor()
- newExpert()
- Removed CommonsMediaType and UrlType expert registrations from mw.ext.valueView.js since these are supposed to be registered in Wikibase where the corresponding data types are instantiated.
- Replaced jQuery.valueview.valueview's "on" option with "dataTypeId" and "dataValueType" options.
- Updated DataValues JavaScript dependency to version 0.3.
- Renamed jQuery.valueview.preview to jQuery.ui.preview
- Renamed $.valueview.MessageProvider to util.MessageProvider
- Renamed
$.inputAutoExpand to $ .inputautoexpand - Renamed
$.nativeEventHandler to $ .NativeEventHandler - Moved
$.valueview.MockViewState to $ .valueview.tests.MockViewState - Corrected several MediaWiki resource loader module names (and some file names):
-
$.fn.focusAt -> $ .focusAt -
$.valueview.experts.commonsmediatype -> $ .valueview.experts.CommonsMediaType -
$.valueview.experts.emptyvalue -> $ .valueview.experts.EmptyValue -
$.valueview.experts.globecoordinateinput -> $ .valueview.experts.GlobeCoordinateInput -
$.valueview.experts.globecoordinatevalue -> $ .valueview.experts.GlobeCoordinateValue -
$.valueview.experts.mock -> $ .valueview.experts.Mock -
$.valueview.experts.quantitytype -> $ .valueview.experts.QuantityType -
$.valueview.experts.staticdom -> $ .valueview.experts.StaticDom -
$.valueview.experts.stringvalue -> $ .valueview.experts.StringValue -
$.valueview.experts.timeinput -> $ .valueview.experts.TimeInput -
$.valueview.experts.timevalue -> $ .valueview.experts.TimeValue -
$.valueview.experts.unsupportedvalue -> $ .valueview.experts.UnsupportedValue -
$.valueview.experts.urltype -> $ .valueview.experts.UrlType - Added $.valueview.experts.SuggestedStringValue as a separate resource loader module
- $.valueview.experts.CommonsMediaType does not format on its own, but relies on value formatters.
- #6 Added util.Notifier
Initial release.