Menu

Post image 1
Post image 2
Post image 3
Post image 4
Post image 5
1 / 5
0

Introducing Mediawiki Code2Code Search: Semantic search to find code by under-the-surface similarity

Reading 0:00
15s threshold

The Telugu user interface of MediaWiki Code2Code Search Have you ever tried to find a specific function in a MediaWiki extension but only vaguely remembered what it does, not its name? If so, a new tool might help. It’s called MediaWiki Code2Code Search, and it’s a bit different from what we’ve had before. It uses semantic search – think “search by meaning, not just by exact wording” – to help you find code snippets across our repositories by representing them as mathematical vectors. It’s called “Code2Code” because you search with a piece of code to find other code: no need to write a natural language query. You paste a piece of code that captures some behaviour, and the tool attempts to find similar code across MediaWiki extensions and the core, even if the programming language, coding style, variable names or exact syntax differ. This post is thus for MediaWiki extension developers, gadget authors, and anyone who navigates our shared codebase.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More