From ff4606fd7c8f0f91098813932772d1d18b3b2e29 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Mon, 24 Feb 2020 14:08:48 +1100 Subject: [PATCH] docs: Add missing BeforeResetNotificationTimestamp hook and MediaWikiPHPUnitTest::* Change-Id: I1dd9cb61e7732a56fcb1fc94a347311d5572b761 --- docs/hooks.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/hooks.txt b/docs/hooks.txt index 76d71282b08..df884487b54 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -857,6 +857,14 @@ $title: title of the template $parser: Parser object &$ig: ImageGallery object +'BeforeResetNotificationTimestamp': Before the notification timestamp of a +watched item is reset. +&$userObj: User object +&$titleObj: Title object +$force: If this is the string "force", then the reset will be done even if the + page is not watched. +&$oldid: The revision ID + 'BeforeWelcomeCreation': Before the welcomecreation message is displayed to a newly created user. &$welcome_creation_msg: MediaWiki message name to display on the welcome screen @@ -2248,6 +2256,13 @@ $user: Context user $request: Context request $mediaWiki: The $mediawiki object +'MediaWikiPHPUnitTest::startTest': Before each PHPUnit test starts +$test: PHPUnit\Framework\Test object + +'MediaWikiPHPUnitTest::endTest': After each PHPUnit test completes +$test: PHPUnit\Framework\Test object +$time: The execution time in seconds + 'MediaWikiServices': Called when a global MediaWikiServices instance is initialized. Extensions may use this to define, replace, or wrap services. However, the preferred way to define a new service is