wiki.techinc.nl/includes/logging
Gergő Tisza 016452cd09 ChangesList: Expose basic properties of lines as data attributes
We have several types of change lists (old RC/watchlist/related
changes, enhanced RC/watchlist, history) with slightly different
HTML, each with their own idiosyncracies. JavaScript code trying
to identify lines by log ID / revision ID has to jump through all
kinds of hoops to work with that.

To simplify the lives of frontend / gadget maintainers and provide
something approaching an API for these pages, we now expose the basic
attributes of each change line (revision ID for edits, log type/action
and ID for log events) as data attributes.

The OldChangesListRecentChangesLine, EnhancedChangesListModifyLineData,
EnhancedChangesListModifyBlockLineData, PageHistoryLine,
ContributionsLineEnding and DeletedContributionsLineEnding hooks
are updated accordingly. New hooks (LogEventsListLineEnding and
NewPagesLineEnding) are added for the change list pages which did
not yet have them.

Change-Id: I6dd006d0b1b0fd35c0020f0f9eea9113eca30b35
2017-06-08 23:19:45 +00:00
..
BlockLogFormatter.php BlockLogFormatter: Durations are relative to block's timestamp, not Unix epoch 2017-01-18 13:21:56 +00:00
ContentModelLogFormatter.php Replace Linker::link() usage with LinkRenderer 2016-12-01 12:04:38 -08:00
DeleteLogFormatter.php Move count of revisions/files out of undelete log comment 2017-04-08 05:46:45 +00:00
ImportLogFormatter.php Move details of import logs into log params 2015-11-11 18:34:18 +01:00
LogEntry.php Fix usage of $db->nextSequenceValue() 2017-05-10 17:28:24 -04:00
LogEventsList.php ChangesList: Expose basic properties of lines as data attributes 2017-06-08 23:19:45 +00:00
LogFormatter.php includes: Replace implicit Bugzilla bug numbers with Phab ones 2017-02-21 18:13:24 +00:00
LogPage.php Fix usage of $db->nextSequenceValue() 2017-05-10 17:28:24 -04:00
LogPager.php Use IGNORE INDEX(ls_log_id) instead of FORCE INDEX(ls_field_val) 2017-05-03 08:00:08 -07:00
MergeLogFormatter.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
MoveLogFormatter.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
NewUsersLogFormatter.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
PageLangLogFormatter.php First version of Page Language selector 2014-06-27 23:27:07 +00:00
PatrolLog.php Use distinct log actions for patrol 2016-03-25 15:04:11 -07:00
PatrolLogFormatter.php Use distinct log actions for patrol 2016-03-25 15:04:11 -07:00
ProtectLogFormatter.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
RightsLogFormatter.php User group memberships that expire 2017-01-27 09:24:20 +00:00
TagLogFormatter.php Add used messages to LogFormatter::getMessageKey overrides 2016-02-22 19:11:18 +01:00
UploadLogFormatter.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00