Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7441276
MessagePostProcessTextHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
896 B
Referenced Files
None
Subscribers
None
MessagePostProcessTextHook.php
View Options
<?php
namespace
MediaWiki\Message\Hook
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "MessagePostProcessText" to register handlers implementing this interface.
* If you just want to replace a message, use the MessagesPreLoad hook instead.
*
* @stable to implement
* @ingroup Hooks
*/
interface
MessagePostProcessTextHook
{
/**
* This hook is called after a message is formatted as a text format.
* Use this hook if you wish to post process the message.
* This hook might not be called for messages constructed early in MW initialization.
* @since 1.45
*
* @param string &$value Formatted value of message.
* @param string $format Either Message::FORMAT_PLAIN or Message::FORMAT_TEXT.
* @param string $key Message key this is for (RawMessage uses value).
*/
public
function
onMessagePostProcessText
(
&
$value
,
$format
,
$key
):
void
;
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Nov 22, 15:57 (13 h, 14 m ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
aa/ce/3280a7f34471c54e800801139db1
Default Alt Text
MessagePostProcessTextHook.php (896 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment