Last modified: 2014-02-18 19:42:49 UTC
Created attachment 12822 [details] A working version of the filtering box (loading might need refactoring) It's already a problem that there are to many gadgets to quickly locate the ones you want. Sections help but they are not very strict and meaningful. Also more gadgets for even small stuff could be added be then user would never find them... We (on pl.wiki) even had a questionnaire to remove the least used gadgets. So. I think a simple filter input would help solve this issues. I'm attaching an add-on script that allows filtering as the user types leaving sections in place. User can filter by any part of a word in description and even by two parts of a word in any order ("nav po" should find Navigation popups). I've tested this on English and Polish Wikipedia so hopefully it should work without problems, but you might want to put GadgetFilter.init() in some more appropriate place.
Neat. :-) Bugzilla attachments for code are deprecated in favor of [[mw:Gerrit]] changesets. Do you have any interest in submitting a Gerrit changeset for this feature? If not, no big deal. We'll get it into Gerrit one way or another.
Hi! Thanks for your patch! You are welcome to use Developer access https://www.mediawiki.org/wiki/Developer_access to submit this as a Git branch directly into Gerrit: https://www.mediawiki.org/wiki/Git/Tutorial Putting your branch in Git makes it easier to review it quickly. Thanks again! We appreciate your contribution.
If I remember correctly, this is also something that Roan and Krinkle were working on for Gadgets2. But Gadgets2 has been indefinitely postponed due to both working on more important projects. This seems useful as an intermediate solution.
I'm sorry, I'm not into that right now. I don't have latest MW installed and so cannot even test final version of this. Maybe when VE will be out I will be able to move to latest at work and have more time to apply for dev. access. In the mean time feel free to use attached JS to create a patch. I guess I forgot to mention so you can treat it as licensed under CC-BY/MIT or any similar.
[Attach code is not a patch; hence removing keywords]