wiki.techinc.nl/includes/logging
Piotr Miazga 384ab964cd Define ManualLogEntryBeforePublish hook
This hook is required by extensions like MobileFrontend to tag
log entries when actions are performed on the mobile web.

There is a possibility to tag log entries by using
'RecentChange_save' hook, but that works only when the log entry
is published to 'rc' or 'rcandudp'. This means, that tagged log
will appear also on the Special:RecentChanges page which is something
what extensions like 'Thanks' wants to avoid.

In the future we should avoid using 'RecentChange_save' as an
indirect way to tag log entries, and use the
'ManualLogEntryBeforePublish' hook instead.

To cover ourselves in the future, instead of passing &$tags only,
we pass the $this (the log entry object) so extensions can perform
additional checks before using setTags().

Bug: T215675
Change-Id: I747eded4bc5406cd5d4676fc93b0bb55c99f9a4d
2019-03-19 00:49:53 +01:00
..
BlockLogFormatter.php Correct whitespace and parentheses typos in BlockLogFormatter 2019-01-30 22:46:28 -08:00
ContentModelLogFormatter.php Use LogFormatter::getLinkRenderer in LogFormatter extensions 2017-07-12 09:58:18 +02:00
DeleteLogFormatter.php Fix MediaWiki.Commenting.LicenseComment.InvalidLicenseTag errors 2018-05-23 16:23:42 -07:00
ImportLogFormatter.php Fix MediaWiki.Commenting.LicenseComment.InvalidLicenseTag errors 2018-05-23 16:23:42 -07:00
LogEntry.php Define ManualLogEntryBeforePublish hook 2019-03-19 00:49:53 +01:00
LogEventsList.php Merge "LogEventsList: Don't output '0000-00-00' as default date" 2018-11-14 15:29:58 +00:00
LogFormatter.php Add separate log action for file reverts 2019-03-02 22:16:55 +00:00
LogPage.php Remove a few obscure "done" and "empty" comments 2019-01-30 20:35:14 +00:00
LogPager.php Normalize use of "INNER JOIN" to "JOIN" in database queries 2019-03-06 09:17:30 -08:00
MergeLogFormatter.php Fix MediaWiki.Commenting.LicenseComment.InvalidLicenseTag errors 2018-05-23 16:23:42 -07:00
MoveLogFormatter.php Fix MediaWiki.Commenting.LicenseComment.InvalidLicenseTag errors 2018-05-23 16:23:42 -07:00
NewUsersLogFormatter.php Fix MediaWiki.Commenting.LicenseComment.InvalidLicenseTag errors 2018-05-23 16:23:42 -07:00
PageLangLogFormatter.php Fix MediaWiki.Commenting.LicenseComment.InvalidLicenseTag errors 2018-05-23 16:23:42 -07:00
PatrolLog.php Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
PatrolLogFormatter.php Fix MediaWiki.Commenting.LicenseComment.InvalidLicenseTag errors 2018-05-23 16:23:42 -07:00
ProtectLogFormatter.php Reduce calls to MediaWikiServices::getInstance() 2018-08-18 06:02:39 +02:00
RightsLogFormatter.php Mass conversion of $wgContLang to service 2018-08-11 22:44:29 -06:00
TagLogFormatter.php Link to revisions and log entries from tag logs 2018-06-08 13:38:57 +00:00
UploadLogFormatter.php Fix MediaWiki.Commenting.LicenseComment.InvalidLicenseTag errors 2018-05-23 16:23:42 -07:00
WikitextLogFormatter.php Fix MediaWiki.Commenting.LicenseComment.InvalidLicenseTag errors 2018-05-23 16:23:42 -07:00