New Hook rc/watchlist hook ChangesListInitRows
authorErik Bernhardson <ebernhardson@wikimedia.org>
Mon, 3 Mar 2014 21:26:54 +0000 (13:26 -0800)
committerErik Bernhardson <ebernhardson@wikimedia.org>
Tue, 1 Apr 2014 16:38:16 +0000 (09:38 -0700)
commit36a664643bd6bcf52052e657ee295f4aa4b07bf5
treec3d41e24a75c90547ffd5caa8c52bef77606b998
parentef846c6d3cf8e7213f431eb63a6592a8fa6f7812
New Hook rc/watchlist hook ChangesListInitRows

An extension hooking into recent changes may need to load additional
data that did not fit into the recentchanges table.  This hook gives
extensions an opportunity to see the full result prior to rendering
and batch load where approprite rather than loading piecemeal during
the render process.

This is implemented as an optional method called by the ChangesList
consumer, since the ChangesList never sees the full result set. Hook
implementers must be able to work regardless of the hook being called,
they just have the oportunity to be more efficient when it is called.

Change-Id: If74ae600ffba949364dd381dd3d466cbbaa27286
RELEASE-NOTES-1.23
docs/hooks.txt
includes/changes/ChangesList.php
includes/specials/SpecialRecentchanges.php
includes/specials/SpecialWatchlist.php