Jump to content

Extension talk:Wanda

Add topic
From mediawiki.org
Latest comment: 3 months ago by Yaron Koren in topic Translatewiki not working

Custom "Name" on UI

[edit]

Hello,

Thanks for this extension wich make easy to use LLM on mediawiki and keep semantic and elasticsearch advantages.

If possible, it will be usefull to rename it according to the sitename or customizable to fit in on local context instead of "Wanda AI assistant".

In my version install, i have "⧼wanda-name⧽" may you chack if there is a mistake on project naming of extention?

Regards! Willyedoo (talk) 14:33, 13 October 2025 (UTC)Reply

Sorry about those problems. I believe both of these are fixed now: "Wanda AI Assistant" is no longer hardcoded, so it can be changed; and there are now values for the "wanda-name" message, so it shows up correctly in Special:Version. Yaron Koren (talk) 14:36, 23 October 2025 (UTC)Reply

ReindexAllPages.php error

[edit]
ReindexAllPages.php error
  • mediawiki-1.43.5
  • PHP 8.3.26
/var/www # php maintenance/run /var/www/extensions/Wanda/maintenance/ReindexAllPages.php
PHP Deprecated:  Use of MediaWiki\Content\ContentHandler::getContentText was deprecated in MediaWiki 1.37. [Called from MediaWiki\Extension\Wanda\Hooks\PageIndexUpdater::updateIndex in /var/www/extensions/Wanda/includes/Hooks/PageIndexUpdater.php at line 143] in /var/www/includes/debug/MWDebug.php on line 385
Deprecated: Use of MediaWiki\Content\ContentHandler::getContentText was deprecated in MediaWiki 1.37. [Called from MediaWiki\Extension\Wanda\Hooks\PageIndexUpdater::updateIndex in /var/www/extensions/Wanda/includes/Hooks/PageIndexUpdater.php at line 143] in /var/www/includes/debug/MWDebug.php on line 385

Atyu30 (talk) 08:29, 14 October 2025 (UTC)Reply

I think this bug was already fixed last week - if you get the latest code, it should hopefully go away. Yaron Koren (talk) 17:15, 16 October 2025 (UTC)Reply
After updating from https://gerrit.wikimedia.org/r/mediawiki/extensions/Wanda, it can run now, but the retrieval performance is not very good. Is there any additional configuration needed?
Set up exactly according to https://www.mediawiki.org/wiki/Extension:Wanda
elasticsearch stats:
health status index                                     uuid                   pri rep docs.count docs.deleted store.size pri.store.size
green  open   wikidb_general_first                      AVPPGXNGRguFz5rnmjl1zQ   1   0      55245          410    108.2mb        108.2mb
yellow open   mediawiki_content_1760666642              xRYxtnuVRJ-DD_uo1GkPCg   1   1     120923        39351      1.9gb          1.9gb
green  open   wikidb_content_first                      uxvdiufUQ4iDjaLBILeq9w   1   0      62457        20951     12.3gb         12.3gb

Atyu30 (talk) 10:41, 17 October 2025 (UTC)Reply

Can you expand a bit on "retrieval performance" ? Do you see the wrong results or just no results at all always ? Because, answering capability and its accuracy depends very much on the model and provider you use Techwizzie (talk) 17:14, 6 November 2025 (UTC)Reply

several articles in context

[edit]

Am I correct that Wanda only takes context from one article?

And then forwards this context with the user's question to LLM.

Is it possible to expand this context to 3-5 articles? Derek Jones Smr (talk) 18:01, 5 November 2025 (UTC)Reply

You are correct, and there is a Phabricator task to deal with this, here. Yaron Koren (talk) 18:34, 5 November 2025 (UTC)Reply

Wanda vs WikiChat & Wiki Community proposal

[edit]

How does Wanda compare to WikiChat?

Could it be used to do the things in the potential applications listed in this wish in the Wikimedia Community Wishlist?: W442: Adopt Wikipedia-trained WikiChat LLM & make it learn about help pages & categories to help newcomers.

If you're interested in Wanda and increasing its adoption, I suggest you keep track of that wish. It's not yet open for voting. Would it be better to make the wish a bit broader and change the title to remove "WikiChat"? Maybe Wanda or another AI model could also be used for things described there. Lastly, a link to the extension could be added to the wish if it could be used for implementing what's described there (such as helping users find categories and help pages). Prototyperspective (talk) 19:33, 11 November 2025 (UTC)Reply

WikiChat is for Wikipedia specifically, while Wanda is for whatever wiki it's installed on. Your wish/proposal seems to be about using AI to help editors, while Wanda uses AI to answer questions about the content, i.e. to help readers. Although there are Wanda spinoff extensions, WandaScore and WandaScribe, that do the former, and there could be more in the future. Yaron Koren (talk) 02:50, 12 November 2025 (UTC)Reply
Thanks for the explanations.
  • I wonder if Wanda is for whatever wiki it's installed on, wouldn't it also work with Wikipedia and Commons?
  • The wish is about adopting a LLM and then adjusting it for further applications. WikiChat already answers questions about the content so I specified one of the or the main missing domain of functionalities that would be added: helping editors. Moreover, the help/guidance/answer about categories for example is not just for editors but also for readers (so they can quickly find the category about exactly what kind of things they're looking for even if they don't have much experience with categories or searching).
  • So far it does seem like theoretically Wanda could be adopted or spinoffs be created that are 1. integrated into Wikimedia projects like English Wikipedia and 2. also give answers about things on meta, help, category, and talk pages. If that's incorrect, please let me know. I think I'll add a note about Wanda to the linked wish.
Prototyperspective (talk) 23:43, 12 November 2025 (UTC)Reply
That's true, if Wanda were ever to be installed on Wikipedia or Commons, then it could potentially handle any of their needed AI functionality. I don't think Wanda can currently handle questions like "What are the recommended categories for this page?", but potentially it (or a spinoff extension) could in the future. That's probably quite a bit more likely than this extension ending up on a Wikimedia site! Yaron Koren (talk) 14:14, 13 November 2025 (UTC)Reply
Well it may be better to focus first of all on the potential of it to help newcomers when they have questions about things that are answered in (to them) hard-to-find meta pages, help pages, and VillagePump discussions etc. The application for categories may be more difficult to implement.
WandaScore and WandaScribe are not the kind of tools I'm interested in or that relate to the wish. It seems like only Wanda can be used with an open source AI (and only Ollama) which is not the case for WikiChat so I was thinking of renaming the wish somehow (maybe also changing its scope) e.g. by changing WikiChat to WikiChat/Wanda or by not naming any software in the title and possibly even removing the "Adopt", leaving open the possibility of building something. What do you think of that? I don't see why it would be so unlikely for an improved version of this extension (or a fork of it) to be integrated in Wikimedia sites, maybe starting with some smaller language Wikipedia but you could elaborate so maybe these issues could be addressed or considered (in the wish or otherwise). Prototyperspective (talk) 19:51, 5 February 2026 (UTC)Reply
Well, there's a general strong aversion among WMF developers to installing extensions developed outside the WMF on Wikimedia sites. Although it should be noted that that would prevent WikiChat from being installed as well! So it might make sense to just change it to "LLM", and leave out any names, since presumably the key thing you want is the LLM, not necessarily a specific solution. On the other hand, WMF developers (and Wikipedia editors) have so far had a strong aversion to LLMs in general, so it might not matter that much what you write. On the other other hand, it's your wish, so feel free to write whatever it is you actually want. Yaron Koren (talk) 20:30, 5 February 2026 (UTC)Reply
Thanks for the explanations! Btw, you may be interested in joining en:Wikipedia:WikiProject AI Tools and would be very welcome there. Prototyperspective (talk) 21:27, 5 February 2026 (UTC)Reply
Added this mockup to illustrate some of the ideas:
At bottom right you can see an LLM Editor Assistant on the Homepage dashboard that makes it easy for newcomers to find help / meta pages etc;
Also shown: an option to ask it by entering q + question into Wikipedia search
The proposal currently is at https://meta.wikimedia.org/wiki/Community_Wishlist/W442 (voting open)
Prototyperspective (talk) 23:16, 26 February 2026 (UTC)Reply

Translatewiki not working

[edit]

It seems the translatewiki integration does not work. I cannot find anything at

https://translatewiki.net/w/i.php?title=Special%3ATranslate&group=ext-wanda

Krabina (talk) 16:54, 10 April 2026 (UTC)Reply

That's strange... I created a Phabricator task for this. Yaron Koren (talk) 21:06, 10 April 2026 (UTC)Reply
They fixed the problem - it was due to the "wanda" extension group name being the same as the "wanda" extension name. Yaron Koren (talk) 15:32, 16 April 2026 (UTC)Reply