Last modified: 2014-02-18 19:42:49 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T53147, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51147 - Add filtering input for gadgets to easily find them in Preferences
Add filtering input for gadgets to easily find them in Preferences
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Gadgets (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-11 00:01 UTC by Nux
Modified: 2014-02-18 19:42 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
A working version of the filtering box (loading might need refactoring) (2.74 KB, application/x-javascript)
2013-07-11 00:01 UTC, Nux
Details

Description Nux 2013-07-11 00:01:36 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.
Comment 1 MZMcBride 2013-07-11 00:06:06 UTC
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.
Comment 2 Andre Klapper 2013-07-11 08:42:58 UTC
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.
Comment 3 Derk-Jan Hartman 2013-07-11 09:06:36 UTC
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.
Comment 4 Nux 2013-07-11 22:05:02 UTC
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.
Comment 5 Andre Klapper 2014-02-18 19:42:49 UTC
[Attach code is not a patch; hence removing keywords]

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links