wp1 icon indicating copy to clipboard operation
wp1 copied to clipboard

Create WP1 selection directly on Wikipedia

Open Best2Two opened this issue 8 months ago • 50 comments

I'd like to propose building a Chrome Extension. The extension would add an "Add to WP1 Selection" button into Wikipedia article pages, and send the article title to the WP1 API when clicked. Happy to discuss scope and implementation details if this is applicable. related: #845

Best2Two avatar Mar 12 '26 23:03 Best2Two

We definitly need a tool to allow to do that. I don't want to rule out a browser extension, but it would be better to have something working out of the box. We should assess first:

  • Improve the mediawiki:collection extension
  • Create a dedicated MediaWiki gadget

kelson42 avatar Mar 13 '26 04:03 kelson42

@kelson42 Thank you for your comment. I would like to work on that also, I am thinking of submitting a GSoC proposal for that

Best2Two avatar Mar 14 '26 14:03 Best2Two

This is a great topic for a proposal! I would especially be interested in a proposal which thoroughly considers and analyzes multiple possible approaches (versus one that does a deep technical design of one),

audiodude avatar Mar 16 '26 11:03 audiodude

Thank you @audiodude!! I am actually drafting a proposal for that topic rn 😁 But do you have any idea if I can submit the "WP1 combinator builder" today, and then submit the "Create WP1 selection directly on Wikipedia" after a very few days or I can't do that? ik that I can submit up to 2 proposals for the same org!

Best2Two avatar Mar 16 '26 12:03 Best2Two

I believe you can submit up to 3 per org actually, but please check the GSoC rules yourself to be sure.

audiodude avatar Mar 16 '26 13:03 audiodude

@audiodude I will check the rules, thank you 🙏🏻

Best2Two avatar Mar 16 '26 13:03 Best2Two

Hello @audiodude @kelson42 Hello, I am trying to draft a PR proposal for the issue since it's not in the ideas list I can't determine the difficulty of the project on my own as shown below from the GSoC application!

Image

So can you tell me explicitly what difficulty I should assign to this idea I know it's referring to the ideas that are already on the ideas list not the ones a contributor think about, but it's safer to ask you :)! Thank you!

Best2Two avatar Mar 18 '26 09:03 Best2Two

@Best2Two I think it's totally on us to assign the time it would take because, the difficulty may be resettled later otherwise there is no possible aspect that the maintainers can tell us how much time to assign explicitly as we ourselves are proposing ideas.

VikramAditya33 avatar Mar 19 '26 03:03 VikramAditya33

@VikramAditya33 thak you. But difficulty can't be resettled later because you need to set it inside the GSoC application. Also time is often related to the project side

Best2Two avatar Mar 19 '26 04:03 Best2Two

@VikramAditya33 thak you. But difficulty can't be resettled later because you need to set it inside the GSoC application. Also time is often related to the project side

I mean maybe the maintainers themselves can resettle the time for a project. Idk else, it is better that a maintainer himself clarifies us.

VikramAditya33 avatar Mar 19 '26 04:03 VikramAditya33

Like I said, a considerate analysis of the tradeoffs between possible technical ways of solving this problem is what I'm most interested in. However I see your point, such an analysis on its own is not actually "proposing a project". Therefore, I recommend that you provide such an analysis, with a preference selected, and then spend the rest of the proposal as usual with that preference as "the project being proposed" (sizing accordingly).

Altnernately, there's nothing saying that multiple potential GSoC contributors can't work together on the first part ("analyzing technical alternatives") and then make their own proposals on how to implement the solution you all come up with. Such a process would go a long way towards demonstrating the capacity to engage in nuanced technical discussion and consider the edge cases and tradeoffs of possible solutions, which is something we definitely value in a potential contributor.

@tejasM17 @arybhatt4533 @Wanderer65 @harshavardhanreddy06 @arnchlmcodes @ziaddevv (please ping anyone I missed)

audiodude avatar Mar 19 '26 04:03 audiodude

Thanks for the ping @audiodude! This is definitely an interesting direction for WP1.

I’m leaning towards exploring the MediaWiki Gadget approach first. As @kelson42 mentioned, having something that works 'out of the box' is a huge plus for user adoption. The main hurdle I see right now is how we’d handle authentication securely compared to a browser extension, which has more local storage flexibility.

I’ll start looking into the technical trade-offs between a gadget vs. a dedicated extension (like API limits and UI constraints on the Wikipedia side) and share some notes here soon. Happy to sync up with others tagged here to avoid overlapping work!

AryaBhatt45 avatar Mar 19 '26 12:03 AryaBhatt45

@audiodude What is the project difficulty for that idea when I submit the proposal? Can we add GSoC label to help other contributors find this idea and work on it?

Best2Two avatar Mar 20 '26 16:03 Best2Two

for that idea

What idea? I specifically outlined two possibilities:

  1. Do all of the tradeoff analysis yourself based on different possible approaches, then based on the one you recommend, base your difficulty on that
  2. Same as above, except the analysis is shared among prospective GSoC contributors.

add GSoC label

I think that label is mostly defunct. Do you have a sense of what it's used for?

audiodude avatar Mar 21 '26 17:03 audiodude

I’ll start looking into the technical trade-offs between a gadget vs. a dedicated extension (like API limits and UI constraints on the Wikipedia side) and share some notes here soon. Happy to sync up with others tagged here to avoid overlapping work!

That sounds like a great start! However, be sure to explore the entire problem space and not limit yourself to the two most obvious solutions that have been suggested so far.

audiodude avatar Mar 21 '26 17:03 audiodude

@audiodude Hello, I was just pointing to add the GSoC label to help other candidates find this issue as it is a good idea for a proposal as you told before. Thanks

Best2Two avatar Mar 21 '26 19:03 Best2Two

Good point @audiodude. Beyond the Gadget and Extension, I'm also looking into a Bookmarklet-based approach or even a Userscript (like Greasemonkey). A Bookmarklet would be interesting because it's cross-browser and requires zero installation or Wiki-admin approval, though it has its own CSP (Content Security Policy) challenges. I'm also considering if we could leverage the MediaWiki Action API to build a 'Send to WP1' tool that lives entirely on our side but 'pulls' data from Wikipedia via a specialized dashboard. Working on a more comprehensive matrix now that covers these alternatives too. Will post it here once it's ready.

AryaBhatt45 avatar Mar 22 '26 01:03 AryaBhatt45

Hi, I am a beginner contributor interested in working on this project for GSoC 2026.

I have basic knowledge of web development and GitHub, and I am eager to learn and contribute.

Could you please guide me on how to get started and suggest beginner-friendly tasks related to this issue?

Thank you!

poorvisnp01-dotcom avatar Mar 22 '26 09:03 poorvisnp01-dotcom

Hey, @poorvisnp01-dotcom . You can check the alpha go label this is an alias for "good first issues". This idea was recently added and it's a new approach for WP1 so my guess is there is no tasks related to it. You don't need to fix issues related to your proposal idea, though! Just fix issues to get familiar with the codebase, that's what Kiwix org said in their GSoC guidelines!

Best2Two avatar Mar 22 '26 09:03 Best2Two

Hi @poorvisnp01-dotcom. For the full "how to get started with GSoC '26" guide, see the Kiwix slack, in the #gsoc channel.

audiodude avatar Mar 22 '26 16:03 audiodude