Last modified: 2011-04-14 15:13:15 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 T20113, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18113 - Integrate gadget into standard pref sections
Integrate gadget into standard pref sections
Status: REOPENED
Product: MediaWiki extensions
Classification: Unclassified
Gadgets (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-23 11:34 UTC by Subfader
Modified: 2011-04-14 15:13 UTC (History)
5 users (show)

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


Attachments

Description Subfader 2009-03-23 11:34:44 UTC
For the standard user the gadgets are just a collection of extra settings. He doesn't / shouldn't bother if its a MediaWiki core feature or a user script (while user script is only half correct since it's still enabled by admin / sysops though). The user instead needs to ask himself whatthe heck Gadgets are and why they are not logically sorted under the other sections but srted into h2 sections on the page (see Wikipedia).

MediaWiki:Gadgets-definition should be able to let you list gadgets into the standard sections or create new sections for it.

E.g. "Make text fields (e.g. the edit form) use a sans-serif font instead of a monospace font." would be better placed in the #Editing section. Just my feelings. Example set-up of the Gadgets-definition:

--------------------------------------------
#Editing
* wikEd|wikEd.js
* textareasansserif|textareasansserif.css

#Interface
* exlinks|exlinks.js
* purgeTab|purgeTab.js

#Misc
== library-gadgets ==
* JSL|JSL.js
--------------------------------------------

The checkboxes for wikEd and textareasansserif would be added at the end of the Editing section
Interface would be a new section at the end (but before the standard Misc imo) including the stated two Gadgets.
At the end of the standard Misc section a new h2 would be added with JSL below.
If no #section was defined in the Gadgets-definition, create #Gadgets as is handled atm.

Makes sense to me ;)
Comment 1 Derk-Jan Hartman 2010-04-30 23:07:48 UTC
This has long been implemented as far as I know.
H2 headers can be defined with

==browsing-gadgets==

Which will then use the contents of MediaWiki:Gadget-section-browsing-gadgets, as the header for the particular section.
Comment 2 Derk-Jan Hartman 2010-04-30 23:10:01 UTC
Doh, I suddenly understand what your intention is. I though you meant the standard sections of the Gadgets list, but you mean the sections of all the preferences, so "User profile, Appearance, Date and time, Editing, Recent changes, Watchlist, Search options, Misc"
Comment 3 Subfader 2010-05-01 21:22:44 UTC
Yep. But I see it might cause trouble integrating them and that may not be worth it. But the fact still stands: The user shouldn't be bothered.

"Don't make me think".
Comment 4 Helder 2011-04-03 20:29:44 UTC
Until this is solved, there is a workaround for this on Wikimedia Commons. See:
* http://commons.wikimedia.org/w/index.php?title=MediaWiki%3ACommon.js&diff=prev&oldid=46088059
* [[commons:Template:Gadget-desc]]
Comment 5 Subfader 2011-04-03 21:06:07 UTC
Thanks. I'm not sure how to use the options on http://en.wikipedia.org/wiki/commons:Template:Gadget-desc
Can you point me to a gadget on http://commons.wikimedia.org/wiki/Special:Gadgets which uses this option?
Comment 6 Helder 2011-04-03 21:50:40 UTC
(In reply to comment #5)
> Thanks. I'm not sure how to use the options on
> http://en.wikipedia.org/wiki/commons:Template:Gadget-desc
> Can you point me to a gadget on
> http://commons.wikimedia.org/wiki/Special:Gadgets which uses this option?

The workaround is used (at least) by these options:
[x] Use the old-style upload form layout. 
[x] Use old-style edit tools 
which are available on section "Editing" of [[commons:Special:Preferences]]
(http://commons.wikimedia.org/wiki/Special:Preferences#preftab-3)

FYI: The feature was implemented after discussed in this topic:
http://commons.wikimedia.org/w/index.php?title=MediaWiki_talk:Common.js#Easy_configuration

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


Navigation
Links