Jump to content

Wikifunctions:Status updates/2026-06-05

From Wikifunctions
Wikifunctions Status updates Translate

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

The illustrated encyclopaedia

We are very excited to let you know that starting this week the ability to add images to Abstract Wikipedia is available.

Images are an important part of a modern encyclopaedia. They can complement textual descriptions, and often work across languages. Maps, diagrams, and photographs provide a way to convey spatial relationships, proportions, interactions and to illustrate a topic. Images can make a Wikipedia page be more lively, and make it easier to digest.

A first example function creating an HTML fragment is available here: image thumbnail with alt text (Z36038) Clicking through an image will take you to the Commons page for the image, like on Wikipedia articles.

For now, we only support images: not videos, audio files, maps, 3D models, data tables, or documents. We do support a variety of image formats, including animated PNGs and GIFs. SVG images also work, but their animations are not being displayed.

The example function is available for you to explore, and you're welcome to create others. Documentation is available — still a work in progress, but it covers the current scope and known limitations of this first version. Caption support is not yet available but will be added in a future iteration.

Images that are uploaded to individual language editions of Wikipedia are not available. This is an intentional limitation, and there are no plans on changing that. Only images from Wikimedia Commons will be available, as that is the space to share images across all Wikipedia editions. Also, images from third-party websites will not be available.

If you find issues, please let us know. As with every new capability, given the complex ecosystem we are in, we expect that some things that should work might not. Please report such situations, ideally on Phabricator, so we can fix them.

A first image integrated in an article on Abstract Wikipedia can be seen here: Brač. We are looking forward to seeing you use images in Abstract Wikipedia!

Recent Changes in the software

This week, we re-built how we register the code, which means that the special user rights (like "Connect a Test Case to its Function" or "Create new Abstract Articles") and groups (like "Functioneer"), now will only show up on Wikifunctions or Abstract Wikipedia as appropriate, and not on client wikis (T407066). We also fixed a bug for Wikifunctions that meant that diff pages showed the old revision of a page underneath a diff, rather than the new one. Abstract Wikipedia wasn't affected.

Volunteers’ Corner on June 8

The next Volunteers’ Corner will be on Monday, 8 June 2026 at 17:30 UTC. We plan to address questions from the community and discuss any matters arising. If we have time, we will write a function together. Everyone is welcome to join us on Google Meet.

Every week we present up to one Function in detail, to show off the possibilities of Wikifunctions. The Functions of the Week are usually community submissions. You can submit a Function here. This week’s Function of the Week was written by 99of9 and copyedited by Feeglgeef. Thanks!

The functions main articles and main articles, complex are to be used on Abstract Wikipedia after a section heading to link to a separate article with more information about that subtopic. These links help the reader to quickly navigate to the topics they are most interested in, and are widely used across most language editions of Wikipedia. Our functions are modelled on the English Wikipedia Template:Main, which takes a (usually short) set of articles to link to, optional alternative label strings for those links, and a parameter to denote and slightly change the behaviour of self-references. It returns a short inset referring to this link as the Main article for the subsection.

The full version of our function, main articles, complex is set up to accept three similar inputs and the language in which it should be rendered. The link items are entered as a list of Wikidata item references. The alternate labels cannot simply be strings, because they would not work in all languages. For now, we accept a list of objects, but do not yet support any functionality on these objects. In the future they may be populated with function references or other data structures with the information required to generate alternate labels. The self-reference parameter is a Boolean. The function returns an HTML fragment as required for Abstract Wikipedia. The composition implementation deals with wrapping each language's output with an HTML div with attributes role="note" class="hatnote navigation-not-searchable", so the language sub-functions are just responsible for fetching and formatting the link name.

Usually, the complexity of alternative labels and self-references is unnecessary. So the simpler version of our function, main articles, only requires a list of items and a language as arguments. It wraps the complex version, passing default values for the unused arguments. This version is simpler to use and read in Abstract Wikipedia source code.

Six tests are available, based on the prolific use of this function to structure the abstract article Australia (Q408):

I chose this example as Function of the Week to encourage further language configuration. Supporting simple links with labels in a consistent scheme is a very clearly defined purpose, and is a reasonably easy starting point compared to other natural language functions. It is currently only configured in English and Dutch, so further contributions would be welcome. It would also be interesting to discuss theoretical directions for the currently unused label-configuring argument.

Fresh Functions weekly: 63 new Functions

This week we had 63 new functions. Here is an incomplete list of functions with implementations and passing tests to get a taste of what functions have been created. Thanks everybody for contributing!

A complete list of all functions sorted by when they were created is available.