Hi everyone,
last week we've released OOUI v0.29.0 and identified sequentially two
issues on Beta-Cluster which we've addressed in v0.29.1 next day and
v0.29.2 released yesterday.
Bartosz DziewoĆski took the chance and hardened the JS/PHP comparison
test suite with former hotfix.
Thanks to Pablo Grass of Wikimedia Deutschland and Petar Petkovic for
help in identifying latter of those issues and Ed Sanders for instant
fix!
Key highlights of this release:
- OOUI, similar to MediaWiki, now requires PHP 7
With this change we've also switched code to PHP 7 syntax in order
to make code reusable between MediaWiki and OOUI (see below)
- Deprecated CapsuleMultiselectWidget got dropped, which reduces
widgets CSS by 8% percent after gzipping[0]
Possible breaking changes:
The following changes might cause breaking of your interface, please carefully
consider if they affect your code.
- Drop CapsuleMultiselectWidget, deprecated since v0.27.5. Use
superior TagMultiselectWidget instead.
- TextInputWidget: Drop support for `multiline: true`, deprecated in
0.22.2. Use MultilineTextInputWidget directly.
- Consistently name document listeners[1]
- Formally require PHP 7
-- Use PHP 5.6 variadic function syntax
-- Use PHP 7 "\u{NNNN}" Unicode codepoint escapes[2]
-- Use PHP 7 '??' operator instead of '?:' with 'isset()'[3]
- Upgrade jQuery from 3.2.1 to 3.3.1
You can find details on additional new features & icons, code-level
and accessibility
changes, styling and interaction design amendments, and all
improvements since v0.28.0 in the full changelog[4].
If you have any further queries or need help dealing with breaking
changes, please let me know.
As always, library documentation is available on mediawiki.org[5],
there is comprehensive generated code-level documentation and
interactive demos and tutorials hosted on doc.wikimedia.org[6].
OOUI version: 0.29.2
MediaWiki version: 1.32.0-wmf.26
Date of deployment to production: Regular train (due to DC switchover
next week), starting Thursday 18 October
Best,
Volker
[0] -
https://phabricator.wikimedia.org/T183299#4637565
[1] -
https://gerrit.wikimedia.org/r/#/c/oojs/ui/+/437960/
[2] -
https://gerrit.wikimedia.org/r/#/c/oojs/ui/+/456500/
[3] -
https://gerrit.wikimedia.org/r/#/c/oojs/ui/+/456499/
[4] -
https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md
[5] -
https://www.mediawiki.org/wiki/OOUI
[6] -
https://doc.wikimedia.org/oojs-ui/master/
--
Senior User Experience Engineer
Wikimedia Foundation
volker.e(a)wikimedia.org | @Volker_E