Show labels in edit summaries on history/diff pages
Done by simply making the LinkBeginHookHandler act on more
kinds of pages.
In case of neither the history nor the diff view we have to
care about potential side effects: On history pages there aren't
any further item links and on diffs (which can contain the whole
rendered page) links outside the diff view just aren't eligible.