Page MenuHomePhabricator

Enable control over editing RealName/Email/Nick preferences
Closed, ResolvedPublic

Description

Author: Webbed.Pete

Description:
Sometimes, an external auth module is in complete control of user name, Email,
Nickname. If so, it only causes confusion to allow user editing in the MW
preferences.

Patchfile attached.


Version: 1.10.x
Severity: enhancement
OS: Windows XP
Platform: PC

Details

Reference
bz9219

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:40 PM
bzimport set Reference to bz9219.
bzimport added a subscriber: Unknown Object (MLST).

Webbed.Pete wrote:

Patch that implements suggested enhancement

attachment 070307 pref edit control feature.patch ignored as obsolete

robchur wrote:

I think I'd rather see these implemented as methods to the AuthPlugin interface,
rather than polluting the configuration namespace with more global variables...

Webbed.Pete wrote:

This patch implements as methods in $wgAuth

Your wish is my command :)

Here's a new patch, that implements the same thing via $wgAuth.

attachment 070307 enh-pref edit control-v2.patch ignored as obsolete

(In reply to comment #3)

Created an attachment (id=3320) [edit]This patch implements as methods in

$wgAuthYour wish is my command :)Here's a new patch, that implements the same thing
via $wgAuth.

You might want to check your encoding, there's a couple of strange changes at the
bottom of that..."ævar" is being changed to "ævar" for example, and there are some
other oddities.

Webbed.Pete wrote:

$wgAuth patch update w/ UTF8

Thanks, Phil! I needed to modify my tool settings for MW, defaulting to UTF8
files. (This is my first OSS project that has made the shift.)

Attached file implements $wgAuth version of the feature, and has no UTF8
anomalies.

Attached:

Patch does not apply to the new preferences system, but on the other hand it should be easy to port it.