Page MenuHomePhabricator

Create a user script to search The Wikipedia Library from Wikipedia's search forms
Open, Needs TriagePublic

Description

As suggested by @Samwalton9 and @Astinson, create a user script that adds a "Search in The Wikipedia Library" link next to Wikipedia's Vector 2022, Vector Legacy and Special:Search search forms.

Event Timeline

You can install and try the user script by adding the following line to your https://en.wikipedia.org/wiki/Special:MyPage/common.js file:

mw.loader.load( '//meta.wikimedia.org/wiki/User:Diegodlh/search-wpl.js?action=raw&ctype=text/javascript' ); // Backlink: [[:meta:User:Diegodlh/search-wpl.js]]

@diegodlh: Thanks for participating in the Hackathon! We hope you had a great time.

  • If this task was being worked on and resolved at the Hackathon: Please change the task status to resolved via the Add Action...Change Status dropdown, and make sure that this task has a link to the public codebase.
  • If this task is still valid and should stay open: Please add another active project tag to this task, so others can find this task (as likely nobody in the future will look back at the Hackathon workboard when trying to find something they are interested in).
  • In case there is nothing else to do for this task, or nobody plans to work on this task anymore: Please set the task status to declined.

Thank you,
Phabricator housekeeping service

Tool is cool, but it seems not entirely compliant with https://www.mediawiki.org/wiki/Recommendations_for_gadget_developers_on_Wikimedia_wikis

Thank you for your feedback, @Lofhi. This was meant to be a quick prototype, but I agree it would be good to have it meet the Gadget and User script recommendations more tightly. I haven't had the chance to check them in detail yet.

If this task is still valid and should stay open: Please add another active project tag to this task, so others can find this task

@Samwalton9, do you think it would make sense to tag this task with The-Wikipedia-Library until me or somebody else has the time to make the necessary changes?