Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F1427844
init.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
537 B
Referenced Files
None
Subscribers
None
init.js
View Options
'use strict'
;
const
outer
=
document
.
querySelector
(
'.mw-htmlform'
);
if
(
outer
)
{
outer
.
classList
.
add
(
'mw-block-form'
);
const
Vue
=
require
(
'vue'
);
const
App
=
require
(
'./SpecialBlock.vue'
);
const
{
createPinia
}
=
require
(
'pinia'
);
// Load any extension-provided messages added by the PHP GetAllBlockActions hook.
(
new
mw
.
Api
()
).
loadMessagesIfMissing
(
Object
.
keys
(
mw
.
config
.
get
(
'partialBlockActionOptions'
)
||
{}
)
).
then
(
()
=>
{
Vue
.
createMwApp
(
App
)
.
use
(
createPinia
()
)
.
mount
(
outer
);
}
);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, May 16, 15:10 (14 h, 44 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
5c/0c/274ca42bff11e5a924893544136d
Default Alt Text
init.js (537 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment