Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4052820
restore.page.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
530 B
Referenced Files
None
Subscribers
None
restore.page.js
View Options
'use strict'
;
const
Page
=
require
(
'wdio-mediawiki/Page'
);
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
();
}
}
module
.
exports
=
new
RestorePage
();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Aug 15 2026, 19:54 (13 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
12/dd/da1b7ce88b2c28eb5821767d349e
Default Alt Text
restore.page.js (530 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment