Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5985280
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
Sat, Oct 3, 23:44 (2 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
bf/78/8b22825c8fdf9fb92b8d95f4c284
Default Alt Text
restsandbox.js (554 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment