Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4140658
UserVisibleWarning.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
521 B
Referenced Files
None
Subscribers
None
UserVisibleWarning.php
View Options
<?php
namespace
MediaWiki\Extension\AbuseFilter\Parser\Exception
;
use
MediaWiki\Message\Message
;
/**
* A variant of user-visible exception that is not fatal.
*/
class
UserVisibleWarning
extends
UserVisibleException
{
/**
* @return Message
*/
public
function
getMessageObj
():
Message
{
// Give grep a chance to find the usages:
// abusefilter-parser-warning-match-empty-regex
return
new
Message
(
'abusefilter-parser-warning-'
.
$this
->
mExceptionID
,
[
$this
->
mPosition
,
...
$this
->
mParams
]
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Wed, Aug 19, 15:37 (3 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
75/b5/e06e2122d1e22c85feee1f462da2
Default Alt Text
UserVisibleWarning.php (521 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment