Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4074190
CommentDetails.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
CommentDetails.js
View Options
/**
* More information about a comment obtained from various APIs, rather than parsed from the page.
*
* @class CommentDetails
* @constructor
* @param {string} pageName Page name the reply is being saved to
* @param {number} oldId Revision ID of page at time of editing
* @param {Object.<string,string>} notices Edit notices for the page where the reply is being saved.
* Keys are message names; values are HTML to display.
* @param {boolean} wouldAutoCreate Whether saving the comment would automatically create a
* temporary account if the user is logged out
* @param {string} preloadContent Preload content, may be wikitext or HTML depending on `preloadContentMode`
* @param {string} preloadContentMode 'source' or 'visual'
*/
function
CommentDetails
(
pageName
,
oldId
,
notices
,
wouldAutoCreate
,
preloadContent
,
preloadContentMode
)
{
this
.
pageName
=
pageName
;
this
.
oldId
=
oldId
;
this
.
notices
=
notices
;
this
.
wouldAutoCreate
=
wouldAutoCreate
;
this
.
preloadContent
=
preloadContent
;
this
.
preloadContentMode
=
preloadContentMode
;
}
OO
.
initClass
(
CommentDetails
);
module
.
exports
=
CommentDetails
;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Aug 17 2026, 14:51 (10 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
b9/6e/6fbb841c6bc00cc2174d167bf127
Default Alt Text
CommentDetails.js (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment