Jump to content

Wikifunctions:Project chat/Archive/2024/08

From Wikifunctions


User:WikiLambda_system not marked as bot

Tracked in Phabricator:
Task T372009

I propose we add the bot flag to this account so the edits can be filtered easily in the recent changes page. Right now when I filter for human edits this account pollutes the edit log and real human edits are difficult to spot. So9q (talk) 09:17, 5 August 2024 (UTC)

It already has the bot flag: [1] --Ameisenigel (talk) 18:18, 5 August 2024 (UTC)
In that case there is a bug somewhere. The edits show up even when I select the filter "edits made by humans" -> human (not bot). Can someone reproduce? So9q (talk) 14:46, 6 August 2024 (UTC)

WikiProjects for each language to support language user groups?

I had a quick chat with @Denny who said it was up to the community how they might want to organize collaboration pages, such as perhaps using WikiProjects. The question I have would be where the pages would actually live in some hierarchy under wikifunctions.org/ ?

  1. under /wiki/WikiProject: for example such as the Mandarin (lang:cmn) user group - https://wikifunctions.org/wiki/Wikiproject:cmn
  2. other resource path ideas?

I imagine that under a particular language that maybe the groups might also want partitioning of subprojects, just like they do on other Wikis, so maybe https://wikifunctions.org/wiki/Wikiproject:cmn_2024_tasks basically prefixing always with the ISO 639-3 code and maybe groups would also want ISO 639-1 levels as well such as https://wikifunctions.org/wiki/Wikiproject:zh_2024_tasks ?

Thoughts? -- Thadguidry (talk) 13:19, 8 August 2024 (UTC)

I don’t know. Wikifunctions:Human languages, perhaps? GrounderUK (talk) 14:00, 8 August 2024 (UTC)

Using Wikifunctions on Wiktionary

The English Wiktionary runs a lot of complex code to render pages, which is currently run from a complex network of Lua modules. I'm wondering whether it will be possible one day to integrate Wikifunctions with the site in order to improve performance and maintainability. However, to do this we would need:

  • The ability to write high-performance functions — ideally in a compiled language like C, not Python
  • The ability to call functions from within a template (say {{#invoke:wikifunction|Z12345|{{{input}}}}} or mw.wikifunction(Z12345, input) within Lua)
  • The ability to write reusable code, such as being able to create a helper function Z98765 and use it inside the other functions Z98766, Z98767, etc. with minimal performance overhead
  • (Ideally) the ability to access external data in a way equivalent to the mw.wikibase or mw.title APIs in Lua, and perhaps even directly query the database in a way similar to https://quarry.wmcloud.org/

Are these features which are planned in the forseeable future? Ioaxxere (talk) 18:08, 13 August 2024 (UTC)

Please note that Wikifunctions has a very aggressive caching strategy and the functions should produce reproducible output.
A return from an in memory cache is faster than any C implementation.
The language doesn't matter with reproducibility and caching! 😀 So9q (talk) 07:22, 14 August 2024 (UTC)

Statistics for Wikifunctions Z-Object

A few months ago and now since the Wikimania Hackathon and afterwards at home I try to parse the Wikifunctions dump to extract information out of it. What statistics about Z-Objects in Wikifunctions are from your point of view useful. What statistics do you wish. As I am now able to extract information out of the dump I want to generate Lists. You can find the source code for it here. It is a program written in COBOL. I want to write a program to process the output more in the next weeks and I if you have specific wishes about what should be generated out of the dumps content you can write me. Then I can try to help with it. Hogü-456 (talk) 20:26, 15 August 2024 (UTC)

It would be nice if the WF:WikiProject Maintenance page was updated, perhaps with information about the implementations as well. -- ScienceD90 (talk) 13:47, 16 August 2024 (UTC)
Wikifunctions:Catalogue of functions and implementations is more up-to-date but doesn’t cover tests. (Also, please see phab:T359672.) GrounderUK (talk) 14:08, 16 August 2024 (UTC)

Request for creating Mediawiki:Recentchangestext

Hi everyone, since users often need to navigate quickly from the Recent Changes page, I've created Template:Recentchangestext as a starting point. It may need a review to improve it, so please take a look. If the community agrees, a sysop can include the template in MediaWiki:Recentchangestext. If the English version is well-prepared, we can consider supporting translations into other languages too. Thanks! Aram (talk) 20:37, 24 August 2024 (UTC)

I think if you're going to add content there, you need to have some very strict rules. For example, it should take up a maximum of one line and have maybe three or four links, and be aimed at people who use Recent Changes (i.e. existing community members who are patrolling content).
Your current proposed draft is absolutely huge, making RC totally impossible for people with mobile devices, which is going to be ~100% of all speakers of some of our languages. It replicates most of the sidebar links that people have anyway – if you think we should add links to the sidebar, that's a totally reasonable request but shouldn't be done on RC only. :-) It adds a bunch of links only relevant to people who are new to Wikifunctions, for whom visiting RC is a bad idea (and very unlikely).
Rather than start with a draft, I think this should start with a consensus as to what problem we want to solve with this? Jdforrester (WMF) (talk) 13:27, 26 August 2024 (UTC)
Hi Jdforrester (WMF), Thank you for your reply. I’ve actually created a starter page with some important links that I could find, but I’m sure it needs review to improve it as it may not be complete right now. I’m not sure if I can write some rules to make it limited. Regarding the size, if you’re referring to the font size and spacing, we can edit the Template:Recentchangestext/styles.css to reduce the element sizes and/or shorten the labels. The sidebar already has a lot of links. RC has a Use non-JavaScript interface option which is enabled by default and thus RC has a link to show/hide Mediawiki:Recentchangestext content. However, if that option is disabled, there is currently no link to hide it. To be honest, I think this page on RC is important; I am one those users who are sticked to RC page and don't visit other pages like Main page to navigate elsewhere, and there may be many users like me. Finally, I just wanted to make a difference on Wikifunctions and thanks. Aram (talk) 22:08, 26 August 2024 (UTC)

Wikifunctions & Abstract Wikipedia Newsletter #169 is out: Limits on Name and Description Lengths

There is a new update for Abstract Wikipedia and Wikifunctions. Please, come and read it!

In this issue, we discuss the introduction of more stringent limits on the length of object names, input names, and descriptions, and we take a look at the latest software developments.

Want to catch up with the previous updates? Check our archive! You might be interested in the launch of our "About" widget, a summary of our experience at Wikimania 2024, or the refinement of WasmEdge.

Also, we remind you that if you have questions or ideas to discuss, the next Volunteers' Corner will be held on September 2, at 17:30 UTC (link to the meeting).

Enjoy the reading! -- User:Sannita (WMF) (talk) 08:04, 30 August 2024 (UTC)

This section was archived on a request by: Sannita (WMF) (talk) 15:42, 26 September 2024 (UTC)