https://bugzilla.wikimedia.org/show_bug.cgi?id=45286

--- Comment #2 from Sam Reed (reedy) <[email protected]> ---
(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;
    }

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to