Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4120924
jsonSchema.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
567 B
Referenced Files
None
Subscribers
None
jsonSchema.js
View Options
/*!
* JavaScript enhancements of JSON Schema article pages.
*
* @module ext.eventLogging.jsonSchema
* @author Ori Livneh <ori@wikimedia.org>
*/
/* eslint-disable no-jquery/no-global-selector */
$
(
()
=>
{
'use strict'
;
// Make the '<>' icon toggle code samples:
const
$samples
=
$
(
'.mw-json-schema-code-samples'
);
$
(
'.mw-json-schema-code-glyph'
).
on
(
'click'
,
(
e
)
=>
{
$samples
.
toggle
();
e
.
stopPropagation
();
}
);
$
(
document
).
on
(
'click'
,
()
=>
{
$samples
.
hide
();
}
);
$samples
.
on
(
'click'
,
(
e
)
=>
{
e
.
stopPropagation
();
}
);
}
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Aug 19, 04:18 (3 d, 1 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
72/81/4b85bfcf7de54f636aab2276dc32
Default Alt Text
jsonSchema.js (567 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment