Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4080220
BabelSchema.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
BabelSchema.php
View Options
<?php
namespace
MediaWiki\Babel\Config
;
use
MediaWiki\Extension\CommunityConfiguration\Schema\JsonSchema
;
use
MediaWiki\Extension\CommunityConfiguration\Schemas\MediaWiki\MediaWikiDefinitions
;
// phpcs:disable Generic.NamingConventions.UpperCaseConstantName.ClassConstantNotUpperCase
class
BabelSchema
extends
JsonSchema
{
public
const
BabelCategoryNames
=
[
self
::
TYPE
=>
self
::
TYPE_OBJECT
,
self
::
PROPERTIES
=>
[
'0'
=>
[
self
::
TYPE
=>
self
::
TYPE_STRING
,
self
::
DEFAULT
=>
'%code%-0'
,
],
'1'
=>
[
self
::
TYPE
=>
self
::
TYPE_STRING
,
self
::
DEFAULT
=>
'%code%-1'
,
],
'2'
=>
[
self
::
TYPE
=>
self
::
TYPE_STRING
,
self
::
DEFAULT
=>
'%code%-2'
,
],
'3'
=>
[
self
::
TYPE
=>
self
::
TYPE_STRING
,
self
::
DEFAULT
=>
'%code%-3'
,
],
'4'
=>
[
self
::
TYPE
=>
self
::
TYPE_STRING
,
self
::
DEFAULT
=>
'%code%-4'
,
],
'5'
=>
[
self
::
TYPE
=>
self
::
TYPE_STRING
,
self
::
DEFAULT
=>
'%code%-5'
,
],
'N'
=>
[
self
::
TYPE
=>
self
::
TYPE_STRING
,
self
::
DEFAULT
=>
'%code%-N'
,
],
]
];
public
const
BabelMainCategory
=
[
self
::
TYPE
=>
self
::
TYPE_STRING
,
self
::
DEFAULT
=>
'User %code%'
,
];
public
const
BabelUseUserLanguage
=
[
self
::
TYPE
=>
self
::
TYPE_BOOLEAN
,
self
::
DEFAULT
=>
false
,
];
public
const
BabelCategorizeNamespaces
=
[
self
::
REF
=>
[
'class'
=>
MediaWikiDefinitions
::
class
,
'field'
=>
'Namespaces'
]
];
public
const
BabelAutoCreate
=
[
self
::
TYPE
=>
self
::
TYPE_BOOLEAN
,
self
::
DEFAULT
=>
true
,
];
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 18 2026, 05:28 (8 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
a0/2e/ea59cea89de2910e1f56fb698e05
Default Alt Text
BabelSchema.php (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment