Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7492541
FeaturedTemplatesSchema.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
830 B
Referenced Files
None
Subscribers
None
FeaturedTemplatesSchema.php
View Options
<?php
namespace
MediaWiki\Extension\TemplateData\Schemas
;
use
MediaWiki\Extension\CommunityConfiguration\Schema\JsonSchema
;
use
MediaWiki\Extension\CommunityConfiguration\Schemas\MediaWiki\MediaWikiDefinitions
;
// phpcs:disable Generic.NamingConventions.UpperCaseConstantName.ClassConstantNotUpperCase
/**
* @license GPL-2.0-or-later
*/
class
FeaturedTemplatesSchema
extends
JsonSchema
{
public
const
VERSION
=
'1.0.0'
;
public
const
FeaturedTemplates
=
[
self
::
TYPE
=>
self
::
TYPE_ARRAY
,
self
::
DEFAULT
=>
[],
self
::
MIN_ITEMS
=>
0
,
self
::
MAX_ITEMS
=>
1
,
self
::
ITEMS
=>
[
self
::
TYPE
=>
self
::
TYPE_OBJECT
,
self
::
PROPERTIES
=>
[
'titles'
=>
[
self
::
REF
=>
[
'class'
=>
MediaWikiDefinitions
::
class
,
'field'
=>
'PageTitles'
,
],
],
],
self
::
REQUIRED
=>
[
'titles'
],
],
];
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, Nov 23, 20:04 (6 d, 7 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
de/21/d9db0f54dd90ff3ef39b754fbd2b
Default Alt Text
FeaturedTemplatesSchema.php (830 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment