Last modified: 2011-03-13 18:06:16 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 4235 - Add automatic "newuser" or "olduser" group
Add automatic "newuser" or "olduser" group
Product: MediaWiki
Classification: Unclassified
User login and signup (Other open bugs)
All All
: Lowest enhancement with 1 vote (vote)
: ---
Assigned To: Rob Church
: patch, patch-need-review
Depends on:
  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: ---

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

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.