Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4131683
MessagePrefixMessageGroup.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
MessagePrefixMessageGroup.php
View Options
<?php
declare
(
strict_types
=
1
);
use
MediaWiki\Context\IContextSource
;
/**
* Contains an unmanaged message group for fetching stats using message prefixes
* @author Abijeet Patro
* @since 2023.02
* @license GPL-2.0-or-later
* @ingroup MessageGroup
*/
class
MessagePrefixMessageGroup
extends
WikiMessageGroup
{
/** @var string */
protected
$language
;
public
function
__construct
()
{
}
public
function
setLanguage
(
string
$code
)
{
$this
->
language
=
$code
;
}
/** @inheritDoc */
public
function
getId
()
{
return
'!prefix'
;
}
/** @inheritDoc */
public
function
getLabel
(
?
IContextSource
$context
=
null
)
{
return
'Message prefixes'
;
}
/** @inheritDoc */
public
function
getDescription
(
?
IContextSource
$context
=
null
)
{
return
'"Messages in this message group are dynamically added based on '
.
'selecting of message prefix on Special:MessageGroupStats'
;
}
/** @inheritDoc */
public
function
getDefinitions
()
{
return
[];
}
/** @inheritDoc */
public
function
getValidator
()
{
return
null
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Wed, Aug 19, 11:09 (3 w, 11 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
6f/15/f98c4e9b35c6661ef767a0bc3e92
Default Alt Text
MessagePrefixMessageGroup.php (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment