Abstract Wikipedia/Updates/2023-06-07

Abstract Wikipedia Updates Translate

Abstract Wikipedia via mailing list Abstract Wikipedia on IRC Wikifunctions on Telegram Wikifunctions on Mastodon Wikifunctions on Twitter Wikifunctions on Facebook Wikifunctions on YouTube Wikifunctions website Translate

Multilingual editing

edit

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:

 
Labelbox of Wikifunctions Beta as of Phase Eta

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.

 
About widget for Wikifunctions, as of Phase Theta

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.

 
Displaying labels in other languages in Wikifunctions Phase Theta

Clicking on a given language, or on add language, takes you directly to the editing mode.

 
Editing the data from the About widget for Wikifunctions, as of Phase Theta

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

edit

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!