Last modified: 2014-08-07 16:53:36 UTC
Currently, the Education Program student log has entries for when a student gets removed from a class by another user. They look like this: 17:01, 22 February 2013 Ajungle (talk | contribs) removed Auserabuser as student from course Intercultural Communication But the removed user is not linked. It would make it slightly easier to investigate removal instances if the removed usernames were linked.
As far as I remember, this is not facilitated by the MW logging system
(In reply to comment #1) > As far as I remember, this is not facilitated by the MW logging system Surely this is pretty much done the same way for block entries etc..? Using getTarget()? 07:23, 26 February 2013 Bongwarrior (Talk | contribs | block) blocked 24.69.202.62 (Talk) with an expiry time of 2 days (anonymous users only, account creation disabled) (Vandalism) (unblock | change block) 'blocklogentry' => 'blocked [[$1]] with an expiry time of $2 $3', public function getTarget() { $namespace = $this->row->log_namespace; $page = $this->row->log_title; $title = Title::makeTitle( $namespace, $page ); return $title; } public function getTarget() { $namespace = $this->row->rc_namespace; $page = $this->row->rc_title; $title = Title::makeTitle( $namespace, $page ); return $title; }
case 'user-link': $this->setShowUserToolLinks( false ); $user = User::newFromName( $value ); $value = Message::rawParam( $this->makeUserLink( $user ) ); $this->setShowUserToolLinks( $saveLinkFlood ); break;
Reedy, thanks for the pointer to getTarget.