User Preference descriptions - Where stored & changed, and where documented? - How to mark the "defaults"?

Jump to: navigation, search

I suggested at en.wiki, that default preferences should be marked, and I'm bringing the synopsis here.

Ideally, we mark the defaults within mediawiki itself, so that all wikis can benefit. (Versus, us hacking together a custom fix at every language/project).

It would be best if they were all marked within the Special:Preferences page/tabs itself, and automagically updated when a sysop changes the default itself (rather than, any change requiring a separate edit to a documentation page).

A few defaults are mentioned at m:Help:Preferences and mw:Help:Preferences and etc, but not many, and the docs are not always up-to-date.

There are no specific bug-tickets that I can see. However bugzilla:17188, bugzilla:18961, and bugzilla:33327 ask for, or hint at this, in the comments.

Context / rationale:

Marking ALL the Special:Preferences defaults, on every tab, would be helpful. There's the "Restore all default settings" button-of-doom which wipes out all our customizations (except email-address, afaik), but often I'll want to make sure that I'm seeing a page the way most other editors do. Eg. setting thumbnail size defaults. I know I've changed a few options at Special:Preferences#mw-prefsection-editing, but I'm not sure which...

Options, for the visual indicator of "default":

  • Markers. (Placed either next to the check-box/form-field, or after the description. Needs to support true/false checkboxes, and strings.)
  • A mouse-over tooltip. (Downside: Requires user-discovery. Also hard to see at-a-glance how many items I've changed from default.)

Documentation:

I searched for 30 minutes, but got very lost. I was hoping to find a page that explained where the descriptions are kept. Manual:$wgDefaultUserOptions seems to contain info on changing the values, but not the descriptions. Possibly it's not documented anywhere? (Or possibly I've just had insufficient coffee and/or experience with mediawiki...).

Hope that helps!

Quiddity (talk)18:16, 10 July 2013

Hi!

I would not take a mouse over tooltipp - not visible enough. And imagine you have a list with say 10 items; how long do you think the average user will invest until he found the default? No. A text "(default)" sounds nice.

But please don't add it to all and every field there: Yes, an empty name and e-mail-address are the default... ;-)

I think the right place to actually get it done would be an issue in bugzilla or even better the corresponding patch in Gerrit. :-)

88.130.81.6718:35, 10 July 2013
 

I'm looking for those default settings as well. I noticed I had a (40 alfanum ) watchlist token, but I can't remember ever having enabled that feature and I don't use RSS feeds.

Ssscienccce (talk)14:48, 15 July 2013
Edited by 0 users.
Last edit: 18:50, 15 July 2013

The random watchlist token example is automatically created. Everyone gets one. The feature is safely ignorable.

Quiddity (talk)18:50, 15 July 2013

I know that's an example (changes when you refresh the page), but I meant the one in the edit field. Anyway, I removed it and saved my settings, but I still don't know if I entered it in the first place.

Ssscienccce (talk)09:26, 19 July 2013
 
 

I found 6 descriptions at Mediawiki:Tog-..., but where are the rest? (I assume they're buried in the mediawiki code itself, but what sections/keywords, so that I can fill out a better bugreport?)

And, where should I request input next (I'll just post a link pointing to this thread), given that my question here, and at en.wiki, and at bugzilla:17188, haven't been responded to? Thanks :)

Quiddity (talk)18:14, 23 July 2013

Grepping the source turns up includes/Preferences.php which has about 40 messages that begin with 'tog-'. You can find a few more starting at line 647 of languages/messages/MessagesEn.php.

If all you want to do is modify the labels, then add an "i18n" tag to your bug report and get some input from User:Nikerabbit, User:Siebrand or other people on the i18n team.

MarkAHershberger(talk)20:21, 23 July 2013
 

I saw this when it got moved to this page. I don't know what the exact UX might be, but I've definitely seen other preference pages where the default is shown, and I think this is a good idea. Has anyone filed a bug yet?

Superm401 - Talk03:59, 16 June 2014

Currently, there are just the 3 bugs I linked in the top post, which either mention or get close to the fundamental issue.

As mentioned above, Commons adds d markers, but only for the Gadgets section, and they have to be manually kept up-to-date. We really want/need something that is automagically updated, when a site setting is changed. I don't understand the technical aspects well enough to file a bug for that, or to flesh out the idea beyond what I wrote above.

(Sidenote: I also added this issue as a crucial "High level requirement" (#3) at Requests for comment/Redesign user preferences, all of which could use more feedback/brainstorming/assistance over the coming weeks and months. :)

Quiddity (talk)05:20, 17 June 2014

The "d" is not a Commons thing, it comes from the extension itself when a gadget is defined as default.

P.s.: Only two other watchers for this page and 50 % of them replied to the moved thread, an incredible success rate. ;-)

Nemo06:16, 17 June 2014