Abstract Wikipedia/Updates/2023-06-07
◀ | Abstract Wikipedia Updates | ▶ |
Multilingual editing
With the new front end code, we landed the new default component that we described two weeks ago. We also added a new experience for adding labels in different languages.
You may remember the previous experience:
The label box was loosely inspired by the Wikidata label box, and would show some or all existing labels.
The new label box, or rather, the “About” widget, is a "widget", and thus goes into one of our side columns, if the screen is big enough. This uses the space on the screen of desktop and tablet users much more efficiently.
If you want to see the other languages, you click on the languages box at the bottom, triggering an overlay with the labels in the other languages.
Clicking on a given language, or on add language, takes you directly to the editing mode.
This interface for editing labels, aliases, and brand new short descriptions is now available on all object pages except for functions, which for now have a different flow implemented (because of the need to label the arguments); we plan to add short descriptions to functions soon.
Thanks Amin for the great designs and Geno for leading the development of the UX designs.
Removed code is best code
Once every quarter, the team has a fix-it week. Here’s one result from the last fix-it week: since the new front end code was enabled, we had some unneeded code floating around. It took a few days to update all places that relied on the old code, but now the code that was not needed anymore was removed. Here’s the favorite patch!
This single patch removed an impressive 7,467 lines of code! Congratulations for resolving the massive clean-up task!