Page MenuHomePhabricator

Add MediaWiki Code2Code Search to translatewiki.net
Closed, ResolvedPublic2 Estimated Story Points

Description

Project information

Name: MediaWiki Code2Code Search
Homepage: https://www.mediawiki.org/wiki/Code2Code_Search
Project link: https://code2codesearch.toolforge.org/
Code repository: https://github.com/ftosoni/mediawiki-code2code-search

  • Source branch: main
  • Target branch: main

OS License: Apache License 2.0
Issue Tracker: https://github.com/ftosoni/mediawiki-code2code-search/issues
Project contact: Francesco Tosoni (user:super_nabla)
Project description:

MediaWiki Code2Code Search is a semantic code search engine designed for the MediaWiki ecosystem. It utilises neural retrieval and the Jina Code Embeddings model to find code snippets based on semantic meaning and intent across more than 2,400 repositories, capturing code functionality rather than relying on traditional string-based pattern matching. It is specifically optimised for low memory consumption to operate smoothly within Wikimedia Toolforge constraints.

NOTE: Section below will be filled by twn staff

Project setup checklist

Project configuration (for translation admins)

Namespace: NS_WIKIMEDIA
Prefix: code2search-
Validators:

  • For <a href=\"https://sloan.org/\" target=\"_blank\">Alfred P. Sloan Foundation</a> - HtmlTagInsertablesSuggester

Support:
Others:

  • Ignore placeholder key.

Concerns

Details

Related Changes in Gerrit:

Event Timeline

Nikerabbit subscribed.

Sorry, this task escaped our triage since it didn't go via our backlog.

Nikerabbit raised the priority of this task from Medium to High.Jul 1 2026, 11:05 AM
Nikerabbit changed the subtype of this task from "Feature Request" to "Task".Jul 1 2026, 3:01 PM
Nikerabbit changed the point value for this task from 4 to 2.Jul 2 2026, 1:07 PM
Nikerabbit moved this task from Needs refinement to S1 2026 July on the LPL sprints board.
Nikerabbit edited projects, added: LPL sprints (S1 2026 July); removed: LPL sprints.
abi_ updated the task description. (Show Details)

We need permission to push changes to the repo. Please give access to the translatewiki user to push changes to the repo.

Change #1307736 had a related patch set uploaded (by Abijeet Patro; author: Abijeet Patro):

[translatewiki@master] Add code2search project

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

There are some qqq messages that seem to repeat the definition. Could these be removed or fixed?

Pinged the maintainer on Telegram to get their attention.

Hi @Nikerabbit @abi_
Really, thanks for your work and commitment. During this period, I have a backlog of work, but I'll get back to it ASAP.

Nikerabbit changed the task status from Open to Stalled.Tue, Jul 14, 12:23 PM

@Super_nabla Any estimate when are you able to work on this?

I'm in Wikimania. This morning I should have some time. If I find a plug to connect my pc I'll have a look at this.

@Nikerabbit hey! Please check again. It should be solved.

Thanks! Can you give commit access to translatewiki too?

Nikerabbit changed the task status from Stalled to In Progress.Tue, Jul 21, 12:44 PM

I've accepted the invite.

The qqq.json cross-references use unprefixed names such as:

{{msg-mediawiki|btn_search}}
{{msg-mediawiki|show_less}}
{{msg-mediawiki|type_all}}

After mangling, the translatewiki message IDs are code2code-search-btn_search, code2code-search-show_less, and so on, and they are in the configured Wikimedia namespace rather than being core MediaWiki messages. These documentation links should be corrected, but that can be done on translatewiki.net directly as well.

Change #1307736 merged by jenkins-bot:

[translatewiki@master] Add Code2Code Search project

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

The project is now active on translatewiki.net: https://translatewiki.net/wiki/Special:Translate/code2code-search

Exports will happen tomorrow.

siebrand updated the task description. (Show Details)