Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F2753838
restsandbox.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
554 B
Referenced Files
None
Subscribers
None
restsandbox.js
View Options
/*!
* JavaScript for Special:RestSandbox
*/
(
function
()
{
const
SwaggerUI
=
require
(
'./../../lib/swagger-ui/swagger-ui-bundle.js'
);
const
SwaggerUIStandalonePreset
=
require
(
'./../../lib/swagger-ui/swagger-ui-standalone-preset.js'
);
const
uiConfig
=
{
// eslint-disable-next-line camelcase
dom_id
:
'#mw-restsandbox-swagger-ui'
,
presets
:
[
SwaggerUI
.
presets
.
apis
,
SwaggerUIStandalonePreset
],
// specUrl is set dynamically by SpecialRestSandbox
url
:
mw
.
config
.
get
(
'specUrl'
)
};
window
.
ui
=
SwaggerUI
(
uiConfig
);
}()
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jul 3, 21:47 (17 h, 45 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
44/cd/6abc53574ee5a51c0f722fcc0db5
Default Alt Text
restsandbox.js (554 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment