mediawiki-extensions-Discus.../includes/Hooks
Bartosz Dziewoński aa239a1ad1 Suppress the empty state in previews again
It wasn't appearing in normal previews thanks to some redundant checks
elsewhere, but it was appearing in our own internal previews using
ApiDiscussionToolsTrait::previewMessage(). It wasn't causing any
problems until change Iac3778a4a88a4def234be9d10b80d9796d35bceb, which
detects headings in the preview, and it was detecting the empty state
heading.

Follow-up to commits 8fb467896f and
ab40ef62c0, where I replaced a HTML
comment with ParserOutput extension data to indicate this, and then
accidentally removed the cleanup code from removeInteractiveTools()
with no replacement.

Change-Id: I4b650f82c711d65e200758e981ce338202deeaa6
2023-06-22 10:31:29 +02:00
..
DataUpdatesHooks.php Allow maintenance script to work even when DiscussionToolsEnablePermalinksBackend is off 2023-04-14 19:36:18 +02:00
DiscussionToolsTermsOfUseMessagesHook.php Create HookRunner class and the hook handler interface 2023-06-04 20:12:56 +02:00
EchoHooks.php EchoHooks: Use symbols instead of string class names 2023-06-09 22:33:27 +02:00
HookRunner.php Create HookRunner class and the hook handler interface 2023-06-04 20:12:56 +02:00
HookUtils.php Make topic subscriptions unavailable to temp users 2023-06-13 01:05:55 +02:00
InstallerHooks.php Store permalink data, implement Special:FindComment/GoToComment 2022-08-11 01:19:47 +02:00
PageHooks.php Remove the new topic tool hint 2023-05-24 20:15:49 +02:00
ParserHooks.php Suppress the empty state in previews again 2023-06-22 10:31:29 +02:00
PreferenceHooks.php Drop the DiscussionToolsEnable feature flag 2023-06-06 13:08:35 +01:00
RegistrationHooks.php build: Updating dependencies 2021-07-22 16:29:04 +00:00
ResourceLoaderHooks.php Centralize EditAttemptStep logging code in WikimediaEvents 2023-03-18 13:26:10 +00:00
TagHooks.php Convert more self:: to static:: 2022-06-14 22:53:00 +01:00