Jforrester has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/380848 )
Change subject: Update OOjs UI to v0.23.2 ...................................................................... Update OOjs UI to v0.23.2 Release notes: https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0$ Change-Id: I9d1264ebf456cadc7e350c2558a9997a2a0633c4 --- M composer.json M composer.lock M composer/installed.json M oojs/oojs-ui/History.md M oojs/oojs-ui/bin/testsuitegenerator.rb M oojs/oojs-ui/demos/classes/BrokenDialog.js M oojs/oojs-ui/demos/classes/ButtonStyleShowcaseWidget.js M oojs/oojs-ui/demos/classes/ButtonStyleShowcaseWidget.php M oojs/oojs-ui/demos/classes/MenuDialog.js M oojs/oojs-ui/demos/classes/ProcessDialog.js M oojs/oojs-ui/demos/classes/SampleTabPanel.js M oojs/oojs-ui/demos/pages/dialogs.js M oojs/oojs-ui/demos/pages/widgets.js M oojs/oojs-ui/demos/pages/widgets.php M oojs/oojs-ui/demos/styles/demo.css M oojs/oojs-ui/i18n/ais.json A oojs/oojs-ui/i18n/en-gb.json M oojs/oojs-ui/i18n/pt-br.json M oojs/oojs-ui/i18n/tay.json M oojs/oojs-ui/package.json M oojs/oojs-ui/php/mixins/FlaggedElement.php 21 files changed, 198 insertions(+), 137 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/vendor refs/changes/48/380848/1 diff --git a/composer.json b/composer.json index e6dd1a3..3ebc15a 100644 --- a/composer.json +++ b/composer.json @@ -45,7 +45,7 @@ "monolog/monolog": "1.22.1", "mustangostang/spyc": "0.6.2", "nmred/kafka-php": "0.1.5", - "oojs/oojs-ui": "0.23.1", + "oojs/oojs-ui": "0.23.2", "oyejorge/less.php": "1.7.0.14", "pear/console_getopt": "1.4.1", "pear/mail": "1.4.1", diff --git a/composer.lock b/composer.lock index 7822ac2..96393d5 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "content-hash": "1129c0e8cd3e4bfcdd6c36f6a6fef8f0", + "content-hash": "1abc9f7afbd26388ee9bccadaaef1239", "packages": [ { "name": "composer/semver", @@ -516,16 +516,16 @@ }, { "name": "oojs/oojs-ui", - "version": "v0.23.1", + "version": "v0.23.2", "source": { "type": "git", "url": "https://github.com/wikimedia/oojs-ui.git", - "reference": "78a763891cab6e5af620e891f340141e75ceef84" + "reference": "60ea6e39e200f732448ecceb88c9922e69974dd4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wikimedia/oojs-ui/zipball/78a763891cab6e5af620e891f340141e75ceef84", - "reference": "78a763891cab6e5af620e891f340141e75ceef84", + "url": "https://api.github.com/repos/wikimedia/oojs-ui/zipball/60ea6e39e200f732448ecceb88c9922e69974dd4", + "reference": "60ea6e39e200f732448ecceb88c9922e69974dd4", "shasum": "" }, "require": { @@ -591,7 +591,7 @@ ], "description": "Provides library of common widgets, layouts, and windows.", "homepage": "https://www.mediawiki.org/wiki/OOjs_UI", - "time": "2017-09-20T00:13:22+00:00" + "time": "2017-09-26T19:49:41+00:00" }, { "name": "oyejorge/less.php", diff --git a/composer/installed.json b/composer/installed.json index d327ab5..da842bf 100644 --- a/composer/installed.json +++ b/composer/installed.json @@ -2326,17 +2326,17 @@ }, { "name": "oojs/oojs-ui", - "version": "v0.23.1", - "version_normalized": "0.23.1.0", + "version": "v0.23.2", + "version_normalized": "0.23.2.0", "source": { "type": "git", "url": "https://github.com/wikimedia/oojs-ui.git", - "reference": "78a763891cab6e5af620e891f340141e75ceef84" + "reference": "60ea6e39e200f732448ecceb88c9922e69974dd4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wikimedia/oojs-ui/zipball/78a763891cab6e5af620e891f340141e75ceef84", - "reference": "78a763891cab6e5af620e891f340141e75ceef84", + "url": "https://api.github.com/repos/wikimedia/oojs-ui/zipball/60ea6e39e200f732448ecceb88c9922e69974dd4", + "reference": "60ea6e39e200f732448ecceb88c9922e69974dd4", "shasum": "" }, "require": { @@ -2348,7 +2348,7 @@ "mediawiki/mediawiki-codesniffer": "0.12.0", "phpunit/phpunit": "4.8.21" }, - "time": "2017-09-20T00:13:22+00:00", + "time": "2017-09-26T19:49:41+00:00", "type": "library", "installation-source": "dist", "autoload": { diff --git a/oojs/oojs-ui/History.md b/oojs/oojs-ui/History.md index 7c4e6b3..cc89b95 100644 --- a/oojs/oojs-ui/History.md +++ b/oojs/oojs-ui/History.md @@ -1,4 +1,24 @@ # OOjs UI Release History +## v0.23.2 / 2017-09-26 +### Deprecations +* [DEPRECATING CHANGE]: Apex theme: Begin killing `constructive` flag (James D. Forrester) + +### Features +* LabelElement#highlightQuery: Support locale comparison (Ed Sanders) +* MenuLayout, BookletLayout, IndexLayout: Support `expanded: false` (Bartosz Dziewoński) +* WindowManager: Set `aria-hidden` by default and change toggleAriaIsolation behavior (Prateek Saxena) + +### Code +* MenuLayout: Rewrite support for `expanded: false` (Bartosz Dziewoński) +* TextInputWidget: Reduce CSS output by enhancing unselectable behaviour (Volker E.) +* themes: Align DropdownWidget `&-handle` selectors for code hygiene (Volker E.) +* Apex theme: Simplify Radio- & Checkbox*optionWidget label rules (Volker E.) +* Remove duplicated `outline` property (Volker E.) +* Remove LESS vars covered by WikimediaUI Base (Volker E.) +* demos: Expand long dialog title to actually test things (James D. Forrester) +* demos: Restrict `opacity` to non-flagged icons only (Volker E.) + + ## v0.23.1 / 2017-09-19 ### Deprecations * [DEPRECATING CHANGE] SelectWidget: Rename `getFirstSelectableItem` to `findFirstSelectableItem` (Prateek Saxena) diff --git a/oojs/oojs-ui/bin/testsuitegenerator.rb b/oojs/oojs-ui/bin/testsuitegenerator.rb index 25917fc..711059f 100644 --- a/oojs/oojs-ui/bin/testsuitegenerator.rb +++ b/oojs/oojs-ui/bin/testsuitegenerator.rb @@ -61,7 +61,7 @@ 'maxLength' => [100], 'icon' => ['image'], 'indicator' => ['down'], - 'flags' => %w[constructive primary], + 'flags' => %w[progressive primary], 'progress' => [0, 50, 100, false], 'options' => [ [], diff --git a/oojs/oojs-ui/demos/classes/BrokenDialog.js b/oojs/oojs-ui/demos/classes/BrokenDialog.js index 9919bd1..40739a8 100644 --- a/oojs/oojs-ui/demos/classes/BrokenDialog.js +++ b/oojs/oojs-ui/demos/classes/BrokenDialog.js @@ -5,7 +5,7 @@ OO.inheritClass( Demo.BrokenDialog, OO.ui.ProcessDialog ); Demo.BrokenDialog.static.title = 'Broken dialog'; Demo.BrokenDialog.static.actions = [ - { action: 'save', label: 'Save', flags: [ 'primary', 'constructive' ] }, + { action: 'save', label: 'Save', flags: [ 'primary', 'progressive' ] }, { action: 'delete', label: 'Delete', flags: 'destructive' }, { action: 'cancel', label: 'Cancel', flags: [ 'safe', 'back' ] } ]; diff --git a/oojs/oojs-ui/demos/classes/ButtonStyleShowcaseWidget.js b/oojs/oojs-ui/demos/classes/ButtonStyleShowcaseWidget.js index d65748e..9f9573e 100644 --- a/oojs/oojs-ui/demos/classes/ButtonStyleShowcaseWidget.js +++ b/oojs/oojs-ui/demos/classes/ButtonStyleShowcaseWidget.js @@ -24,16 +24,10 @@ flags: [ 'progressive' ] }, { - flags: [ 'constructive' ] - }, - { flags: [ 'destructive' ] }, { flags: [ 'primary', 'progressive' ] - }, - { - flags: [ 'primary', 'constructive' ] }, { flags: [ 'primary', 'destructive' ] diff --git a/oojs/oojs-ui/demos/classes/ButtonStyleShowcaseWidget.php b/oojs/oojs-ui/demos/classes/ButtonStyleShowcaseWidget.php index 09c02d2..7d2f45e 100644 --- a/oojs/oojs-ui/demos/classes/ButtonStyleShowcaseWidget.php +++ b/oojs/oojs-ui/demos/classes/ButtonStyleShowcaseWidget.php @@ -12,16 +12,10 @@ 'flags' => [ 'progressive' ], ], [ - 'flags' => [ 'constructive' ], - ], - [ 'flags' => [ 'destructive' ], ], [ 'flags' => [ 'primary', 'progressive' ], - ], - [ - 'flags' => [ 'primary', 'constructive' ], ], [ 'flags' => [ 'primary', 'destructive' ], diff --git a/oojs/oojs-ui/demos/classes/MenuDialog.js b/oojs/oojs-ui/demos/classes/MenuDialog.js index 11759a8..34e5580 100644 --- a/oojs/oojs-ui/demos/classes/MenuDialog.js +++ b/oojs/oojs-ui/demos/classes/MenuDialog.js @@ -11,7 +11,7 @@ return 350; }; Demo.MenuDialog.prototype.initialize = function () { - var menuLayout, positionField, showField, menuPanel, contentPanel; + var menuLayout, positionField, showField, expandField, menuPanel, contentPanel; Demo.MenuDialog.parent.prototype.initialize.apply( this, arguments ); menuLayout = new OO.ui.MenuLayout(); @@ -52,6 +52,18 @@ align: 'top' } ); + expandField = new OO.ui.FieldLayout( + new OO.ui.ToggleSwitchWidget( { value: true } ).on( 'change', function ( value ) { + menuLayout.$element.toggleClass( 'oo-ui-menuLayout-expanded', value ); + menuLayout.$element.toggleClass( 'oo-ui-menuLayout-static', !value ); + menuPanel.$element.toggleClass( 'oo-ui-panelLayout-expanded', value ); + contentPanel.$element.toggleClass( 'oo-ui-panelLayout-expanded', value ); + } ), + { + label: 'Expand layout', + align: 'top' + } + ); menuPanel = new OO.ui.PanelLayout( { padded: true, expanded: true, scrollable: true } ); contentPanel = new OO.ui.PanelLayout( { padded: true, expanded: true, scrollable: true } ); @@ -61,6 +73,7 @@ menuLayout.$content.append( contentPanel.$element.append( positionField.$element, + expandField.$element, showField.$element ) ); diff --git a/oojs/oojs-ui/demos/classes/ProcessDialog.js b/oojs/oojs-ui/demos/classes/ProcessDialog.js index c0f3d6c..6ddc898 100644 --- a/oojs/oojs-ui/demos/classes/ProcessDialog.js +++ b/oojs/oojs-ui/demos/classes/ProcessDialog.js @@ -9,9 +9,20 @@ { action: 'other', label: 'Other', flags: 'other' } ]; Demo.ProcessDialog.prototype.initialize = function () { + var $content; Demo.ProcessDialog.parent.prototype.initialize.apply( this, arguments ); + + $content = $( '<div>' ).append( + $( '<p>' ).text( 'Dialog content' ), + $( '<a>' ) + .text( 'Be alert!' ) + .on( 'click', function () { + OO.ui.alert( 'You are alert!' ); + } ) + ); + this.content = new OO.ui.PanelLayout( { padded: true, expanded: false } ); - this.content.$element.append( '<p>Dialog content</p>' ); + this.content.$element.append( $content ); this.$body.append( this.content.$element ); }; Demo.ProcessDialog.prototype.getActionProcess = function ( action ) { diff --git a/oojs/oojs-ui/demos/classes/SampleTabPanel.js b/oojs/oojs-ui/demos/classes/SampleTabPanel.js index 03bce0d..39a7c6b 100644 --- a/oojs/oojs-ui/demos/classes/SampleTabPanel.js +++ b/oojs/oojs-ui/demos/classes/SampleTabPanel.js @@ -1,5 +1,7 @@ Demo.SampleTabPanel = function DemoSampleTabPanel( name, config ) { OO.ui.TabPanelLayout.call( this, name, config ); - this.$element.text( this.label ); + if ( this.$element.is( ':empty' ) ) { + this.$element.text( this.label ); + } }; OO.inheritClass( Demo.SampleTabPanel, OO.ui.TabPanelLayout ); diff --git a/oojs/oojs-ui/demos/pages/dialogs.js b/oojs/oojs-ui/demos/pages/dialogs.js index 1b11cb2..e55e4e7 100644 --- a/oojs/oojs-ui/demos/pages/dialogs.js +++ b/oojs/oojs-ui/demos/pages/dialogs.js @@ -100,7 +100,7 @@ size: 'medium' }, data: { - title: 'Sample dialog with very long title that does not fit' + title: 'Sample dialog with very long title that does not remotely fit into the space available and thus demonstrates what happens in that use case' } }, { @@ -170,7 +170,7 @@ { action: 'repeat', label: 'Try again', - flags: [ 'primary', 'constructive' ] + flags: [ 'primary', 'progressive' ] } ] } diff --git a/oojs/oojs-ui/demos/pages/widgets.js b/oojs/oojs-ui/demos/pages/widgets.js index c2a23c3..6f9321b 100644 --- a/oojs/oojs-ui/demos/pages/widgets.js +++ b/oojs/oojs-ui/demos/pages/widgets.js @@ -105,16 +105,6 @@ ), new OO.ui.FieldLayout( new OO.ui.ButtonWidget( { - label: 'Constructive', - flags: [ 'constructive' ] - } ), - { - label: 'ButtonWidget (constructive, deprecated in WikimediaUI theme)\u200E', - align: 'top' - } - ), - new OO.ui.FieldLayout( - new OO.ui.ButtonWidget( { label: 'Destructive', flags: [ 'destructive' ] } ), @@ -130,16 +120,6 @@ } ), { label: 'ButtonWidget (primary, progressive)\u200E', - align: 'top' - } - ), - new OO.ui.FieldLayout( - new OO.ui.ButtonWidget( { - label: 'Primary constructive', - flags: [ 'primary', 'constructive' ] - } ), - { - label: 'ButtonWidget (primary, constructive, deprecated in WikimediaUI theme)\u200E', align: 'top' } ), @@ -342,18 +322,6 @@ new OO.ui.FieldLayout( new OO.ui.ButtonWidget( { framed: false, - flags: [ 'constructive' ], - icon: 'add', - label: 'Constructive' - } ), - { - label: 'ButtonWidget (frameless, constructive)\u200E', - align: 'top' - } - ), - new OO.ui.FieldLayout( - new OO.ui.ButtonWidget( { - framed: false, flags: [ 'destructive' ], label: 'Cancel' } ), @@ -371,19 +339,6 @@ } ), { label: 'ButtonWidget (frameless, disabled)\u200E', - align: 'top' - } - ), - new OO.ui.FieldLayout( - new OO.ui.ButtonWidget( { - framed: false, - flags: [ 'constructive' ], - icon: 'tag', - label: 'Constructive', - disabled: true - } ), - { - label: 'ButtonWidget (frameless, constructive, disabled)\u200E', align: 'top' } ), @@ -2673,6 +2628,107 @@ ) ] } ), + new OO.ui.FieldsetLayout( { + id: 'demo-section-other-layouts', + label: 'Other layouts', + items: [ + new OO.ui.FieldLayout( + new OO.ui.Widget( { + content: [ + new OO.ui.PanelLayout( { + expanded: false, + framed: true, + content: [ + new OO.ui.BookletLayout( { + expanded: false, + outlined: true + } ).addPages( [ + new Demo.SamplePage( 'first', { + expanded: false, + label: 'One' + } ), + new Demo.SamplePage( 'second', { + expanded: false, + label: 'Two' + } ), + new Demo.SamplePage( 'third', { + expanded: false, + label: 'Three' + } ), + new Demo.SamplePage( 'fourth', { + expanded: false, + label: 'Four' + } ), + new Demo.SamplePage( 'long', { + expanded: false, + label: 'Long', + content: [ + $( '<p>' ).text( loremIpsum ), + $( '<p>' ).text( loremIpsum ), + $( '<p>' ).text( loremIpsum ), + $( '<p>' ).text( loremIpsum ), + $( '<p>' ).text( loremIpsum ), + $( '<p>' ).text( loremIpsum ), + $( '<p>' ).text( loremIpsum ) + ] + } ) + ] ) + ] + } ) + ] + } ), + { + label: 'Outlined BookletLayout', + align: 'top' + } + ), + new OO.ui.FieldLayout( + new OO.ui.Widget( { + content: [ + new OO.ui.PanelLayout( { + expanded: false, + framed: true, + content: [ + new OO.ui.IndexLayout( { + expanded: false + } ).addTabPanels( [ + new Demo.SampleTabPanel( 'first', { + expanded: false, + label: 'One' + } ), + new Demo.SampleTabPanel( 'second', { + expanded: false, + label: 'Two' + } ), + new Demo.SampleTabPanel( 'third', { + expanded: false, + label: 'Three' + } ), + new Demo.SampleTabPanel( 'fourth', { + expanded: false, + label: 'Four' + } ), + new Demo.SampleTabPanel( 'long', { + expanded: false, + label: 'Long', + content: [ + $( '<p>' ).text( loremIpsum ), + $( '<p>' ).text( loremIpsum ), + $( '<p>' ).text( loremIpsum ) + ] + } ) + ] ) + ] + } ) + ] + } ), + { + label: 'IndexLayout', + align: 'top' + } + ) + ] + } ), new OO.ui.FormLayout( { method: 'GET', action: 'demos.php', @@ -2834,13 +2890,6 @@ label: null, align: 'top' } - ), - new OO.ui.FieldLayout( - new OO.ui.ButtonWidget( { - framed: false, - flags: [ 'constructive' ], - label: 'Constructive feedback' - } ) ) ] } ) diff --git a/oojs/oojs-ui/demos/pages/widgets.php b/oojs/oojs-ui/demos/pages/widgets.php index cbfc240..35a5ee4 100644 --- a/oojs/oojs-ui/demos/pages/widgets.php +++ b/oojs/oojs-ui/demos/pages/widgets.php @@ -39,16 +39,6 @@ ), new OOUI\FieldLayout( new OOUI\ButtonWidget( [ - 'label' => 'Constructive', - 'flags' => [ 'constructive' ] - ] ), - [ - 'label' => "ButtonWidget (constructive, deprecated)\xE2\x80\x8E", - 'align' => 'top' - ] - ), - new OOUI\FieldLayout( - new OOUI\ButtonWidget( [ 'label' => 'Destructive', 'flags' => [ 'destructive' ] ] ), @@ -64,16 +54,6 @@ ] ), [ 'label' => "ButtonWidget (primary, progressive)\xE2\x80\x8E", - 'align' => 'top' - ] - ), - new OOUI\FieldLayout( - new OOUI\ButtonWidget( [ - 'label' => 'Primary constructive', - 'flags' => [ 'primary', 'constructive' ] - ] ), - [ - 'label' => "ButtonWidget (primary, constructive, deprecated)\xE2\x80\x8E", 'align' => 'top' ] ), @@ -211,18 +191,6 @@ new OOUI\FieldLayout( new OOUI\ButtonWidget( [ 'framed' => false, - 'flags' => [ 'constructive' ], - 'icon' => 'add', - 'label' => 'Constructive' - ] ), - [ - 'label' => "ButtonWidget (frameless, constructive)\xE2\x80\x8E", - 'align' => 'top' - ] - ), - new OOUI\FieldLayout( - new OOUI\ButtonWidget( [ - 'framed' => false, 'flags' => [ 'destructive' ], 'label' => 'Cancel' ] ), @@ -240,19 +208,6 @@ ] ), [ 'label' => "ButtonWidget (frameless, disabled)\xE2\x80\x8E", - 'align' => 'top' - ] - ), - new OOUI\FieldLayout( - new OOUI\ButtonWidget( [ - 'framed' => false, - 'flags' => [ 'constructive' ], - 'icon' => 'tag', - 'label' => 'Constructive', - 'disabled' => true - ] ), - [ - 'label' => "ButtonWidget (frameless, constructive, disabled)\xE2\x80\x8E", 'align' => 'top' ] ), diff --git a/oojs/oojs-ui/demos/styles/demo.css b/oojs/oojs-ui/demos/styles/demo.css index 76cebb1..733f980 100644 --- a/oojs/oojs-ui/demos/styles/demo.css +++ b/oojs/oojs-ui/demos/styles/demo.css @@ -280,18 +280,18 @@ .demo-icons .oo-ui-fieldLayout:nth-child( 4n ) { margin-right: 0; } - -.demo-icons .oo-ui-fieldLayout .oo-ui-iconElement, +/* stylelint-disable indentation */ +.demo-icons .oo-ui-fieldLayout .oo-ui-iconElement:not( .oo-ui-image-progressive ):not( .oo-ui-image-destructive ), .demo-icons .oo-ui-fieldLayout .oo-ui-indicatorElement { - opacity: 0.8; /* brings icons/indicators closer to text color */ + opacity: 0.87; /* brings icons/indicators closer to text color */ } - +/* stylelint-enable indentation */ .demo-icons .oo-ui-fieldLayout:hover .oo-ui-labelElement-label { color: #000; } .demo-icons .oo-ui-fieldLayout:hover .oo-ui-iconElement, .demo-icons .oo-ui-fieldLayout:hover .oo-ui-indicatorElement { - opacity: 1; + opacity: 1 !important; /* stylelint-disable-line declaration-no-important */ } /* Widgets demo */ diff --git a/oojs/oojs-ui/i18n/ais.json b/oojs/oojs-ui/i18n/ais.json index 987f029..d7e65e1 100644 --- a/oojs/oojs-ui/i18n/ais.json +++ b/oojs/oojs-ui/i18n/ais.json @@ -19,5 +19,6 @@ "ooui-dialog-process-retry": "pitaneng henay aca", "ooui-dialog-process-continue": "palalid", "ooui-selectfile-button-select": "mipili’ cacay a tangan", + "ooui-selectfile-not-supported": "la’cus midama mipili’ay a tangan", "ooui-selectfile-placeholder": "caay henay mipili’ tu tangan" } diff --git a/oojs/oojs-ui/i18n/en-gb.json b/oojs/oojs-ui/i18n/en-gb.json new file mode 100644 index 0000000..5bdc6f4 --- /dev/null +++ b/oojs/oojs-ui/i18n/en-gb.json @@ -0,0 +1,15 @@ +{ + "@metadata": { + "authors": [ + "Pierpao" + ] + }, + "ooui-dialog-message-accept": "OK", + "ooui-dialog-message-reject": "Cancel", + "ooui-dialog-process-dismiss": "Dismiss", + "ooui-dialog-process-retry": "Try again", + "ooui-dialog-process-continue": "Continue", + "ooui-selectfile-button-select": "Select a file", + "ooui-selectfile-not-supported": "File selection is not supported", + "ooui-selectfile-placeholder": "No file is selected" +} diff --git a/oojs/oojs-ui/i18n/pt-br.json b/oojs/oojs-ui/i18n/pt-br.json index 41ce674..aa8904e 100644 --- a/oojs/oojs-ui/i18n/pt-br.json +++ b/oojs/oojs-ui/i18n/pt-br.json @@ -12,7 +12,8 @@ 555, "TheEduGobi", "TheGabrielZaum", - "Felipe L. Ewald" + "Felipe L. Ewald", + "Eduardo Addad de Oliveira" ] }, "ooui-outline-control-move-down": "Mover item para baixo", @@ -21,6 +22,7 @@ "ooui-toolbar-more": "Mais", "ooui-toolgroup-expand": "Mais", "ooui-toolgroup-collapse": "Menos", + "ooui-item-remove": "Remover", "ooui-dialog-message-accept": "OK", "ooui-dialog-message-reject": "Cancelar", "ooui-dialog-process-error": "Algo deu errado", diff --git a/oojs/oojs-ui/i18n/tay.json b/oojs/oojs-ui/i18n/tay.json index b75ac8e..12a6f95 100644 --- a/oojs/oojs-ui/i18n/tay.json +++ b/oojs/oojs-ui/i18n/tay.json @@ -5,12 +5,16 @@ "Translatealcd" ] }, + "ooui-outline-control-move-down": "Hz’aniy tay mkyahu’ quw binkgan lmlamu’", + "ooui-outline-control-move-up": "Hz’aniy tay mkraya’ quw binkgan lmlamu’", + "ooui-outline-control-remove": "Laxiy quw pin’ubuy binkgan lmlamu", "ooui-toolbar-more": "Pzyux na’", "ooui-toolgroup-collapse": "Cikuy hazi’", "ooui-item-remove": "Laxan", "ooui-dialog-message-accept": "Wal balay", "ooui-dialog-message-reject": "Laxan", "ooui-dialog-process-dismiss": "Ql’iy", + "ooui-dialog-process-retry": "Tlamiy lawziy", "ooui-dialog-process-continue": "Siy lhingiy", "ooui-selectfile-placeholder": "Ini’ wzyagiy na’ Tang’an" } diff --git a/oojs/oojs-ui/package.json b/oojs/oojs-ui/package.json index c06d083..02dbb25 100644 --- a/oojs/oojs-ui/package.json +++ b/oojs/oojs-ui/package.json @@ -1,6 +1,6 @@ { "name": "oojs-ui", - "version": "0.23.1", + "version": "0.23.2", "description": "User interface classes built on the OOjs framework.", "keywords": [ "oojs-plugin", diff --git a/oojs/oojs-ui/php/mixins/FlaggedElement.php b/oojs/oojs-ui/php/mixins/FlaggedElement.php index 1e2b5da..7121660 100644 --- a/oojs/oojs-ui/php/mixins/FlaggedElement.php +++ b/oojs/oojs-ui/php/mixins/FlaggedElement.php @@ -26,7 +26,8 @@ /** * @param array $config Configuration options * @param string|string[] $config['flags'] Flags describing importance and functionality, e.g. - * 'primary', 'safe', 'progressive', 'destructive' or 'constructive' + * 'primary', 'safe', 'progressive', or 'destructive'. The former 'constructive' value was + * deprecated since v0.23.2 and will be removed. It is equivalent to 'progressive' for now. */ public function initializeFlaggedElement( array $config = [] ) { // Properties -- To view, visit https://gerrit.wikimedia.org/r/380848 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I9d1264ebf456cadc7e350c2558a9997a2a0633c4 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/vendor Gerrit-Branch: master Gerrit-Owner: Jforrester <jforres...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits