Last modified: 2011-03-13 18:06:16 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 T6235, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 4235 - Add automatic "newuser" or "olduser" group
Add automatic "newuser" or "olduser" group
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
User login and signup (Other open bugs)
1.6.x
All All
: Lowest enhancement with 1 vote (vote)
: ---
Assigned To: Rob Church
: patch, patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-12-09 16:38 UTC by Rob Church
Modified: 2011-03-13 18:06 UTC (History)
1 user (show)

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


Attachments
Patch as described above (2.98 KB, patch)
2005-12-09 16:39 UTC, Rob Church
Details

Description Rob Church 2005-12-09 16:38:57 UTC
Patch to follow adds a user to "newuser" or "olduser" automatically, if logged
in; depends upon User->isNewbie(). Also replaces the junk in Special:Move with
proper user rights detection, as an example of how this might be useful -
presently, you can't allow new users to move using $wgGroupRights, due to
hard-coding in. Oh, and it fixes a comment, too. :)
Comment 1 Rob Church 2005-12-09 16:39:27 UTC
Created attachment 1165 [details]
Patch as described above
Comment 2 Rob Church 2005-12-09 16:40:38 UTC
Forgot to mention that it's against User.php (for the group bit),
SpecialMovepage.php (for the rights detection) and DefaultSettings.php (to add
backwards-compatible prevention of moving by new users, by default).
Comment 3 Rob Church 2005-12-09 16:53:22 UTC
Avar raised a valid point; this chucks up yet another medium-large SQL query for
every hit. Performance wise, I'd say not brilliant. Might just abandon it unless
I can think of a better way.
Comment 4 Daniel Kinzler 2005-12-12 00:08:38 UTC
I think this feature would give us a clean way to define rights of "new" vs.
"old" users. What is actually missing is a decent and efficient way to determine
if a user is "new". For this purpose, I would suggest to record the date of
creation and date of first edit with every user account. Possibly plus an edit
counter (or even an edit counter per namespace, as avar suggested).

IMHO, this bug should stay open but be blocked by a separate feature request for
the edit tracking as described above.
Comment 5 Rob Church 2006-03-27 20:43:50 UTC
The original basis for this request has been dealt with following the
introduction of the autoconfirmed group.

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


Navigation
Links