Page MenuHomePhabricator

Special:Student profile lists articles based on the logged in user, not the student
Closed, ResolvedPublic

Description

The student profiles at Special:Student/USERNAME have a section that is supposed to list the articles being worked on by that student. However, what gets displayed (including the input box to add an article) is based on the user who is logged in, not the user whose profile is being viewed.

When a profile is viewed while logged out, no articles appear at all. If a user is logged in, viewing a profile will show what appears to be the subset of articles they are working on *for the classes in which the profiled student is enrolled*. The "Add an article" button will add articles *for the logged in user* rather than the student, but only if that user is enrolled in one of the same courses as the profiled student.

No controls (such as course deletion, or adding articles) are necessary on the student profile page, and it should simply display the articles that student is working on (and which course that article is for).

Alternatively, it might make sense to simply disable the student profile page, since it is not very useful. (Ad, do you have any objections to that?)


Version: unspecified
Severity: normal

Details

Reference
bz62735

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:56 AM
bzimport set Reference to bz62735.
bzimport added a subscriber: Unknown Object (MLST).

There are multiple ways to resolve the bug, disabling is option. Credo: less is more. One of the quests of experienced users is to get some metrics out of ep activity. Where to look for metrics?

Thanks Ad. To repeat for others what I told you by email:

The only metric available right now is Special:StudentActivity. (There were some other metrics initially, but these had to be disabled because of severe performance problems.)

Metrics is a big need for everyone using the the extension at this point, and it's something that we plan to address by making it easier to run Wikimetrics for students. Currently, we're developing a more general system for managing outreach campaigns, and the the first step is a system for creating and managing groups of users, along with a way for MediaWiki and Wikimetrics to talk to each other. So the idea will be that you can use Wikimetrics to specify the groups (such as a course or a set of courses) that you want metrics about, and then run whatever Wikimetrics queries you want to for that group.

If you're interested in the details as they emerge, see:

(In reply to Sage Ross from comment #0)

Alternatively, it might make sense to simply disable the student profile
page, since it is not very useful. (Ad, do you have any objections to that?)

Done. \o/ https://gerrit.wikimedia.org/r/#/c/121107/4