HomePhabricator

Add user and previous rev to HistoryRevisionTools, and user to DiffRevisionTools

Authored by Cenarium.

Description

Add user and previous rev to HistoryRevisionTools, and user to DiffRevisionTools

The next revision in the page history isn't necessarily the previous
revision (due to selective undeletions, history merges, etc). This
passes the next revision to HistoryRevisionTools so extensions can check
if needed. Also, it passes the user to this hook and DiffRevisionTools
to avoid use of wgUser or having to retrieve context.

Change-Id: Ibc68f19040eebe3614e07f753f26bbfd376ae28d

Details

Committed
LegoktmDec 14 2015, 12:35 AM
Parents
rMWd762bf4b0663: Merge "Remove uncalled Skin::getNamespaceNotice"
Branches
Unknown
Tags
Unknown
References
refs/changes/40/254640/2
ChangeId
Ibc68f19040eebe3614e07f753f26bbfd376ae28d