Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4091283
restore.page.js
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
509 B
Referenced Files
None
Subscribers
None
restore.page.js
View Options
import
Page
from
'wdio-mediawiki/Page.js'
;
class
RestorePage
extends
Page
{
get
reason
()
{
return
$
(
'#wpComment'
);
}
get
submit
()
{
return
$
(
'#mw-undelete-submit'
);
}
get
displayedContent
()
{
return
$
(
'#mw-content-text'
);
}
async
open
(
subject
)
{
return
super
.
openTitle
(
'Special:Undelete/'
+
subject
);
}
async
restore
(
subject
,
reason
)
{
await
this
.
open
(
subject
);
await
this
.
reason
.
setValue
(
reason
);
await
this
.
submit
.
click
();
}
}
export
default
new
RestorePage
();
File Metadata
Details
Attached
Mime Type
text/x-java
Expires
Aug 18 2026, 11:39 (5 w, 4 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
d8/5a/33f8a317bda96ec382e95392ee03
Default Alt Text
restore.page.js (509 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment