Page MenuHomePhabricator

Add editing to Wanda
Open, Needs TriagePublic

Description

It would be great to add editing to Wanda, to support any or all of the following kind of calls:

  • Infobox editing ("Change the value of John Smith's 'Phone number' field to 555-1212")
  • More free-form editing ("Please fix the spelling errors in the page 'Notes from meeting 17'")
  • Site-wide editing ("Please change the word 'colour' to 'color' in every page you see it on the wiki")
  • Truly agentic stuff ("Do a Google search to find five Thai restaurants in Sao Paolo, Brazil, and make a bulleted list of their names, with each name as a link, in a new page called 'Thai restaurants in Sao Paolo'")

This could be implemented as a separate extension, but I think it's important enough that it makes sense to add it directly to Wanda, if that's possible to do.

Further thoughts on this:

  • There should be some kind of permission, so that only users with that right could make an editing request - the other would get a permission error.
  • Potentially there could be a checkbox that users would have to check to make an edit, similar to the current "Use public knowledge additionally", maybe called "Edit the wiki with this request". It might be a hack, but it could potentially prevent accidental edits - and it might make it clearer to users whether they have "Wanda editing" rights or not.
  • Every edit would ideally show up as done by the user who made the request - with a commit message that explained the situation. (Unless the user specified what the commit message should be.) But maybe there could be a "Wanda" tag regardless.
  • For any edit, it may make sense for the chatbot to display some kind of preview of what the new page, or the first of the new pages if there's more than one, would look like - and then ask the user "Are you sure?"

Details

Event Timeline

Change #1207228 had a related patch set uploaded (by Techwizzie; author: Techwizzie):

[mediawiki/extensions/Wanda@master] Add editing support in Wanda chatbot

https://gerrit.wikimedia.org/r/1207228

Change #1207228 abandoned by Techwizzie:

[mediawiki/extensions/Wanda@master] Add editing support in Wanda chatbot

https://gerrit.wikimedia.org/r/1207228