Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5955359
checkuserinvestigateform.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
890 B
Referenced Files
None
Subscribers
None
checkuserinvestigateform.js
View Options
/*
* Special:Invesitgate form guided tour
*/
(
function
(
gt
)
{
if
(
mw
.
config
.
get
(
'wgCanonicalSpecialPageName'
)
!==
'Investigate'
)
{
return
;
}
if
(
$
(
'#targets'
).
length
===
0
)
{
return
;
}
const
tour
=
new
gt
.
TourBuilder
(
{
name
:
'checkuserinvestigateform'
,
shouldLog
:
true
,
isSinglePage
:
false
}
);
tour
.
firstStep
(
{
name
:
'targets'
,
titlemsg
:
'checkuser-investigate-tour-targets-title'
,
description
:
mw
.
message
(
'checkuser-investigate-tour-targets-desc'
,
mw
.
config
.
get
(
'wgCheckUserInvestigateMaxTargets'
)
).
parse
(),
attachTo
:
'#targets'
,
position
:
'bottom'
,
closeOnClickOutside
:
false
,
overlay
:
true
,
onHide
:
function
()
{
// Api.saveOption will save a string instead of a bool. :(
(
new
mw
.
Api
()
).
saveOption
(
'checkuser-investigate-form-tour-seen'
,
1
);
},
buttons
:
[
{
action
:
'end'
}
]
}
);
}(
mw
.
guidedTour
)
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 3, 03:38 (3 w, 4 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
1a/4a/f2e573003b93fef9536c11db4d88
Default Alt Text
checkuserinvestigateform.js (890 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment