/upstream/templates/recentchanges/merge-authors/comment.tmpl
Type: /type/template
body: value: $def with (change, page=None)

$if page is None:
    Merged duplicate author records.
$else:
    $ master = change.data.get("master")
    $ duplicates = change.data.get("duplicates", [])

    $if page.key == master:
        $# comment in the master record
        Merged $len(duplicates) duplicate author records into this master. See <a href="$change.url()">details</a>.
    $elif page.key in duplicates:
        $# comment in the duplicate record
        Marked as duplicate. See <a href="$change.url()">details</a>.
    $else:
        $# comment in the effected work records
        Merged duplicate author records. See <a href="$change.url()">details</a>.
plugin: upstream