Last modified: 2014-03-15 12:20:39 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 42314 - User groups in user link
User groups in user link
Status: UNCONFIRMED
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
1.21.x
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch, patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-21 06:24 UTC by mwh
Modified: 2014-03-15 12:20 UTC (History)
2 users (show)

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


Attachments
Usergroups as user link classes (655 bytes, patch)
2012-11-21 06:24 UTC, mwh
Details

Description mwh 2012-11-21 06:24:31 UTC
Created attachment 11400 [details]
Usergroups as user link classes

Append user groups as class names in user link.
Useful for styles and scripts.

Use case: user flags gadget in ru-wiki. https://ru.wikipedia.org/wiki/%D0%92%D0%B8%D0%BA%D0%B8%D0%BF%D0%B5%D0%B4%D0%B8%D1%8F:%D0%93%D0%B0%D0%B4%D0%B6%D0%B5%D1%82%D1%8B/%D0%A4%D0%BB%D0%B0%D0%B3%D0%B8_%D1%83%D1%87%D0%B0%D1%81%D1%82%D0%BD%D0%B8%D0%BA%D0%BE%D0%B2
Comment 1 Andre Klapper 2012-11-21 09:09:07 UTC
Hi! Thanks for your patch!

You are welcome to use Developer access
  https://www.mediawiki.org/wiki/Developer_access
to submit this as a Git branch directly into Gerrit:
  https://www.mediawiki.org/wiki/Git/Tutorial

Putting your branch in Git makes it easier for us to review it quickly.
Thanks again! We appreciate your contribution.

If you have any questions, please let us know:
https://www.mediawiki.org/wiki/Communication
Comment 2 Krinkle 2012-11-21 16:30:32 UTC
System usage of user groups is generally discouraged in favour of rights-based identification.

What is the purpose of this gadget?
Comment 3 mwh 2012-11-21 17:33:04 UTC
(In reply to comment #2)
> What is the purpose of this gadget?

For me it's useful in some situations. Such as visual search for some *events* like revert of vandalized edits or something. In our wiki we mark group of users who have shown themselves as attenstion who^W well, you get it. We also plan to mark admin's reverts to prevent edit wars.

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


Navigation
Links